psdi.app.common

Class FldCommonLocation

    • Constructor Detail

      • FldCommonLocation

        public FldCommonLocation(MboValue mbv,
                                 java.lang.String criteriaName)
                          throws MXException
        Constructor
        Parameters:
        mbv - = the current mbo value.
        criteriaName - = the criteria for which locations are valid; choose from the constants defined in LocationService.
        Throws:
        MXException
    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        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 MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • setWonumField

        public void setWonumField(java.lang.String wonumField)
                           throws MXException,
                                  java.rmi.RemoteException
        Give the name of the wonum attribute
        Parameters:
        wonumField - used for the gl merge
        Throws:
        MXException
        java.rmi.RemoteException
      • setAssetnumField

        public void setAssetnumField(java.lang.String assetnumField)
                              throws MXException,
                                     java.rmi.RemoteException
        Give the name of the assetnum attribute
        Parameters:
        assetnumField - = asset.location ==> current.locationField
        Throws:
        MXException
        java.rmi.RemoteException
      • setGLDebitAcctField

        public void setGLDebitAcctField(java.lang.String gldebitacctField)
                                 throws MXException,
                                        java.rmi.RemoteException
        Give the name of the GL Debit Account attribute
        Parameters:
        gldebitacctField - merged gl ==> current.gldebitacctField
        Throws:
        MXException
        java.rmi.RemoteException
      • setChargeStoreField

        public void setChargeStoreField(java.lang.String chargestoreField)
                                 throws MXException,
                                        java.rmi.RemoteException
        Give the name of the Charge-To-Store flag attribute
        Parameters:
        chargestoreField - used for the gl merge
        Throws:
        MXException
        java.rmi.RemoteException
      • setItemnumField

        public void setItemnumField(java.lang.String itemnumField)
                             throws MXException,
                                    java.rmi.RemoteException
        Give the name of the ItemNum attribute
        Parameters:
        itemnumField - used for the gl merge
        Throws:
        MXException
        java.rmi.RemoteException
      • setItemsetidField

        public void setItemsetidField(java.lang.String itemsetidField)
                               throws MXException,
                                      java.rmi.RemoteException
        Give the name of the ItemSetID attribute
        Parameters:
        itemsetidField - used for the gl merge
        Throws:
        MXException
        java.rmi.RemoteException
      • setStoreLocField

        public void setStoreLocField(java.lang.String storelocField,
                                     boolean clearStorelocField)
                              throws MXException,
                                     java.rmi.RemoteException
        Give the name of the Inventory Storeroom Location attribute
        Parameters:
        storelocField - used for the gl merge
        clearStorelocField - if true, clear the storelocField; if false, do not clear the storelocField.
        Throws:
        MXException
        java.rmi.RemoteException
      • setLaborcodeField

        public void setLaborcodeField(java.lang.String laborcodeField)
                               throws MXException,
                                      java.rmi.RemoteException
        Give the name of the Laborcode attribute
        Parameters:
        laborcodeField - = used for the gl merge
        Throws:
        MXException
        java.rmi.RemoteException
      • setcraftField

        public void setcraftField(java.lang.String craftField)
                           throws MXException,
                                  java.rmi.RemoteException
        Give the name of the craft attribute
        Parameters:
        craftField - = used for the gl merge
        Throws:
        MXException
        java.rmi.RemoteException
      • setskillLevelField

        public void setskillLevelField(java.lang.String skillLevelField)
                                throws MXException,
                                       java.rmi.RemoteException
        Give the name of the skillLevel attribute
        Parameters:
        skillLevelField - = used for the gl merge
        Throws:
        MXException
        java.rmi.RemoteException
      • setvendorField

        public void setvendorField(java.lang.String vendorField)
                            throws MXException,
                                   java.rmi.RemoteException
        Give the name of the vendor attribute
        Parameters:
        vendorField - = used for the gl merge
        Throws:
        MXException
        java.rmi.RemoteException
      • setcontractNumField

        public void setcontractNumField(java.lang.String contractNumField)
                                 throws MXException,
                                        java.rmi.RemoteException
        Give the name of the contractNum attribute
        Parameters:
        contractNumField - = used for the gl merge
        Throws:
        MXException
        java.rmi.RemoteException
      • setToolnumField

        public void setToolnumField(java.lang.String toolnumField)
                             throws MXException,
                                    java.rmi.RemoteException
        Give the name of the ToolNum attribute
        Parameters:
        toolnumField - used for the gl merge
        Throws:
        MXException
        java.rmi.RemoteException
      • setMRField

        public void setMRField(java.lang.String mrnumField,
                               java.lang.String mrlinenumField)
                        throws MXException,
                               java.rmi.RemoteException
        Give the names of the MRNum and MRLineNum attributes
        Parameters:
        mrnumField - used for the gl merge
        mrlinenumField - used for the gl merge
        Throws:
        MXException
        java.rmi.RemoteException