psdi.app.jobplan

Class FldJobMaterialVendor

    • Constructor Detail

      • FldJobMaterialVendor

        public FldJobMaterialVendor(MboValue mbv)
                             throws MXException,
                                    java.rmi.RemoteException
        construct and attach to the MboValue
        Parameters:
        mbv - the MboValue Vendor attribute of JobMaterial attach to.
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        If it is direct issue - if it is a default vendor, then take last cost of the vendor and set it to unitcost - if it is not a default vendor and there invvendor records for this item, then take the latest "last date" vendor records and take last cost from that. - if there is no itemnum and vendor combination in the invvendor table, then do not populate the unitcost.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException