KVSKBACommissionJournalLine#
Fields#
| Name | Type | Note | 
|---|---|---|
| Journal Template Name | Code[10] | |
| Line No. | Integer | |
| Salesperson Code | Code[20] | |
| Posting Date | Date | |
| Document Type | Option | OptionMembers: Invoice (Sales),Credit Memo (Sales) | 
| Document No. | Code[20] | |
| Document Line No. | Integer | |
| Document Date | Date | |
| Posting Description | Text[100] | |
| Currency Code | Code[10] | |
| Currency Factor | Decimal | |
| Commission % | Decimal | |
| Commission Base Amount (LCY) | Decimal | |
| Commission Amount (LCY) | Decimal | |
| Recurring Method | Option | OptionMembers: ,Fix,Variabel | 
| Expiration Date | Date | |
| Recurring Frequency | Code[20] | |
| Type | Enum Sales Line Type | |
| No. | Code[20] | |
| Customer No. | Code[20] | |
| Customer Commission Group | Code[10] | |
| Product Commission Group | Code[10] | |
| Shortcut Dimension 1 Code | Code[20] | |
| Shortcut Dimension 2 Code | Code[20] | |
| Journal Batch Name | Code[10] | |
| Reason Code | Code[10] | |
| Source Code | Code[10] | |
| Gen. Bus. Posting Group | Code[20] | |
| Gen. Prod. Posting Group | Code[20] | |
| Correction | Boolean | |
| Correction Entry No. | Integer | |
| Commission Base | Option | OptionMembers: ,Amount excl. VAT,Profit,Adj. Profit,Amount incl. VAT | 
| Doc.-Line Amt. Inc. VAT (LCY) | Decimal | |
| Doc.-Line Amt. (LCY) | Decimal | |
| Doc.-Line Cost (LCY) | Decimal | |
| Doc.-Line Adj. Cost (LCY) | Decimal | |
| Doc.-Line Profit (LCY) | Decimal | |
| Doc.-Line Adj. Profit (LCY) | Decimal | |
| Calculation For | Option | OptionMembers: Salesperson,2. Salesperson | 
| Count of valid Comm.-Rates | Integer | |
| Responsibility Center | Code[10] | |
| Dimension Set ID | Integer | 
Events#
OnAfterValidateShortcutDimCode(Record KVSKBACommissionJournalLine, Record KVSKBACommissionJournalLine, Integer, Code[20]) :#
[IntegrationEvent(false, false)]
local procedure OnAfterValidateShortcutDimCode(var KVSKBACommissionJournalLine: Record "KVSKBACommissionJournalLine"; var xKVSKBACommissionJournalLine: Record "KVSKBACommissionJournalLine"; FieldNumber: Integer; var ShortcutDimCode: Code[20]): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBACommissionJournalLine", 'OnAfterValidateShortcutDimCode', '', false, false)]
local procedure DoSomethingOnAfterValidateShortcutDimCode(var KVSKBACommissionJournalLine: Record "KVSKBACommissionJournalLine"; var xKVSKBACommissionJournalLine: Record "KVSKBACommissionJournalLine"; FieldNumber: Integer; var ShortcutDimCode: Code[20])
begin
end;
OnBeforeValidateShortcutDimCode(Record KVSKBACommissionJournalLine, Record KVSKBACommissionJournalLine, Integer, Code[20]) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeValidateShortcutDimCode(var KVSKBACommissionJournalLine: Record "KVSKBACommissionJournalLine"; var xKVSKBACommissionJournalLine: Record "KVSKBACommissionJournalLine"; FieldNumber: Integer; var ShortcutDimCode: Code[20]): 
[EventSubscriber(ObjectType::Table, Table::"KVSKBACommissionJournalLine", 'OnBeforeValidateShortcutDimCode', '', false, false)]
local procedure DoSomethingOnBeforeValidateShortcutDimCode(var KVSKBACommissionJournalLine: Record "KVSKBACommissionJournalLine"; var xKVSKBACommissionJournalLine: Record "KVSKBACommissionJournalLine"; FieldNumber: Integer; var ShortcutDimCode: Code[20])
begin
end;