KVSKBAComRate
Fields
| Name | Type | Note |
|---|---|---|
| Salesperson Comm.-Type | Enum (KVSKBASalesPersonCommType) | |
| Salesperson Code | Code[20] | |
| Customer Comm.-Type | Enum (KVSKBACustomerCommType) | |
| Customer Code | Code[20] | |
| Product Comm.-Type | Enum (KVSKBAProductCommType) | |
| Product Code | Code[20] | |
| Starting Date | Date | |
| Responsibility Center | Code[10] | |
| Blocked | Boolean | |
| Commission Base | Enum (KVSKBACommissionBase) | |
| Commission % | Decimal | |
| Ending Date | Date | |
| Description | Text[100] | |
| Level of Detail | Text[3] |
Events
OnCompleteOnCaseCustomerCommTypeOnBeforeCaseAllCustomer(Record KVSKBAComRate, Boolean) :
Summary: Raised in Complete() before the standard handling for Customer Comm.-Type = "All Customers".
[IntegrationEvent(false, false)]
local procedure OnCompleteOnCaseCustomerCommTypeOnBeforeCaseAllCustomer(var KVSKBAComRate: Record "KVSKBAComRate"; var IsHandled: Boolean):
Parameters:
KVSKBAComRate: The commission rate record being completed.IsHandled: Set to true to skip the standard logic (TestField and Level of Detail assignment).
Remarks: Subscribe to this event to override or extend the behaviour when the customer commission type is set to "All Customers". If IsHandled is set to true the default TestField("Customer Code", '') and level-of-detail assignment are bypassed.
OnCompleteOnCaseCustomerCommTypeOnBeforeCaseCustomer(Record KVSKBAComRate, Boolean) :
Summary: Raised in Complete() before the standard handling for Customer Comm.-Type = "Customer".
[IntegrationEvent(false, false)]
local procedure OnCompleteOnCaseCustomerCommTypeOnBeforeCaseCustomer(var KVSKBAComRate: Record "KVSKBAComRate"; var IsHandled: Boolean):
Parameters:
KVSKBAComRate: The commission rate record being completed.IsHandled: Set to true to skip the standard logic (TestField and Level of Detail assignment).
Remarks: Subscribe to this event to override or extend the behaviour when the customer commission type is set to a specific customer. If IsHandled is set to true the default TestField("Customer Code") and level-of-detail assignment are bypassed.
OnCompleteOnCaseCustomerCommTypeOnBeforeCaseElse(Record KVSKBAComRate, Boolean) :
Summary: Raised in Complete() before the error is thrown for an unrecognised Customer Comm.-Type value.
[IntegrationEvent(false, false)]
local procedure OnCompleteOnCaseCustomerCommTypeOnBeforeCaseElse(var KVSKBAComRate: Record "KVSKBAComRate"; var IsHandled: Boolean):
Parameters:
KVSKBAComRate: The commission rate record being completed.IsHandled: Set to true to suppress the standard InvalidOptionErr error.
Remarks: Subscribe to this event to handle custom or future Customer Comm.-Type enum values that are not covered by the standard case statement. If IsHandled is set to true the default error call is skipped.
OnCompleteOnCaseCustomerCommTypeOnBeforeCaseGroupCustomerComm(Record KVSKBAComRate, Boolean) :
Summary: Raised in Complete() before the standard handling for Customer Comm.-Type = "Group (Customer Comm.)".
[IntegrationEvent(false, false)]
local procedure OnCompleteOnCaseCustomerCommTypeOnBeforeCaseGroupCustomerComm(var KVSKBAComRate: Record "KVSKBAComRate"; var IsHandled: Boolean):
Parameters:
KVSKBAComRate: The commission rate record being completed.IsHandled: Set to true to skip the standard logic (TestField and Level of Detail assignment).
Remarks: Subscribe to this event to override or extend the behaviour when the customer commission type is set to a customer commission group. If IsHandled is set to true the default TestField("Customer Code") and level-of-detail assignment are bypassed.
OnCompleteOnCaseSalespersonCommTypeOnBeforeCaseElse(Record KVSKBAComRate, Boolean) :
Summary: Raised in Complete() before the error is thrown for an unrecognised Salesperson Comm.-Type value.
[IntegrationEvent(false, false)]
local procedure OnCompleteOnCaseSalespersonCommTypeOnBeforeCaseElse(var KVSKBAComRate: Record "KVSKBAComRate"; var IsHandled: Boolean):
Parameters:
KVSKBAComRate: The commission rate record being completed.IsHandled: Set to true to suppress the standard InvalidOptionErr error.
Remarks: Subscribe to this event to handle custom or future Salesperson Comm.-Type enum values that are not covered by the standard case statement. If IsHandled is set to true the default error call is skipped.
OnCompleteOnCaseSalespersonCommTypeOnBeforeCaseAllSalespersons(Record KVSKBAComRate, Boolean) :
Summary: Raised in Complete() before the standard handling for Salesperson Comm.-Type = "AllSalespersons".
[IntegrationEvent(false, false)]
local procedure OnCompleteOnCaseSalespersonCommTypeOnBeforeCaseAllSalespersons(var KVSKBAComRate: Record "KVSKBAComRate"; var IsHandled: Boolean):
Parameters:
KVSKBAComRate: The commission rate record being completed.IsHandled: Set to true to skip the standard logic (TestField and Level of Detail assignment).
Remarks: Subscribe to this event to override or extend the behaviour when the salesperson commission type covers all salespersons. If IsHandled is set to true the default TestField("Salesperson Code", '') and level-of-detail assignment are bypassed.
OnCompleteOnCaseSalespersonCommTypeOnBeforeCaseSalesPerson(Record KVSKBAComRate, Boolean) :
Summary: Raised in Complete() before the standard handling for Salesperson Comm.-Type = "Salesperson" or "SecondSalesperson".
[IntegrationEvent(false, false)]
local procedure OnCompleteOnCaseSalespersonCommTypeOnBeforeCaseSalesPerson(var KVSKBAComRate: Record "KVSKBAComRate"; var IsHandled: Boolean):
Parameters:
KVSKBAComRate: The commission rate record being completed.IsHandled: Set to true to skip the standard logic (TestField and Level of Detail assignment).
Remarks: Subscribe to this event to override or extend the behaviour when the salesperson commission type is set to a specific salesperson or second salesperson. If IsHandled is set to true the default TestField("Salesperson Code") and level-of-detail assignment are bypassed.