ProjInvoiceTable::isBillingRuleInvoiceable Method
Determines whether this transaction can be invoiced.
Syntax
server public static boolean isBillingRuleInvoiceable(
ProjId _projId,
ProjCategoryId _projCategoryId,
PSAContractLineNum _contractBillingRule)
Run On
Server
Parameters
- _projId
Type: ProjId Extended Data Type
The project ID for the transaction.
- _projCategoryId
Type: ProjCategoryId Extended Data Type
The category ID for the transaction.
- _contractBillingRule
Type: PSAContractLineNum Extended Data Type
The contract billing rule for the transaction.
Return Value
Type: boolean
true if this transaction can be invoiced; otherwise, false.
Remarks
If the contract associated to the project contains billing rules, key attributes of the transacton are checked against the billing rules to determine if the transacton can be invoiced. This affects whether Work-in-progress amounts should be posted.