psdi.app.labor

Class FldLabTransPOLineNum

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldLabTransPOLineNum
    extends FldPOLineNum
    Behaviour associated with the POLineNum field The Poline entered must be valid and must be of the type service
    • Constructor Detail

      • FldLabTransPOLineNum

        public FldLabTransPOLineNum(MboValue mbv)
                             throws MXException,
                                    java.rmi.RemoteException
        Construct and attach to the specified MboValue
        Parameters:
        mbv -
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Set the values for labtrans.payrate and glcreditacct if the a PO Line has been entered and it is valid. Set the labtrans payrate to the unit cost from the PO Line (if the unitcost does not = 0) taking into account the currency conversion. Set the Credit GL Account to the Debit GL Account from Purchasing.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        LabTrans.validatePOLineforApproval()