Line Item Object
  • 2 Minutes to read
  • PDF

Line Item Object

  • PDF

Article summary

Line Item Object

 


 


LineNumber

 

Description: An integer value to uniquely identify the line on the order.

Data Type: Number

Required: Yes

 

 

 

ComponentSequence

 

Description: Used for integration with external ERPs that handle kit items as a single line item with multiple component sequences.  Has no tangible effect in WithoutWire

Data Type: Int

Required: No

 

 

 

ItemNumber

 

Description: A unique value that represents an item.

Data Type: String

Data Length: 50

Note: If the item number does not exist the fields CoreItemType, and UomType will be used to create the item with default values.

 

 

 

CoreItemType

 

Description: The item's inventory type.  

Data Type: String

Values: BASIC, LOT, SERIAL, DATE

Required: No unless item is new

 

 

 

QuantityOrdered

 

Description: A decimal value representing the quantity to pick for the line item.

Data Type: Decimal

Required: Yes

 

 


UomDesc

 

Description: The unit of measurement for the item. 

Data Type: String

Data Length: 50

Required: Yes

 

 

 

SignificantDigits

 

Description: The number of decimal places for the item.

Data Type: Int

Required: No, defaults to 0. 


 

 

BaseConversionFactor

 

Description: When creating an alternate UoM for an item, this is the conversion factor between the new UoM and the base UoM. 

Data Type: Int

Required: No

 

 

 

LineItemComment

 

Description: Comments for the line item.

Data Type: String

Data Length: 50

 

 

 

ItemDescription

 

Description: The description provided for the item.  

Data Type: String

Data Length: 100

Required: No, defaults to item number.

 

 


AllocationSetName

 

Description: The allocation set for the item. 

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": "",                       //Required - Must be unique for the collection and greater than 0

              "ComponentSequence": "",        //Optional - Will default to 0

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

              "CoreItemType": "",                    //Optional unless item is new, then must be BASIC, SERIAL, LOT, or DATE

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

              "UomType":   {

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

                       "SignificantDigits": "",                //Optional - Will default to 0 if UOM is new and not provided

                       "BaseConversionFactor": ""      //Optional - Will default to 1 if UOM is new and not provided - Cannot be 0

               },

               "LineItemComment": "",              //Optional - Character limit 1000

               "ItemDescription": "",                   //Optional - Will default to ItemNumber - Character limit 100

               "WarehouseName": "",                //Optional

               "AllocationSetName": "",             //Optional

               "InventoryRequestTaskID": ""     //Optional

         }

]