psdi.app.inventory

Class FldMatRecTransRotAssetnum

    • Constructor Detail

      • FldMatRecTransRotAssetnum

        public FldMatRecTransRotAssetnum(MboValue mbv)
                                  throws MXException,
                                         java.rmi.RemoteException
        Constructor just calls super(mbv).
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        if the matrectrans is TRANSFER, the assetnum should behave as rotating asset num. Validates if the asset already exists in the to site(where the item is transferred).
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class FldAssetnum
        Throws:
        MXApplicationException("inventory","invalidRotAssetLocation") - MXApplicationException("inventory","invalidRotAssetItem")
        MXException
        java.rmi.RemoteException
      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: FldCommonAssetnum
        Update the fields affected by changing this field and merge the debit gl account. Use the setXxxField methods (below) for mapping from workorder to the current mbo BEFORE calling this action method.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class FldCommonAssetnum
        Throws:
        MXException
        java.rmi.RemoteException