psdi.app.invoice

Class FldInvoiceUnInvoicedTotal

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldInvoiceUnInvoicedTotal
    extends MboValueAdapter
    Invoice.uninvoicedtotal(non-persistant attribute) validation class: UnInvoicedTital is a non-persistant field which displays the cost which has not been invoiced against the PO's total cost. The field is always readonly. It is initialized to be null if there is no PO on the invoice. Else, the field value is calculated as follows: Uninvoiced cost = PO total cost -(invoice lines cost + inclusive taxes).
    • Constructor Detail

      • FldInvoiceUnInvoicedTotal

        public FldInvoiceUnInvoicedTotal(MboValue mbv)
        Construct and attach to the mbo value.
    • Method Detail

      • initValue

        public void initValue()
                       throws MXException,
                              java.rmi.RemoteException
        Initialize this non-persistant field and set it equal to: PO total cost -(invoice lines cost + inclusive taxes) if there is a PO. Else, set it to null.
        Specified by:
        initValue in interface MboValueListener
        Overrides:
        initValue in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException