Element | Parent | Required | Data Type | Description | Valid Values | Notes |
TransactionHeader | Yes | |||||
TransactionType | TransactionHeader | Yes | VARCHAR(20) | This is the type of transaction that is being integrated | Adjustment | |
TransactionID | TransactionHeader | No | VARCHAR(50) | This is the transaction number. If a transaction number is passed and this transaction exists we will add the items to the transaction. If the transaction does not exist we will create it. If this is empty we will use the next number. | ||
TransactionStatusName | TransactionHeader | No | VARCHAR(25) | This is the status that the transaction should be integrated as. If no status is passed, "New" will be used. | ||
SiteID | TransactionHeader | Yes | VARCHAR(20) | This is the site ID that the transaction is being completed in. | ||
TransactionDate | TransactionHeader | Yes | DATETIME | This is the date the transaction affects inventory. | ||
ReasonCode | TransactionHeader | No | VARCHAR(50) | This is the reason code for the adjustment. Must be a valid NorthScope reason code. | ||
UserID | TransactionHeader | No | VARCHAR(110) | This is the user who is completing the transaction. Does not have to be a valid NS user. | ||
CompanyID | TransactionHeader | Yes | VARCHAR(15) | This is the company ID where the transaction is being created. | ||
TransactionDetail | TransactionHeader | Yes | ||||
ItemSort | TransactionDetail | No | Integer | This is the sequence of the items on the transaction. If not passed we will sequence them. If a sequence conflict comes up we will override with the new information. | ||
ItemID | TransactionDetail | Yes | VARCHAR(50) | This is the item ID for the inventory item being adjusted. This must be a valid Sales/Inventory item type. | ||
TransactionUnits | TransactionDetail | No | NUMERIC(18,5) | This is the number of units for this line on the transaction. If an item is managed by units only or units and weight this value must be passed. | ||
UnitsUOMID | TransactionDetail | No | VARCHAR(10) | This is the unit of measure for the units on the transaction. It is required if TransactionUnits is being used. | ||
TransactionWeight | TransactionDetail | No | NUMERIC(18,5) | This is the weight value for this line on the transaction. If an item is managed by weight only or units and weight this value must be passed. | ||
WeightUOMID | TransactionDetail | No | VARCHAR(10) | This is the unit of measure for the weight on the transaction. It is required if TransactionWeight is being used. | ||
Lot | TransactionDetail | No | VARCHAR(50) | This is the lot number for this line of the transaction if lots are being managed. |
General
Content
Integrations