psdi.app.invoice

Class FldInvoiceLineTaxForUI

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldInvoiceLineTaxForUI
    extends FldInvoiceLineTax
    InvoiceLine.TaxForUI is a non-persistent field that corresponding with Tax1-Tax5. Tax fields always display positive number on the screen. If it's a CREDIT type of invoice, Tax1-Tax5 is stored as negative number in database. 1) When initialized the field, TaxForUI needs to display positive number on screen (Tax * -1). 2) When saving the invoice line, Tax1-Tax5 needs to store as nagative number in database (TaxForUI *-1)