Purchase Order Line Object
  • 1 Minute to read
  • PDF

Purchase Order Line Object

  • PDF

Article Summary

Purchase Order Line Object

 

 

A purchase order line object is associated with a Purchase Order Object in WithoutWire.

 

 

 

LineNumber

 

Description: A number to uniquely identify the line on the Purchase Order.

Data Type: Number

Required: Yes

 

 

 

ItemNumber

 

Description: A reference to an already existing Item in WithoutWire.

Data Type: String

Data Length: 50

Required: Yes

Note: Use in combination with LotTrackingInd, UomDesc, and BaseConvFactor to create the item if it does not exist.

 

 

 

CoreItemType

 

Description: A boolean value to indicate whether or not the item should be lot tracked, serial, or expiration date tracked.

Data Type: Boolean

Value: true, false

Note: Use in combination with ItemNumber, UomDesc, and BaseConvFactor to create a new item if the item referenced by the ItemNumber field does not exist. Valid values are BASIC, LOT, SERIAL, DATE, and values are not case sensitive.

 

 

 

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: Number

Required: Yes

Note: Used in combination with ItemNumber, LotTrackingInd, and UomDesc to create the item if it does not exist in WithoutWire.

 

 

 

SignificantDigits

 

Description: The number of decimal places to track for the item listed above.

Data Type: Number

Valid range: 0 – 5

Note: Used in combination with the ItemNumber, LotTrackingInd, BaseConvFactor, and UomDesc to create the Item referenced above if it does not already exist in WithoutWire.

 

 

 

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.

 

 

 

Receipt

 

Description: A collection of Receipt representing the receipts on the purchase order.

Note: Can pass an empty receipts collection.

 

 

 

Example

 

[

 {

 "LineNumber": 1,

 "ItemNumber": "ItemExample1",

 "CoreItemType": "Basic",

 "QuantityOrdered": 150.0,

 "UomDesc": "EA",

 "BaseConversionFactor": 1.0,

 "SignificantDigits": 0,

 "LineItemComments":

 [

 "Test line"

 ],

 "Receipts":

 [

{

 "QuantityReceived": 12.0,

 "QuantityMissing": 2.0,

 "QuantityDamaged": 1.0,

 "CoreValue": null,

 "DateReceived": "2018-01-30T21:35:02.693",

 "Identity": 2,

 "Status": "Receiving Complete",

 "LineNumber": 1

 }

]

 }

 ]




What's Next