psdi.app.inventory.virtual

Class FldIssueCurrentItemAssetnum

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldIssueCurrentItemAssetnum
    extends FldCommonAssetnum
    IssueCurrentItem.Assetnum Validation - if user has entered itemnum and storeroom, but hasn't entered a wonum or location THEN... default location from the assetnum is set
    • Constructor Detail

      • FldIssueCurrentItemAssetnum

        public FldIssueCurrentItemAssetnum(MboValue mbv)
                                    throws MXException,
                                           java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • 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
      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        checks to make sure that the sum of the quantity being issued to an asset or work order and the sum of the total issued quantity (ISSUEDQTY in the SPAREPART table for the given item and asset combination) is less than or equal to the maximum permissible quantity (MAXISSUE in ITEM table)
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class FldAssetnum
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.inventory.InventoryRemote#checkRequestAgainstItemMaxIssue()