psdi.app.invoice

Class FldInvoiceCostWONumNonPer

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldInvoiceCostWONumNonPer
    extends FldInterfaceWonum
    InvoiceCost.wonumnonper (non-persistent) validation class: This class is needed to handle the non-persistent field wonumnonper which is displayed on the invoice line tab. The field behaves similiar to the invoice cost wonum field and is needed as the editibility of the field on the invoice line tab and distribute cost page is different.
    See Also:
    FldInterfaceWonum
    • Constructor Detail

      • FldInvoiceCostWONumNonPer

        public FldInvoiceCostWONumNonPer(MboValue mbv)
                                  throws MXException
        Construct and attach to the mbo value.
        Throws:
        MXException
    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        The super class updates the refwo and taskid attributes. If we null this non-persistent attribute the taskid non-persistent attribute is also cleared. As this field is on the invoiceline tab, updating this should update the actual wonum field on invoice cost. Also update the asset, location, gldebitacct and glcreditacct non-persistent fields.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class FldInterfaceWonum
        Throws:
        MXException
        java.rmi.RemoteException