ReasonFormTable::setAccountRange Method [AX 2012]
Adds a range to the QueryBuildDataSource class based on the account type to filter by the data source.
Syntax
client server protected static void setAccountRange(LedgerJournalACType _accountType, QueryBuildDataSource _dsReasonTable)
Run On
Called
Parameters
- _accountType
Type: LedgerJournalACType Enumeration
The LedgerJournalACType data type that is the basis for which the filter will be added.
- _dsReasonTable
Type: QueryBuildDataSource Class
The ReasonTable data source.
Remarks
This method is called from the reasonCodeLookup method of the ReasonFormTable class.