psdi.app.labor

Class LaborSet

    • Field Detail

      • showLabor

        public boolean showLabor
        Booleans to store the userpref settings. To be set at the startup of the application by using the methods: showLabor() and showCraft().
      • turnOnLaborAuthRestriction

        protected boolean turnOnLaborAuthRestriction
    • Method Detail

      • findLabor

        public void findLabor()
                       throws MXException,
                              java.rmi.RemoteException
        Makes this set include only Labor records for laborcodes, no crafts. Sets the set's where clause to the criteria critISLABOR.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        #findCrafts, LaborServiceRemote.critISLABOR
      • showLabor

        public boolean showLabor()
                          throws MXException,
                                 java.rmi.RemoteException
        show the labor records which was set by the user.
        Throws:
        MXException
        java.rmi.RemoteException
      • clearLaborAuthRestriction

        public void clearLaborAuthRestriction()
                                       throws MXException,
                                              java.rmi.RemoteException
        Turn off LaborAuth restrictions for this set to update labor in labor transaction
        Throws:
        MXException
        java.rmi.RemoteException
      • getUserPrefWhere

        public java.lang.String getUserPrefWhere()
        Override the MboSet getUserPrefWhere() to return a userpref where clause which is appended to th existing whereClause. This is called by the framework to allow any app specific modifications to the whereClause.
        Overrides:
        getUserPrefWhere in class MboSet
        Returns:
        The where clause.
        Throws:
        MXException
        java.rmi.RemoteException