TrvRuleExpressionSetup.parmPreferredMerchant Method [AX 2012]
Indicates whether the expense is made with a preferred merchant.
Syntax
public TrvIsPreferredMerchant parmPreferredMerchant(
CompanyId _companyId,
TableId _tableId,
RecId _recId)
Run On
Called
Parameters
- _companyId
Type: CompanyId Extended Data Type
The company ID of the TrvExpTrans record.
- _tableId
Type: TableId Extended Data Type
The table ID of the TrvExpTrans record.
- _recId
Type: RecId Extended Data Type
The record ID of the TrvExpTrans record.
Return Value
Type: TrvIsPreferredMerchant Extended Data Type
true if it is a preferred merchant; otherwise, false.
Remarks
A merchant that is not in the TrvExpMerchant table is considered not to be a preferred merchant.