InventoryTransferModel Class
ERP Version: 3.85
FS Version: 3.335
A class that represents all information required to make an inventory transfer.
Properties
outboundIqaId
Type: String
required - The Salesforce id of the Inventory Quantity Available (IQA) from where the product is leaving. The outbound IQA must exist for the transfer to be successful.
inboundIqaId
Type: String
required if inboundLocationId is not provided - The Salesforce id of the IQA to where the product is going. The inbound IQA does not need to exist and this parameter can be omitted when the outbound location id is provided instead.
inboundLocationId
Type: String
required if inboundIqaId is not provided - The Salesforce Id of the Location__c object that specifies where the product is going. This can be provided instead of inboundIqaId. If an IQA with the specified product, warehouse, and ledger does not exist at that location, one will be created.
movementDate
Type: Date
required - The date the transfer should occur.
transferLedgerId
Type: String
required - The ledger to record the transfers. For standard cost, the ledger is set to the default legacy ledger.
quantity
Type: Double
required - An integer representing the amount of product that will be moved in the transfer from the outbound IQA to the inbound IQA. Cannot exceed the available quantity in the outbound IQA.
glav1Id
Type: String
The GL Account Variable 1 that will appear on the inventory movements. Uses the GL Account Variable 1 on the Product if none is provided.
glav2Id
Type: String
The GL Account Variable 2 that will appear on the inventory movements. Uses the GL Account Variable 2 on the Product if none is provided.
glav3Id
Type: String
The GL Account Variable 3 that will appear on the inventory movements. Uses the GL Account Variable 3 on the Product if none is provided.
glav4Id
Type: String
The GL Account Variable 4 that will appear on the inventory movements. Uses the GL Account Variable 4 on the Product if none is provided.
transferProjectId
Type: String
The Salesforce Id of the project to associate the transfer
transferProjectTaskId
Type: String
The Salesforce Id of the project task to associate the transfer
global List<String> serialNumbers;
serialNumbers
Type: List<String>
required for serialized products - A list of strings that represent the serial numbers of the products being transferred. The length of the list should be equal to the quantity.