|
PARAMETERS |
|
|
|
DataReturn |
Text |
A comma delimited list of advanced search fields to be returned after a successful save |
|
Id |
Numeric |
|
|
Remove |
Numeric |
Pass '1' to remove the item |
|
|
|
|
|
Area |
Numeric |
Note: If the area on the order is -1 or -2, it will be set accordingly |
|
InvoiceDescription |
Text (100) |
Used when creating invoices from the order / delivery |
|
KeyDate |
Date |
|
|
KeyDateTimeZone |
Numeric |
|
|
Notes |
Text (2000) |
|
|
Order |
Numeric |
Mandatory. The Order that you are adding the item to |
|
ParentOrderItem |
Numeric |
Set to -1 to make it default to be the same as the id |
|
PriceType |
Numeric |
1=Retail,2=Wholesale. Uses Profile Setting 335 to determine the default, and if not set defaults to Retail |
|
Product |
Numeric |
Mandatory. The product that you are adding |
|
Quantity |
Numeric |
|
|
Reference |
Text (50) |
Defaults to ITMnnnnnn |
|
Store |
Numeric |
If using stores, the store the item will be delivered from. (A store is a location where product can be stored. It becomes a contact business) |
|
TaxType |
Numeric |
If left blank, it will look in order:
- orderbyperson,
- orderbybusiness,
- product,
- GST Applies.
If choosing a value, the value depends upon your country. For Australia, 1=GST Applies,2=GST Free - Export,3=GST Free - Other,4=GST Free - Input Taxed,5=GST Free - Exclude
|
|
TotalCost |
Numeric |
If undefined, blank, or $0, will auto calculate based on quantity and unitcost |
|
UnitCost |
Numeric |
If undefined, blank, or $0, will auto calculate based on quantity and totalcost |
|
UnitCostIncludesTax |
Text (1) |
Y/N. Defaults to Y |
|
Variant |
Numeric |
Product variant |