On the Customer Card, tab Invoicing, you'll find a field "Invoice Copies". On report 206 Sales - Invoice, tab Options, you'll also find a field "No. of Copies".
If you don't fill this in on the report, Navision looks at the field in the Customer card. If it is still 0, you get 1 copy.
In the report, on the DataItem named CopyLoop, you'll find this code in the OnPreDataItem-trigger:
NoOfLoops := ABS(NoOfCopies) + Cust."Invoice Copies" + 1;
IF NoOfLoops <= 0 THEN
NoOfLoops := 1;
CopyText := '';
SETRANGE(Number,1,NoOfLoops);
To change the default, you could change the value in all Customer Cards. Or you could change the value of the NoOfCopies-variable in the report (on the RequestForm).
Hope this helps.
No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
Comments
If you don't fill this in on the report, Navision looks at the field in the Customer card. If it is still 0, you get 1 copy.
In the report, on the DataItem named CopyLoop, you'll find this code in the OnPreDataItem-trigger:
To change the default, you could change the value in all Customer Cards. Or you could change the value of the NoOfCopies-variable in the report (on the RequestForm).
Hope this helps.