Scenario: How to count the quantity of pallets on a delivery note …

PREREQUISITE: You must have a policy of 1 pallet per delivery line (1L block) in the Delivery Note (MMS480PF) spool file.

  1. Open the PageOut process insert the variable $countlines outside of the frame. 

TIP: Place the variable on the First page and/or the Last page. 

  1. Insert the following code:

    $countlines = msgCountID(“MMS4801L”);

The total quantity of 1L block instances will now display thus displaying the amount of pallets on the delivery.

Export and deploy and test!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s