SysOperationLabelAttribute Class [AX 2012]
The SysOperationLabelAttribute class is an attribute that is used to specify the label for a data member in a contract.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| label | Gets the label ID or text string. |
| new | Instantiates a new instance of the SysOperationLabelAttribute class. (Overrides the new Method.) |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
A report parameter provides a way to choose the report data, connect related reports together, and vary the report presentation. The parameters that a report data provider (RDP) class will reference are defined in a data contract class. You can attach the SysOperationLabelAttribute attribute to specify a label for a data member in a contract. You can see the text for the label ID in the following two places for reports:
-
The label property for a parameter in Microsoft Visual Studio.
-
The parameter UI when the report is displayed in the Microsoft Dynamics AX client.
If a label ID is not provided in the RDP data contract, the label of the underlying EDT that is used in the data member will be used as the label ID.