TrvCostType::checkPaymentMethodForPersonalExpense Method
Checks the payment methods that are permitted for a personal expense.
Syntax
client server public static boolean checkPaymentMethodForPersonalExpense(TrvCostTypeEDT _category, TrvPayMethodEDT _payMethod)
Run On
Called
Parameters
- _category
Type: TrvCostTypeEDT Extended Data Type
The expense category.
- _payMethod
Type: TrvPayMethodEDT Extended Data Type
The payment method.
Return Value
Type: boolean
true if the payment method is permitted for the personal expense; otherwise, false.