Auto Action on Changing All Items Packed State
Using the pageInfo object member itemPackingCallback, you can configure a function to automatically execute when the “All items packed” state of a shipment changes during the packing process. You can also configure preconditions to be satisfied before this action is run. In this example, the shipment tasks button is executed when the “All items packed” state changes. A precondition is configured so that the logic is only executed when all items have been packed.
*************************************************************************
pageInfo.itemPackingCallback = {
fn : initiateBtnActionOnItemPacking,
allItemsPacked : true,
id : \"shExtnBtn1Id\"
};
*************************************************************************
Note: The members used to configure the
itemPackingCallback object are displayed in
Object Members.