Create a whole order from scratch?
Posted: Thu Oct 31, 2019 4:06 pm
Hello.
I am trying to create a new Order programmatically using C# and Visual Studio 2019 and figuring out all components I have to setup, like:
- Seller
- Buyers
- Escrow Office / Officer
- Title Office / Officer
- Underwriter
Since everything is dynamic is hard to find the right property to update, for example, if I open an order in debug mode I can see Order have properties like: Seller, Buyers, Contacts, Escrow, etc..
Buyers have properties like Name, Email, Address, however also have MainPerson who contain Address, Email, etc...repeating many properties from the root object, Buyers is also a property People which include again same as MainPerson, so is confusing which of those properties should be updated?, I assume many of those properties are calculated.
It is there like a sample code that creates a whole order from scratch?
I am trying to create a new Order programmatically using C# and Visual Studio 2019 and figuring out all components I have to setup, like:
- Seller
- Buyers
- Escrow Office / Officer
- Title Office / Officer
- Underwriter
Since everything is dynamic is hard to find the right property to update, for example, if I open an order in debug mode I can see Order have properties like: Seller, Buyers, Contacts, Escrow, etc..
Buyers have properties like Name, Email, Address, however also have MainPerson who contain Address, Email, etc...repeating many properties from the root object, Buyers is also a property People which include again same as MainPerson, so is confusing which of those properties should be updated?, I assume many of those properties are calculated.
It is there like a sample code that creates a whole order from scratch?