- 2 Minutes to read
- PDF
Purchase Order Line Object
- 2 Minutes to read
- PDF
Purchase Order Line Object
LineNumber
Description: A number to uniquely identify the line on the Purchase Order.
Data Type: Int
Required: Yes
ItemNumber
Description: A reference to an already existing Item in WithoutWire.
Data Type: String
Data Length: 50
Required: Yes
CoreItemType
Description: The item's tracking type.
Data Type: String
Value: BASIC, LOT, SERIAL, DATE
QuantityOrdered
Description: The quantity to receive on the purchase order for this line.
Data Type: Number
Required: Yes
Note: Quantity must be greater than zero.
UomDesc
Description: The unit of measure of the item to receive on the purchase order.
Data Type: String
Data Length: 50.
Required: Yes
BaseConversionFactor
Description: The base conversion factor to use when determining the conversion between the Unit of Measure defined above and the items base unit of measure.
Data Type: Decimal
Required: Yes, if new UOM. Cannot be 0
SignificantDigits
Description: The number of decimal places to track for the item listed above.
Data Type: Number
Valid range: 0 – 5
LineItemComments
Description: A collection of strings to associate with this line on the purchase order.
Data Type: String
Data Length: 1000
Note: Can pass an empty collection.
Description: A collection representing the receipts on the purchase order.
Note: Can pass an empty receipts collection.
AllocationSetName
Description: The allocation set name for the items on the purchase order.
Data Type: String
Required: No
InventoryRequestTaskID
Description: The identifier used to tie an item to an existing inventory request.
Data Type: Int
Required: No
Example
"LineItems":
[
{
"LineNumber": 1,
"ItemNumber": "ItemExample1",
"CoreItemType": "Basic",
"QuantityOrdered": 150.0,
"UomDesc": "EA",
"BaseConversionFactor": 1.0,
"SignificantDigits": 0,
"LineItemComments": [],
"Receipts": [
{
"QuantityReceived": 100,
"QuantityMissing": 0,
"QuantityDamaged": 0,
"CoreValue": "",
"DateReceived": "2016-08-22T12:46:32",
"Identity": 63,
"Status": "Receiving in Process",
"LineNumber": 1,
}
],
"AllocationSetName": "",
"InventoryRequestTaskID": null
}
]