KVSTRDBillingRule
Fields
| Name | Type | Note |
|---|---|---|
| Code | Code[10] | |
| Description | Text[50] | |
| Billing Date Calculation | DateFormula | |
| Billing Rule Type | Enum (KVSTRDBillingRuleType) |
Events
KVSTRDOnElseCalculateNextBillingDate(Enum KVSTRDBillingRuleType, Date, Date) :
Summary: Event to handle custom logic considering the invoicing rule type when calculating the next invoicing date. This event is triggered when the invoicing rule type is not one of the predefined types handled
[IntegrationEvent(false, false)]
local procedure KVSTRDOnElseCalculateNextBillingDate(BillingRuleType: Enum "KVSTRDBillingRuleType"; ReferenceDate: Date; var NextBillingDate: Date):
Parameters:
BillingRuleType: Billing Rule TypeReferenceDate: Reference date for the calculationNextBillingDate: Return parameter for the calculated next billing date