psdi.app.item

Class FldCommodityCode

    • Constructor Detail

      • FldCommodityCode

        public FldCommodityCode(MboValue mbv)
                         throws java.rmi.RemoteException,
                                MXException
        Field Validation for CommodityCode
        Throws:
        java.rmi.RemoteException
        MXException
    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: FldMboKey
        When an existing record is made a child of another record, the action makes the entered Mbo child the same as the existing Mbo. This means once the action is done, the Mbo's keys will become read/only and the only way to remove the child is to delete the row.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class FldMboKey
        Throws:
        MXException
        java.rmi.RemoteException
      • getList

        public MboSetRemote getList()
                             throws MXException,
                                    java.rmi.RemoteException
        Return list of mbos for from the commodities table. This will be used by the UI lookup to get the commodities which are not parents and are not children of some other commodity.
        Specified by:
        getList in interface MboValueListener
        Overrides:
        getList in class MboValueAdapter
        Returns:
        MboSetRemote A commodities set to be used by the lookup.
        Throws:
        MXException
        java.rmi.RemoteException