Auto Action on Loading a Transaction
Using the pageInfo object member loadOutputTranCallback, you can configure a function to automatically execute on loading a transaction. You can also configure preconditions to be satisfied before this action is run. In this example, the auto pack button is configured to be executed on loading a transaction and the logic is not to run when the pack count is greater than one.
*************************************************************************
pageInfo.loadOutputTranCallback = {
fn : initiateBtnActionOnShipmentLoad,
disableOnPositivePackCount : true,
id : \"autoPackItemsMaxProductBtnId\"
};
*************************************************************************
Note: The members used to configure the
loadOutputTranCallback object are displayed in
Object Members.