psdi.app.financial

Class FldFinControlParentTaskID

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldFinControlParentTaskID
    extends MAXTableDomain
    FinCntrl.parenttaskid(non-persistant attribute) validation class: ParentTaskID is a non-persistent field which is used to attach a parent financial control identifier(parentfincntrlid) to the current mbo.
    • Constructor Detail

      • FldFinControlParentTaskID

        public FldFinControlParentTaskID(MboValue mbv)
        Construct and attach to the mbo value.
    • Method Detail

      • initValue

        public void initValue()
                       throws MXException,
                              java.rmi.RemoteException
        Initialize this non-persistant field and set it equal to the taskid of the fincntrlid stored in this mbo's parentfincntrlid attribute.
        Specified by:
        initValue in interface MboValueListener
        Overrides:
        initValue in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException
      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        The entered taskid which will be used as the parent taskid should be a valid Task. It should belong to the same project, should be of type TASK, be of approved (APPR) status, and should not be disabled.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXApplicationException - (financial, SameAsTask) Same as the task.
        MXApplicationException - (financial, NotValidTask) Not a valid task.
        MXException
        java.rmi.RemoteException
      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        The fincntrlid of the entered parent task should be used to set the parentfincntrlid of the current mbo(task).
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException