Purchase Order Object
WarehouseName
- Description: The name of the warehouse where the purchase order exists.
- Data Type: String
- Data Length: 100
- Required: Yes
PurchaseOrderNumber
- Description: A unique number in the warehouse to identify the purchase order.
- Data Type: String
- Data Length: 50
- Required: Yes
OrderDate
- Description: The date purchase order was made.
- Data Type: DateTime
- Value: 0001-01-01T00:00:00
- Required: Yes
- Note: This field defaults to the import date when no value is provided.
SchedDeliveryDate
- Description: The date the product is scheduled to arrive at the warehouse.
- Data Type: DateTime
- Value: 0001-01-01T00:00:00
- Required: Yes
- Note: This field defaults to the import date when no value is provided.
VendorNumber
- Description: A reference to an existing Vendor in WithoutWire.
- Data Type: String
- Data Length: 50
- Required: Yes
- Note: If the VendorNumber does not exist in WithoutWire VendorNumber, VendorName, and the ReceivingPercentOver will be used to create a new Vendor with default values.
VendorName
- Description: The name of the vendor supplying the product.
- Data Type: String
- Data Length: 50
- Required: Yes
- Note: This field is optional; if the VendorNumber above does not exist in WithoutWire, provide the VendorName and the ReceivingPercentOver to create the vendor with default data.
ReceivingPercentOver
- Description: The percentage of over-receiving that is allowed for this vendor.
- Valid Ranges: -1 to 100. (-1 value allows for unlimited over receiving for the vendor).
- Data Type: Number
- Required: Yes
- Note: This field is optional; if the VendorNumber above does not exist in WithoutWire, provide the VendorName and the ReceivingPercentOver to create the vendor with default data.
PurchaseOrderType
- Description: The purchase order type for a specific purchase order.
- Data Type: Number
- Required: Yes
- Valid Values:
- 1-(Purchase Order)
- 2-(Auto Complete)
- 3-(Blanket)
PurchaseOrderComment
- Description: A list of comments to be associated with the Purchase Order.
- Data Type: String
- Data Length: 1000
- Required: Yes
- Note: This list is optional.
CompletedDate
- Description: The date the purchase order was completed.
- Data Type: DateTime
- Value: 0001-01-01T00:00:00
- Required: Yes
- Note: Read Only—CompletedDate is filled in by WithoutWire when the Purchase Order is completed. Pass a null value.
ExportedDate
- Description: The date the purchase order exported.
- Data Type: DateTime
- Value: 0001-01-01T00:00:00
- Required: Yes
- Note: Updated upon each successive export. Read Only—ExportedDate is filled in by WithoutWire when the purchase order imports. Pass as a null value.
DateCreated
- Description: The date the purchase order was created.
- Data Type: DateTime
- Value: 0001-01-01T00:00:00
- Required: Yes
- Note: Filled in upon import. Read Only—DateCreated is filled in by WithoutWire when the purchase order imports. Pass a null value.
AssignmentManuallyModified
- Description: A Boolean value which indicates whether the purchase order receiving assignment was manually modified by.
- Data Type: Boolean
- Values: true, false
- Required: Yes
- Note: Read Only—AssignmentManuallyModified is filled in by WithoutWire when an assignment is modified by the system. Pass in as false.
WebReceipt
- Description: A Boolean value which indicates whether the purchase order was received through the WithoutWire website.
- Data Type: Boolean
- Values: true, false
- Required: Yes
- Note: Read Only—WebReceipt is filled in by WithoutWire during the receiving process. Pass in as false.
FromWarehouse
- Description: Indicates the warehouse where the product was shipped from on a transfer order.
- Data Type: String
- Data Length: 100
- Required: Yes
- Note: Read Only—This field is set by the WithoutWire system on transfer orders.
- Description: a collection of Purchase Order Line Object to be associated with a purchase order. Receipts are found within the purchase order line object.
Example
[ { "WarehouseName": "Warehouse", "PurchaseOrderNumber": "ExamplePO002", "OrderDate": "9/21/201612:00:00AM", "SchedDeliveryDate": "9/21/201612:00:00AM", "VendorNumber": "103", "VendorName": "ExampleVendor001", "ReceivingPercentOver": null, "PurchaseOrderType": 1, "PurchaseOrderComments": [ "Testcomment1", "Testcomment2" ], "CompletedDate": null, "ExportedDate": null, "DateCreated": "2016-08-22T00:00:00", "AssignmentManuallyModified": false, "WebReceipt": false, "FromWarehouse": "", "LineItems": [ { "LineNumber": 1, "ItemNumber": "ItemExample1", "CoreItemType": "Basic", "QuantityOrdered": 150.0, "UomDesc": "EA", "BaseConversionFactor": 1.0, "SignificantDigits": 0, "LineItemComments": [ "Testline" ], "Receipts": [] } ] } ]