Hi, we are trying to automate our Packing List report to be used by our Warehouse for shipments. the report is based on a sales line. However, one of the condition is that for 1 item (lets say 1500 cases), if the cases per pallet is 500, that 1 item should divide into 3 pallets. Meaning in the report 3 lines on my report should show like below. This then will repeat to other items in the sales lines of the report until the whole shipment is finished with continuous Pallet No. . We have table where the no. of cases per pallets for each of our registered Item Nos. are defined.
Item A= 1500 Cases, cases per pallet 500
Item B= 1000 Cases, cases per pallet 200
| Item No. |
Qty |
Pallet No. |
| Item A |
500 |
1 |
| Item A |
500 |
2 |
| Item A |
500 |
3 |
| Item B |
200 |
4 |
| Item B |
200 |
5 |
| Item B |
200 |
6 |
| Item B |
200 |
7 |
| Item B |
200 |
8 |
Please Help me! Thank you