psdi.app.invoice

Class FldInvoiceLineQtyForUI

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldInvoiceLineQtyForUI
    extends FldInvoiceLineQty
    InvoiceLine.QtyForUI is a non-persistent field that corresponding with InvoiceQty. Invoice quantity field always displays positive number on the screen. If it's a CREDIT type of invoice, InvoiceQty is stored as negative number in database. 1) When initialized the field, QtyForUI needs to display positive quantity on screen (InvoiceQty * -1). 2) When saving the invoice line, InvoiceQty needs to store as nagative number in database (QtyForUI *-1)
    • Constructor Detail

      • FldInvoiceLineQtyForUI

        public FldInvoiceLineQtyForUI(MboValue mbv)
        Construct and attach to the mbo value.