Grouping Help using multiple groups With copy of R42565 For Invoicing
I can email you template and XML if needed.
I am using invoice R42565 copy of and we have a new grouping field we added to the details included order number+description+etc.
My template below has this at the top:
<?for-each-group@section:/R5542565/Phase_1___Build_Work_File_S1/Detail_Line_1_Section_S2_Group/On_Payment_Terms_S3;./Invoice_Number_ID27?><?variable@incontext:G1;current-group()?>
<?for-each-group@section:/R5542565/Phase_1___Build_Work_File_S1/Detail_Line_1_Section_S2_Group/On_Payment_Terms_S3/Detail_Line_1_Section_S2;./DocVoucherInvoiceE_ID271?><?sort:current-group()/DocVoucherInvoiceE_ID271;'ascending';data-type='text'?>
<?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,/R5542565/Phase_1___Build_Work_File_S1/Detail_Line_1_Section_S2_Group/On_Payment_Terms_S3/InvoiceCopies_ID319,1)?>