JmgPayRule Class [AX 2012]

The JmgPayRule class represents the pay rule delimitations that are available in time and attendance.

class JmgPayRule extends WorkflowDocument

Run On

Called

  MethodDescription
Gg768992.protmethod(en-us,AX.60).gif addDesignTimeFieldToDataSource Adds a design time field to a ExpressionDataSource object, which is based on the specified extended data type.
Gg768992.protmethod(en-us,AX.60).gif addRunTimeFieldToDataSource Adds a run time field to the ExpressionDataSource object, which is based on the specified extended data type and value.
Gg768992.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg768992.pubmethod(en-us,AX.60).gif description Retrieves the description of the pay rule.
Gg768992.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg768992.pubmethod(en-us,AX.60).gif evaluate Evaluates whether the specified transaction fulfills the pay rule.
Gg768992.protmethod(en-us,AX.60).gif getDesignTimeCustomDataSource Gets the design time data source for the pay rule.
Gg768992.pubmethod(en-us,AX.60).gif getDesignTimeCustomDataSources Gets the design time data sources for the pay rule.
Gg768992.pubmethod(en-us,AX.60).gif getJoinConditions Returns the expression, which defines how the design time custom data source is joined with the query that is returned by the getQueryName method.
Gg768992.pubmethod(en-us,AX.60).gif getQuery Gets the query that is used when you evaluate the pay rule. (Overrides the getQuery Method.)
Gg768992.pubmethod(en-us,AX.60).gif getQueryName Returns the query name for this workflow document. (Inherited from WorkflowDocument.)
Gg768992.protmethod(en-us,AX.60).gif getRuntimeCustomDataSource Gets the runtime custom time data source for the pay rule.
Gg768992.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg768992.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg768992.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg768992.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg768992.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg768992.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg768992.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg768992.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg768992.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg768992.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg768992.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg768992.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Top

The class is abstract. In order to let users create a new pay rule delimitation, a developer must follow these steps:

  1. Create a query, which represents the data where delimitations are defined.

  2. Create a new class, which extends the JmgPayRule class.

  3. Implement the description, getDesignTimeCustomDataSource, getJoinConditionsMap, getQueryName and getRuntimeCustomDataSource methods.

Community Additions

ADD
Show: