KVSADVAdvance Planning Entry
Fields
| Name | Type | Note |
|---|---|---|
| Advance Chain Entry No. | Integer | |
| Entry No. | Integer | |
| Planing Type | Enum (KVSADVAdvancePlanningType) | |
| Date of Invoice | Date | |
| Adv.Amount | Decimal | |
| Percent of Amount | Decimal | |
| Adv.Amount (LCY) | Decimal | |
| Cr. Memo Adv.Amount | Decimal | |
| Cr. Memo Adv.Amount (LCY) | Decimal | |
| Payment Terms Code | Code[10] | |
| Description | Text[100] | |
| Description 2 | Text[50] | |
| Job No. | Code[20] | |
| Job Task No. | Code[20] | |
| Dimension Set ID | Integer | |
| Shortcut Dimension 1 Code | Code[20] | |
| Shortcut Dimension 2 Code | Code[20] | |
| Person Responsible | Code[20] | |
| VAT Prod. Posting Group | Code[20] | |
| Advance Invoice No. | Code[20] | |
| Payment Method Code | Code[10] | |
| Sales Line Type for Clos. Inv. | Enum Sales Line Type | |
| Sales Line No. for Clos. Inv. | Code[20] | |
| Purch.Line Type for Clos. Inv. | Enum Purchase Line Type | |
| Purch. Line No. for Clos. Inv. | Code[20] | |
| Source Line No. | Integer | |
| Released for Invoicing | Boolean | |
| Released by | Code[50] | |
| Released at | Date | |
| Cum. Adv.Amount | Decimal | |
| Cum. Percent of Amount | Decimal | |
| Cum. Adv.Amount (LCY) | Decimal | |
| Source Account Type | Enum (KVSADVSourceAccountType) | |
| Source Account No. | Code[20] | |
| Source Table ID | Integer | |
| Advance Chain Description | Text[100] | FlowField |
Procedures
GetParentAdvanceChain(Record KVSADVAdvanceChain) :
procedure GetParentAdvanceChain(var AdvanceChain: Record "KVSADVAdvanceChain"):
GetParentAdvanceChain(Record KVSADVAdvanceChain, Boolean) :
procedure GetParentAdvanceChain(var AdvanceChain: Record "KVSADVAdvanceChain"; var IsCumInvoicePlanningEnabled: Boolean):
GetBaseAmount() : Decimal
procedure GetBaseAmount(): Decimal
CreateDim() :
procedure CreateDim():
CreateDim(List) :
procedure CreateDim(DefaultDimSource: List):
ValidateShortcutDimCode(Integer, Code[20]) :
procedure ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20]):
CheckPlanningSum() :
procedure CheckPlanningSum():
GetSourceInfoFromAdvanceChain() :
procedure GetSourceInfoFromAdvanceChain():
ShowDimensions() :
procedure ShowDimensions():
ShowComments() :
procedure ShowComments():
GetUnpostedInvoiceNo() : Code[20]
procedure GetUnpostedInvoiceNo(): Code[20]
LookupUnpostedInvoiceNo() :
procedure LookupUnpostedInvoiceNo():
ShowDocument() :
procedure ShowDocument():
CalcWarningText() : Text
procedure CalcWarningText(): Text
GetSourceAccountName() : Text[100]
procedure GetSourceAccountName(): Text[100]
Events
OnBeforeCalcWarningText(Record KVSADVAdvance Planning Entry, Text, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeCalcWarningText(AdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var WarningText: Text; var IsHandled: Boolean):
OnAfterCalcPlanningSum(Record KVSADVAdvance Planning Entry, Decimal) :
[IntegrationEvent(false, false)]
local procedure OnAfterCalcPlanningSum(var AdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var PlanningSum: Decimal):
OnAfterGetSourceInfoFromAdvanceChain(Record KVSADVAdvanceChain, Record KVSADVAdvance Planning Entry) :
[IntegrationEvent(false, false)]
local procedure OnAfterGetSourceInfoFromAdvanceChain(ParentAdvanceChain: Record "KVSADVAdvanceChain"; var Rec: Record "KVSADVAdvance Planning Entry"):
OnAfterCreateDim(Record KVSADVAdvance Planning Entry, Integer, List) :
[IntegrationEvent(false, false)]
local procedure OnAfterCreateDim(var Rec: Record "KVSADVAdvance Planning Entry"; CurrFieldNo: Integer; DefaultDimSource: List):
OnAfterInitDefaultDimensionSources(Record KVSADVAdvance Planning Entry, List) :
[IntegrationEvent(false, false)]
local procedure OnAfterInitDefaultDimensionSources(Rec: Record "KVSADVAdvance Planning Entry"; var DefaultDimSource: List):
OnBeforeTestFieldAdvanceInvoiceNo(Record KVSADVAdvance Planning Entry, Record KVSADVAdvance Planning Entry, Boolean, Integer) :
[IntegrationEvent(false, false)]
local procedure OnBeforeTestFieldAdvanceInvoiceNo(var KVSADVAdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; xKVSADVAdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var IsHandled: Boolean; CurrentFieldNo: Integer):
OnBeforeCheckDeleteAllowed(Record KVSADVAdvance Planning Entry, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckDeleteAllowed(KVSADVAdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var IsHandled: Boolean):
OnBeforeCheckOtherLinemustDelete(Record KVSADVAdvance Planning Entry, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckOtherLinemustDelete(KVSADVAdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var IsHandled: Boolean):
OnBeforeCheckDates(Record KVSADVAdvance Planning Entry, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckDates(KVSADVAdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var IsHandled: Boolean):
OnBeforeGetNonDeductibleVATPercent(Record KVSADVAdvanceChain, Record KVSADVAdvance Planning Entry, Decimal, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeGetNonDeductibleVATPercent(var AdvanceChain: Record "KVSADVAdvanceChain"; var AdvPlanLine: Record "KVSADVAdvance Planning Entry"; var NonDeductibleVATPercent: Decimal; var IsHandled: Boolean):