Options

Zup File

bhuberbhuber Member Posts: 78
edited 2002-02-01 in Navision Financials
I added a menu item on the Purchase Invoice form to print a report. I do a SETRANGE on Invoice No. The report prints but then when I try to enter a new invoice the Zup files supplies a nos series from quotes. In other words the document type in the zup file is now quotes. Only way to fix it is to reset the sup file by reimporting the purchase invoice object. Any iseas on how to set the zup file with code?SETRANGE on Invoice No.

Comments

  • Options
    John_TegelaarJohn_Tegelaar Member Posts: 159
    Why not use the standard method of calling the Document Print codeunit (see for example the Order form). Then you only need to pass the current record and have no hassle with setrange.

    John
Sign In or Register to comment.