ASN Order Object
  • 5 Minutes to read
  • PDF

ASN Order Object

  • PDF

Article summary

ASN Order Object



WarehouseName


Description: The name of the warehouse.  

Data Type: String

Required: Yes




ShipmentNumber


Description: The alphanumeric value for the ASN.

Data Type: String

Required: Yes




ShipDate


Description: The date the ASN was shipped. 

Data Type: DateTime

Required: No




VendorName


Description: The name of the vendor for the ASN.  Must exist in WoW and be setup for ASN.

Data Type: String

Required: Yes




SchedDeliveryDate


Description: The date the ASN is expected to be delivered. 

Data Type: Read Only, defaults null. 




CompletedDate


Description: The date the ASN was received and marked complete. 

Data Type: Read only




ExportedDate


Description: The date the ASN was exported to ERP.

Data Type: Read only




DateCreated


Description: The date the ASN was created. 

Data Type: Read only




FromWarehouse


Description: The warehouse that the ASN items are coming from.  

Data Type: Read only, defaults null.  




Identity


Description: A unique identifier for the ASN shipment.

Data Type: Read only, Int




Status


Description: The status of the ASN.  Values are New, Unassigned, Waiting for Receipt, Receiving in Process, Receiving Complete, Exporting in Process, Export Complete, Completed. 

Data Type: Read only, String




TotalLpsShipped


Description: The number of unique license plates on the ASN. 

Data Type: Read only, Int




TotalLpsReceived


Description: The number of license plates received. 

Data Type: Read only, Int

 




Details Array:


 


ASNDetailID


Description: The unique identifier for the respective line on the ASN.  

Data Type: Read only, Int




ItemNumber


Description: The item for the respective line number. 

Data Type: String

Required: Yes




ItemID


Description: The unique item identifier for a specific line of the ASN. 

Data Type: Read only, Int




ItemDescription


Description: The item description in WoW. 

Data Type: Read only, String




QuantityShipped


Description: The quantity of the line item shipped.

Data Type: Decimal

Required: Yes




UomDesc


Description: The unit of measurement of the item. 

Data Type: String

Required: Yes




UomTypeID


Description: The unique identifier for the unit of measurement. 

Data Type: Read only, Int




BaseConversionFactor


Description: The conversion factor for the item's unit of measurement. 

Data Type: Read only, String




SignificantDigits


Description: The number of significant digits on the item.

Data Type: Read only, String




PurchaseOrderNumber


Description: The purchase order to associate the ASN with.  Must already exist in WoW.

Data Type: String

Required: Yes




PurchaseOrderID


Description: The unique identifier of the purchase order.  

Data Type: Read only, Int




ContainerNumber


Description: The number for the container/license plate the item will arrive on.  This must not already exist in WoW. 

Data Type: String

Required: Yes




CoreItemType


Description: Either BASIC, SERIAL, LOT, or DATE

Data Type: String

Required: No




CoreValue


Description: The unique value for an item with type SERIAL, LOT, or DATE. 

Data Type: String

Required: Yes, if SERIAL, LOT, or DATE. 




Received


Description: An identifier for whether the item has been received yet or not. 

Data Type: Read only, Boolean




Attributes


Description: The attributes attached to a specific line item on the ASN. 

Data Type: Read only, String






Example: 



When using the GET request to view an ASN: 


 

[

   {

       "WarehouseName": "Warehouse",               

       "ShipmentNumber": "Shipment-Test1",                     

       "ShipDate": "6/23/2024 12:35:12 PM",                                  

       "VendorName": "Default Vendor",                

       "SchedDeliveryDate": null,         

       "CompletedDate": "6/24/2024 2:15:42 PM ", 

       "ExportedDate": "", 

       "DateCreated": "6/23/2024 12:15:12 PM ", 

       "FromWarehouse": null, 

       "Identity": 1, 

       "Status": "ReceivingComplete", 

       "TotalLPsShipped": 1, 

       "TotalLPsReceived": 1,

       "Details": [

           {

                "ASNDetailID": 1,

                "ItemNumber": "Item-01",       

                "ItemID": 27,

                "ItemDescription": "Olive Oil",             

                "QuantityShipped": 10.0,              

                "UomDesc": "EA",          

                "UomTypeID": 1,

                "BaseConversionFactor": 0.0,

                "SignificantDigits": 0,            

                "PurchaseOrderNumber": "PO-Test1",   

                "PurchaseOrderID": 50, 

                "ContainerNumber": "LP-Test1",           

                "CoreItemType": "BASIC",                  

                "CoreValue": "",         

                "Received": true,

                "Attributes": []          

            }

        ]

   }

]

 


When using the PUT request to import an ASN:



[

   {

       "WarehouseName": "",                        //Required - Character limit 100

       "ShipmentNumber": "",                        //Required - Character limit 50

       "ShipDate": "",                                     //Optional

       "VendorName": "",                               //Required - Character limit 50 - Must exist and be setup for ASN

       "Details": [

           {

                "ItemNumber": "",                       //Required - Character limit 50

                "QuantityShipped": "",                //Required - Must be greater than 0

                "UomDesc": "",                           //Required - Character limit 50 

                "PurchaseOrderNumber": "",      //Required - Character limit 50 - Must exist in WoW

                "ContainerNumber": "",              //Optional - Must not exist in destination warehouse - Defaults to blank

                "CoreItemType": "",                    //Optional - BASIC, SERIAL, LOT, DATE

                "CoreValue": ""                           //Required if not BASIC

            }

        ]

   }

]