psdi.app.invoice

Class FldInvoiceTotalTaxForUI

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldInvoiceTotalTaxForUI
    extends FldInvoiceTotalTax
    Invoice.TotalTaxForUI is a non-persistent field that corresponding with TotalTax1-TotalTax5. Total tax field always displays positive number on the screen. If it's a CREDIT type of invoice, TotalTax1-TotalTax5 is stored as negative number in database. 1) When initialized the field, TotalTaxForUI needs to display positive number on screen (TotalTax * -1). 2) When saving the invoice, TotalTax1-TotalTax5 needs to store as nagative number in database (TotalTaxUI *-1)