Options

Print Defaults

alan_atlalan_atl Member Posts: 2
edited 2003-03-07 in Navision Financials
Hello...I have a fairly simple (I hope) inquiry. Does anyone know how to change the default number of copies when printing forms (e.g., invoices)?

Thanks

Comments

  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    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)
Sign In or Register to comment.