Skip to content

KVSADVPurchOrderLineAdvChain#

Implements KVSADViAdvanceChainInterface, KVSADViAdvanceChainInterfaceClosInvoiceFromAdvPlan, KVSADViAdvanceChainCreatePlanningEntriesByLines, KVSADViApplyAdvancePlanTemplate, KVSADViAdvChNonDedVATPercent.

Procedures#

FillAdvanceChainFieldsFromSourceAccount(Record KVSADVAdvanceChain) :#

procedure FillAdvanceChainFieldsFromSourceAccount(var AdvanceChain: Record "KVSADVAdvanceChain"): 

FillAdvanceChainFieldsFromSourceDocument(Record KVSADVAdvanceChain) :#

procedure FillAdvanceChainFieldsFromSourceDocument(var AdvanceChain: Record "KVSADVAdvanceChain"): 

GetBaseAmount(Record KVSADVAdvanceChain) : Decimal#

procedure GetBaseAmount(AdvanceChain: Record "KVSADVAdvanceChain"): Decimal

GetNonDeductibleVATPercent(Record KVSADVAdvanceChain) : Decimal#

procedure GetNonDeductibleVATPercent(AdvanceChain: Record "KVSADVAdvanceChain"): Decimal

GetNonDeductibleVATPercentForSourceDocumentLine(Record KVSADVAdvanceChain, Record KVSADVAdvance Planning Entry) : Decimal#

procedure GetNonDeductibleVATPercentForSourceDocumentLine(AdvanceChain: Record "KVSADVAdvanceChain"; AdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"): Decimal

IsJobNoEditableInAdvPlanningEntries(Record KVSADVAdvanceChain) : Boolean#

procedure IsJobNoEditableInAdvPlanningEntries(AdvanceChain: Record "KVSADVAdvanceChain"): Boolean

IsJobTaskNoEditableInAdvPlanningEntries(Record KVSADVAdvanceChain) : Boolean#

procedure IsJobTaskNoEditableInAdvPlanningEntries(AdvanceChain: Record "KVSADVAdvanceChain"): Boolean

GetFieldNoOfAdvanceChainEntryNo() : Integer#

procedure GetFieldNoOfAdvanceChainEntryNo(): Integer

CheckMandatoryFieldsForAdvanceChainSupportAreFilled(RecordRef) : Boolean#

procedure CheckMandatoryFieldsForAdvanceChainSupportAreFilled(RecRef: RecordRef): Boolean

ShowSourceDocument(Record KVSADVAdvanceChain) :#

procedure ShowSourceDocument(AdvanceChain: Record "KVSADVAdvanceChain"): 

ClearAdvanceChainNoInSourceDocument(Record KVSADVAdvanceChain) :#

procedure ClearAdvanceChainNoInSourceDocument(AdvanceChain: Record "KVSADVAdvanceChain"): 

IsClosingInvoiceCreationFromAdvancePlanSupported(Record KVSADVAdvanceChain) : Boolean#

procedure IsClosingInvoiceCreationFromAdvancePlanSupported(AdvanceChain: Record "KVSADVAdvanceChain"): Boolean

IsDocumentLineTypeAndNoForClosingInvoiceManuallyAssignableInAdvancePlan(Record KVSADVAdvanceChain) : Boolean#

procedure IsDocumentLineTypeAndNoForClosingInvoiceManuallyAssignableInAdvancePlan(AdvanceChain: Record "KVSADVAdvanceChain"): Boolean

CreateClosingInvoiceFromAdvancePlan(Record KVSADVAdvanceChain, Record KVSADVAdvance Planning Entry) :#

procedure CreateClosingInvoiceFromAdvancePlan(AdvanceChain: Record "KVSADVAdvanceChain"; var SelectedAdvPlanningEntries: Record "KVSADVAdvance Planning Entry"): 

IsCreatePlanningEntriesByLinesSupported(Record KVSADVAdvanceChain) : Boolean#

procedure IsCreatePlanningEntriesByLinesSupported(AdvanceChain: Record "KVSADVAdvanceChain"): Boolean

CreatePlanningEntriesByLines(Record KVSADVAdvanceChain) :#

procedure CreatePlanningEntriesByLines(AdvanceChain: Record "KVSADVAdvanceChain"): 

GetBaseAmountForSourceDocumentLine(Record KVSADVAdvanceChain, Record KVSADVAdvance Planning Entry) : Decimal#

procedure GetBaseAmountForSourceDocumentLine(AdvanceChain: Record "KVSADVAdvanceChain"; AdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"): Decimal

IsUseQuantityShareInAdvanceInvoiceSupported(Record KVSADVAdvanceChain) : Boolean#

procedure IsUseQuantityShareInAdvanceInvoiceSupported(AdvanceChain: Record "KVSADVAdvanceChain"): Boolean

GetBaseQuantityFromAdvancePlanningEntry(Record KVSADVAdvanceChain, Record KVSADVAdvance Planning Entry) : Decimal#

procedure GetBaseQuantityFromAdvancePlanningEntry(AdvanceChain: Record "KVSADVAdvanceChain"; AdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"): Decimal

IsAdvancePlanTemplateSupported(Record KVSADVAdvanceChain) : Boolean#

procedure IsAdvancePlanTemplateSupported(AdvanceChain: Record "KVSADVAdvanceChain"): Boolean

IsAutomaticAdvancePlanTemplateApplicationSupported(Record KVSADVAdvanceChain) : Boolean#

procedure IsAutomaticAdvancePlanTemplateApplicationSupported(AdvanceChain: Record "KVSADVAdvanceChain"): Boolean

GetBaseDateForAdvancePlanTemplate(Record KVSADVAdvanceChain) : Date#

procedure GetBaseDateForAdvancePlanTemplate(AdvanceChain: Record "KVSADVAdvanceChain"): Date

Events#

OnAfterFillAdvanceChainFieldsFromSourceAccount(Record KVSADVAdvanceChain, Record Purchase Header, Record Purchase Line, Record Vendor) :#

[IntegrationEvent(false, false)]
local procedure OnAfterFillAdvanceChainFieldsFromSourceAccount(var AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Purchase Header"; DocumentLine: Record "Purchase Line"; CVAccount: Record "Vendor"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVPurchOrderLineAdvChain", 'OnAfterFillAdvanceChainFieldsFromSourceAccount', '', false, false)]
local procedure DoSomethingOnAfterFillAdvanceChainFieldsFromSourceAccount(var AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Purchase Header"; DocumentLine: Record "Purchase Line"; CVAccount: Record "Vendor")
begin
end;

OnAfterFillAdvanceChainFieldsFromSourceDocument(Record KVSADVAdvanceChain, Record Purchase Header, Record Purchase Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterFillAdvanceChainFieldsFromSourceDocument(var AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Purchase Header"; DocumentLine: Record "Purchase Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVPurchOrderLineAdvChain", 'OnAfterFillAdvanceChainFieldsFromSourceDocument', '', false, false)]
local procedure DoSomethingOnAfterFillAdvanceChainFieldsFromSourceDocument(var AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Purchase Header"; DocumentLine: Record "Purchase Line")
begin
end;

OnAfterCalcBaseAmount(Record KVSADVAdvanceChain, Record Purchase Header, Record Purchase Line, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCalcBaseAmount(AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Purchase Header"; DocumentLine: Record "Purchase Line"; var Amount: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVPurchOrderLineAdvChain", 'OnAfterCalcBaseAmount', '', false, false)]
local procedure DoSomethingOnAfterCalcBaseAmount(AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Purchase Header"; DocumentLine: Record "Purchase Line"; var Amount: Decimal)
begin
end;

OnAfterCheckMandatoryFieldsForAdvanceChainSupportAreFilled(Record Purchase Header, Record Purchase Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCheckMandatoryFieldsForAdvanceChainSupportAreFilled(DocumentHeader: Record "Purchase Header"; DocumentLine: Record "Purchase Line"; var Result: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVPurchOrderLineAdvChain", 'OnAfterCheckMandatoryFieldsForAdvanceChainSupportAreFilled', '', false, false)]
local procedure DoSomethingOnAfterCheckMandatoryFieldsForAdvanceChainSupportAreFilled(DocumentHeader: Record "Purchase Header"; DocumentLine: Record "Purchase Line"; var Result: Boolean)
begin
end;

OnAfterGetNonDeductibleVATPercent(Record Purchase Header, Record Purchase Line, Record KVSADVAdvanceChain, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetNonDeductibleVATPercent(DocumentHeader: Record "Purchase Header"; DocumentLine: Record "Purchase Line"; AdvanceChain: Record "KVSADVAdvanceChain"; var NonDeductibleVATPercent: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVPurchOrderLineAdvChain", 'OnAfterGetNonDeductibleVATPercent', '', false, false)]
local procedure DoSomethingOnAfterGetNonDeductibleVATPercent(DocumentHeader: Record "Purchase Header"; DocumentLine: Record "Purchase Line"; AdvanceChain: Record "KVSADVAdvanceChain"; var NonDeductibleVATPercent: Decimal)
begin
end;