Currently, this report prints all orders (one line per order) that have the 'Must Ship Today' flag set to "1". Going forward, we are going to have 2 settings for Must Ship Today:
- 2 = This new status means that the order was entered before the a.m. warehouse cutoff (ie,11:00) so was automatically stamped as a 'must ship today'
- 1 = User selected that this order 'must ship today' after the warehouse's a.m. cutoff but before the warehouse's p.m. cutoff
What this means is that this report, which the warehouse runs multiple times during the day to make sure they ship all 'must ship today' orders, will grow in size because of the automated stamping. To make this report more readable, we will add a sort for the 'must ship today' flag so that the 'user selected' status will move to the top of the report. The assumption is that status 2, because they were entered in the a.m., should always get shipped today (unless there's a holdup with credit). The status 1 orders are the ones entered after the morning cutoff so there's less time to get these shipped.
SOPR9047:
- Add to the SORT: SHIP.TODAY.PS in between Whs and Order# (so sort becomes by Whs by Ship Today Flag by Order)
- The break logic should stay the same
- Change the SELECTION CRITERIA: from SHIP.TODAY.PS = "1" to SHOP.TODAY.PS > "0"
- Add a new column at the end for "SHIP TODAY" (put heading on 2 lines). You will have to find 6 characters to add this field to keep the report within 80 characters. There are some double spaces between columns and you have a few spaces before getting to 80.
- Print the must ship today flag from SOHDR.USR<10> on the detail line
- Print the must ship today flag from SOHDR.USR<10> using B.ORDER.NBR on the break line (this report selects SODET but prints one line per order)