psdi.app.workorder

Class FldWpSerDirectReq

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldWpSerDirectReq
    extends MboValueAdapter
    DirectReq attribute of WPService. If this field is set to false, will clear the Vendor,RequestBy and RequireDate and make them read-only. Since this is WPService, always it is set to true, will set Vendor,RequestBy and RequireDate and make them editable. Change in cost is updated in the WorkOrder.EstSerCost.
    • Constructor Detail

      • FldWpSerDirectReq

        public FldWpSerDirectReq(MboValue mbv)
        construct and attach to the MboValue.
        Parameters:
        mbv - the MboValue DirectReq attribute of WPService attach to.
    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        If this field is set to false, will clear the Vendor, RequestBy and RequireDate fields and make them read-only. If it set to true, will set Vendor to the primary vendor, RequestBy to UserName and RequireDate to schedstart date if the schedstart is not null,if it is null set to TargStartDate if the TargStartDate is not null, otherwise set to current date and make them editable.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException