Invoice without amount?

SoloperSoloper Member Posts: 102
Is there an option to warn a user while posting an invoice which has "zero amount"?

Comments

  • SavatageSavatage Member Posts: 7,142
    You can easily add the "Amount" field to the header form so the user can see that it's zero.

    Another method we use is make prices "RED" then they equal zero.
    OnFormat(VAR Text : Text[1024];)
    IF "Unit Price" = 0 THEN BEGIN
       CurrForm."Unit Price".UPDATEFORECOLOR(255);
       CurrForm."Unit Price".UPDATEFONTBOLD(TRUE);
      END;
    

    If you batch post you can set a filter not to post zero amount invoices, if they aren't supposed to be zero :wink:
  • SoloperSoloper Member Posts: 102
    Savatage wrote:
    You can easily add the "Amount" field to the header form so the user can see that it's zero.

    Another method we use is make prices "RED" then they equal zero.
    OnFormat(VAR Text : Text[1024];)
    IF "Unit Price" = 0 THEN BEGIN
       CurrForm."Unit Price".UPDATEFORECOLOR(255);
       CurrForm."Unit Price".UPDATEFONTBOLD(TRUE);
      END;
    

    If you batch post you can set a filter not to post zero amount invoices, if they aren't supposed to be zero :wink:

    Thanks Savatage.

    I thought moving amount field to the form header. But how can I calculate it right after a new line with unit price inserted?

    Formating the lines unit prices alsa works, also thanks for that.
  • SavatageSavatage Member Posts: 7,142
    The amount field on the header is calculated once the order has been "Released"

    Now, if you would like to have a running total field then that different.
    viewtopic.php?f=14&t=25056
  • SoloperSoloper Member Posts: 102
    Thanks again.
Sign In or Register to comment.