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] | |
| 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):
[EventSubscriber(ObjectType::Table, Table::"KVSADVAdvance Planning Entry", 'OnBeforeCalcWarningText', '', false, false)]
local procedure DoSomethingOnBeforeCalcWarningText(AdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var WarningText: Text; var IsHandled: Boolean)
begin
end;
OnAfterCalcPlanningSum(Record KVSADVAdvance Planning Entry, Decimal) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCalcPlanningSum(var AdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var PlanningSum: Decimal):
[EventSubscriber(ObjectType::Table, Table::"KVSADVAdvance Planning Entry", 'OnAfterCalcPlanningSum', '', false, false)]
local procedure DoSomethingOnAfterCalcPlanningSum(var AdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var PlanningSum: Decimal)
begin
end;
OnAfterGetSourceInfoFromAdvanceChain(Record KVSADVAdvanceChain, Record KVSADVAdvance Planning Entry) :#
[IntegrationEvent(false, false)]
local procedure OnAfterGetSourceInfoFromAdvanceChain(ParentAdvanceChain: Record "KVSADVAdvanceChain"; var Rec: Record "KVSADVAdvance Planning Entry"):
[EventSubscriber(ObjectType::Table, Table::"KVSADVAdvance Planning Entry", 'OnAfterGetSourceInfoFromAdvanceChain', '', false, false)]
local procedure DoSomethingOnAfterGetSourceInfoFromAdvanceChain(ParentAdvanceChain: Record "KVSADVAdvanceChain"; var Rec: Record "KVSADVAdvance Planning Entry")
begin
end;
OnAfterCreateDim(Record KVSADVAdvance Planning Entry, Integer, List) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCreateDim(var Rec: Record "KVSADVAdvance Planning Entry"; CurrFieldNo: Integer; DefaultDimSource: List):
[EventSubscriber(ObjectType::Table, Table::"KVSADVAdvance Planning Entry", 'OnAfterCreateDim', '', false, false)]
local procedure DoSomethingOnAfterCreateDim(var Rec: Record "KVSADVAdvance Planning Entry"; CurrFieldNo: Integer; DefaultDimSource: List)
begin
end;
OnAfterInitDefaultDimensionSources(Record KVSADVAdvance Planning Entry, List) :#
[IntegrationEvent(false, false)]
local procedure OnAfterInitDefaultDimensionSources(Rec: Record "KVSADVAdvance Planning Entry"; var DefaultDimSource: List):
[EventSubscriber(ObjectType::Table, Table::"KVSADVAdvance Planning Entry", 'OnAfterInitDefaultDimensionSources', '', false, false)]
local procedure DoSomethingOnAfterInitDefaultDimensionSources(Rec: Record "KVSADVAdvance Planning Entry"; var DefaultDimSource: List)
begin
end;
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):
[EventSubscriber(ObjectType::Table, Table::"KVSADVAdvance Planning Entry", 'OnBeforeTestFieldAdvanceInvoiceNo', '', false, false)]
local procedure DoSomethingOnBeforeTestFieldAdvanceInvoiceNo(var KVSADVAdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; xKVSADVAdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var IsHandled: Boolean; CurrentFieldNo: Integer)
begin
end;
OnBeforeCheckDeleteAllowed(Record KVSADVAdvance Planning Entry, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckDeleteAllowed(KVSADVAdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSADVAdvance Planning Entry", 'OnBeforeCheckDeleteAllowed', '', false, false)]
local procedure DoSomethingOnBeforeCheckDeleteAllowed(KVSADVAdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var IsHandled: Boolean)
begin
end;
OnBeforeCheckOtherLinemustDelete(Record KVSADVAdvance Planning Entry, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckOtherLinemustDelete(KVSADVAdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSADVAdvance Planning Entry", 'OnBeforeCheckOtherLinemustDelete', '', false, false)]
local procedure DoSomethingOnBeforeCheckOtherLinemustDelete(KVSADVAdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var IsHandled: Boolean)
begin
end;
OnBeforeCheckDates(Record KVSADVAdvance Planning Entry, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckDates(KVSADVAdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSADVAdvance Planning Entry", 'OnBeforeCheckDates', '', false, false)]
local procedure DoSomethingOnBeforeCheckDates(KVSADVAdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var IsHandled: Boolean)
begin
end;
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):
[EventSubscriber(ObjectType::Table, Table::"KVSADVAdvance Planning Entry", 'OnBeforeGetNonDeductibleVATPercent', '', false, false)]
local procedure DoSomethingOnBeforeGetNonDeductibleVATPercent(var AdvanceChain: Record "KVSADVAdvanceChain"; var AdvPlanLine: Record "KVSADVAdvance Planning Entry"; var NonDeductibleVATPercent: Decimal; var IsHandled: Boolean)
begin
end;