psdi.app.invoice

Class FldInvoiceCostQtyForUI

  • All Implemented Interfaces:
    MboConstants, MboValueListener


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

      • FldInvoiceCostQtyForUI

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