Options

maximum 17 lines in sales invoice line

kanikakanika Member Posts: 247
Hello friends

I still work with export to txt sales invoices

Now they have totally changed the format and export sales invoice must not have more than 17 lines in sales lines

I thought of limiting when the bill is recorded from order, pressing F11, if more than 17 lines a warning message is displayed, otherwise the registration is done smoothly
but do not know where to start
Any suggestions?

thanks!!

Comments

  • Options
    tinoruijstinoruijs Member Posts: 1,226
    You could build a check on the 17 lines on releasing sales documents. And make sure you can only print sales documents when status is released.

    What should order processors do when customers want to order 30 lines? Seems a strange limitation.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • Options
    kanikakanika Member Posts: 247
    Yes, is a strange limitation but is for chile location

    in case customers want to order 30 lines, we could build 2 order sales.
  • Options
    tinoruijstinoruijs Member Posts: 1,226
    Allright.
    Then I would go with the solution I suggested: You could build a check on the 17 lines on releasing sales documents. And make sure you can only print sales documents when status is released.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • Options
    kanikakanika Member Posts: 247
    is not to print it to export to txt

    Why the idea when the document is released?
  • Options
    tinoruijstinoruijs Member Posts: 1,226
    kanika wrote:
    is not to print it to export to txt

    Why the idea when the document is released?

    Because then you can build in checks on the releasing of the sales order (codeunit 414).
    Best is to build the checks in a seperate codeunit and call this function from codeunit 414.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
Sign In or Register to comment.