I am building a Label Printing report that needs to split the actual quantity of a line between differents labels with specific quantities each,
e.g. I can have a quantity of units 10 and have to print 4 labels: 3 labels with qty 3 and 1 with quantity 1 for example.
I build the lines to pass to the report but it not iterating is just prints the same line although it prints the correct quantity of labels i am using a temporary table and already marked the report to use temporary tables.
i am passinf the 'printing lines' i need to the report and run it
TempLbl: Record "LDSLabelPrintLine" temporary;
LabelPrintLine: Record "LDSLabelPrintLine";
and marked my report to receive temporary tables
but my labels are printing the same line (but the correct number of labels e.g. should print 3 but from different line records)
its like it prints the same line, (10000 on the right side is referring to the lines I passed to the report)
I dont know if need to use integer dataitem or something different, and I tried different approaches but not got good results
really appreaciate if someone could bring some ideas to fix this.
Thanks in advance