CreateOrderViewModel
New (permanent) order.
Name | Description | Type | Additional information |
---|---|---|---|
RepDID |
The representative in context. |
string |
None. |
RepID |
The representative ID in context. |
integer |
None. |
CustomerDID |
The customer in context. |
string |
None. |
PartyID |
The party in context. |
integer |
None. |
OrderDate |
Order Date of the order. |
date |
Required |
BonusDate |
Bonus date of the order. Optional. By default will use the value at OrderDate field. |
date |
None. |
MarketShowID |
Identifier of the market show to associate to this order. |
integer |
Required |
BillingAddress |
The billing Address. |
AddressViewModelAddress |
None. |
ShippingAddress |
The shipping Address. |
AddressViewModelAddress |
None. |
ShipGeoCode |
The ship geo code of the order. This is automatically calculated by Freedom, but can be overriden by the client if required. Do not send if you want that Freedom finds this value. |
string |
None. |
InvoiceNotes |
Invoice notes to the order. These notes are included in some shipping batch out files. |
string |
None. |
ShipMethodID |
Shipping method identifier associated to the order. |
integer |
None. |
TaxExemptCodeID |
Tax exempt code identifier associated to the order. |
integer |
None. |
IsTaxExempt |
Flag that indicates whether the order is tax exempt or not. |
boolean |
None. |
CurrencyTypeID |
Currency Type identifier associated to the order. |
integer |
Required |
SendAutoresponders |
Indicates whether or not to send the AR related to order creation. Optional. Default is true. |
boolean |
None. |
ShippingTotal |
Overrides the default shipping calculation with the amount passed in. |
decimal number |
None. |
ShippingTax |
Overrides the default shipping tax calculation with the amount passed in. |
decimal number |
None. |
HandlingFee |
Overrides the default handling calculation with the amount passed in. |
decimal number |
None. |
HandlingTax |
Overrides the default handling tax calculation with the amount passed in. |
decimal number |
None. |
InvoiceNumber |
This value overrides the use of Order# as Invoice# |
string |
None. |
OrderDetails |
Order lines associated to the order. |
Collection of OrderDetailWithOverridesViewModel |
None. |
PaymentInfo |
Payment information associated to the order. |
PaymentViewModel |
None. |
OrderMisc |
For any customizations, this holds the extra fields associated to customizations. |
Collection of MiscFieldViewModel |
None. |