WHSPostPackingSlip.retrieveLoads Method [AX 2012]
Generates a map with all loads that have to be ship confirmed at the same time and that can be actually ship confirmed.
Syntax
private container retrieveLoads(WHSLoadTable _loadTable)
Run On
Called
Parameters
- _loadTable
Type: WHSLoadTable Table
The WHSLoadTable record of the load which user asked to ship confirm.
Return Value
Type: container
A container with the loads that have to be ship confirmed.
Remarks
If load belongs to a route then we want to ship confirm all the loads on the route together.
If load doesn't belong to a route then we ship confrim only the load that user asked us to ship confirm.
If at least one of the loads doesn't match ship confirm criteria then we don't ship confirm loads at all.