
Announcements
I copied the standard “Prod. Order – Picking List” report and made a small customization.
The standard report structure is:
Item
└─ Prod. Order Component
I want the report to print Production Order Components in Line No. sequence
(i.e., components sorted by Line No. within each Production Order).
In the copied report, I added sorting to the child dataitem:
DataItemTableView = sorting(Status, "Prod. Order No.", "Line No.");
I also tried:
sorting("Line No.")
Even after applying the above sorting:
The report does not print components in Line No. order
The output order is inconsistent when:
Multiple Items exist
The same Production Order has multiple components
Debugging shows that sorting is already incorrect at the AL dataset level