AssetRule::findAndProcessRule Method
Indicates whether a rule applies to a procurement and optionally processes the rule if it applies to the procurement category.
Syntax
client server public static container findAndProcessRule(
RefRecId _ecoResCategory,
date _transDate,
CurrencyCode _currencyCode,
PurchPrice _purchPrice,
LegalEntity _legalEntity,
[LanguageId _languageId,
boolean _getQualifiers])
Run On
Called
Parameters
- _ecoResCategory
Type: RefRecId Extended Data Type
The record ID of the category.
- _transDate
Type: date
The transaction date of procurement.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency code of the transaction amount.
- _purchPrice
Type: PurchPrice Extended Data Type
The purchase price on the transaction.
- _legalEntity
Type: LegalEntity Extended Data Type
- _languageId
Type: LanguageId Extended Data Type
The language ID of the user.
- _getQualifiers
Type: boolean
Return Value
Type: container
The appropriate values, such as the global asset group, options, or local asset group.