ReasonFormTable Class [AX 2012]
The ReasonFormTable class enables you to hide or show controls and validate the deletion of records based on which menu item initiated the form.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| datasourceInitValue | Applies default values to the reasonTable fields. |
| 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.) |
| initControls | Hides fields on the Reasons form, based on the menu item from which the form was called. |
| new | Initializes a new instance of the Object class. (Inherited from Object.) |
| 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.) |
| parmAccountTypeAsset | Gets or sets the AccountTypeAsset parameter. |
| parmAccountTypeBank | Gets or sets the AccountTypeBank parameter. |
| parmAccountTypeCust | Gets or sets the AccountTypeCust parameter. |
| parmAccountTypeLedger | Gets or sets the AccountTypeLedger parameter. |
| parmAccountTypeRAsset | Gets or sets the AccountTypeRAsset parameter. |
| parmAccountTypeRCash | Gets or sets the AccountTypeRCash parameter. |
| parmAccountTypeVend | Gets or sets the AccountTypeVend parameter. |
| parmGeneralBankLGGroup | Gets or sets the GeneralBankLGGroup parameter. |
| parmReasonCodeAccountType | Gets or sets the ReasonCodeAccountType parameter. |
| parmReasonFormCaption | Gets or sets the ReasonFormCaption parameter. |
| parmReasonGridAccountTypeAsset | Gets or sets the ReasonGridAccountTypeAsset parameter. |
| parmReasonGridAccountTypeBank | Gets or sets the ReasonGridAccountTypeBank parameter. |
| parmReasonGridAccountTypeCust | Gets or sets the ReasonGridAccountTypeCust parameter. |
| parmReasonGridAccountTypeLedger | Gets or sets the ReasonGridAccountTypeLedger parameter. |
| parmReasonGridAccountTypeVend | Gets or sets the ReasonGridAccountTypeVend parameter. |
| parmReasonGridBankLGGroup | Gets or sets the ReasonGridBankLGGroup parameter. |
| setControlsVisible | Sets the value of the visible property of all referenced controls found within this helper class. |
| 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.) |
| validateDelete | Validates whether the record passed in can be deleted, based on which module opened the form. |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::checkReasonCodeForAccountType | Checks whether a reason code is enabled for a specific account type. |
| ::reasonCodeLookup | Displays a filtered version of the Reasons lookup form to the user based on the AccountType and OffsetAccountType parameters. |
| ::reasonCodeLookupMultipleAccounts | Displays a filtered version of the Reasons lookup form to the user based on the AccountType and OffsetAccountType parameters. |
| ::setAccountRange | Adds a range to the QueryBuildDataSource class based on the account type to filter by the data source. |
| ::setMultipleAccountRange | Adds a range to the QueryBuildDataSource class based on the account type to filter by the data source. |
Community Additions
ADD
Show: