Skip to content

KVSADVSalesOrderAdvanceChain#

Implements KVSADViAdvanceChainInterface, KVSADViAdvanceChainInterfaceClosInvoiceFromAdvPlan, KVSADViAdvanceChainCreatePlanningEntriesByLines, KVSADViApplyAdvancePlanTemplate.

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

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"): 

CreatePlanningEntryByTemporaryDocumentLine(Record KVSADVAdvanceChain, Record KVSADVAdvance Planning Entry, Record Sales Line, Integer) :#

procedure CreatePlanningEntryByTemporaryDocumentLine(AdvanceChain: Record "KVSADVAdvanceChain"; AdvancePlanningEntryTemplate: Record "KVSADVAdvance Planning Entry"; var TempDocumentLines: Record "Sales Line"; var NextEntryNo: Integer): 

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 Sales Header, Record Customer) :#

[IntegrationEvent(false, false)]
local procedure OnAfterFillAdvanceChainFieldsFromSourceAccount(var AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Sales Header"; Customer: Record "Customer"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVSalesOrderAdvanceChain", 'OnAfterFillAdvanceChainFieldsFromSourceAccount', '', false, false)]
local procedure DoSomethingOnAfterFillAdvanceChainFieldsFromSourceAccount(var AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Sales Header"; Customer: Record "Customer")
begin
end;

OnAfterCalcBaseAmount(Record KVSADVAdvanceChain, Record Sales Header, Record Sales Line, Record Sales Header Archive, Record Sales Line Archive, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCalcBaseAmount(AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Sales Header"; var TempDocumentLine: Record "Sales Line" temporary; DocHeaderArchive: Record "Sales Header Archive"; DocLineArchive: Record "Sales Line Archive"; var Amount: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVSalesOrderAdvanceChain", 'OnAfterCalcBaseAmount', '', false, false)]
local procedure DoSomethingOnAfterCalcBaseAmount(AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Sales Header"; var TempDocumentLine: Record "Sales Line" temporary; DocHeaderArchive: Record "Sales Header Archive"; DocLineArchive: Record "Sales Line Archive"; var Amount: Decimal)
begin
end;

OnAfterCheckMandatoryFieldsForAdvanceChainSupportAreFilled(Record Sales Header, Boolean) :#

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

OnAfterCreatePlanningEntryByTemporaryDocumentLine(Record KVSADVAdvanceChain, Record KVSADVAdvance Planning Entry, Record Sales Line, Record KVSADVAdvance Planning Entry) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCreatePlanningEntryByTemporaryDocumentLine(AdvanceChain: Record "KVSADVAdvanceChain"; AdvancePlanningEntryTemplate: Record "KVSADVAdvance Planning Entry"; var TempDocumentLines: Record "Sales Line" temporary; var AdvancePlanningEntries: Record "KVSADVAdvance Planning Entry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVSalesOrderAdvanceChain", 'OnAfterCreatePlanningEntryByTemporaryDocumentLine', '', false, false)]
local procedure DoSomethingOnAfterCreatePlanningEntryByTemporaryDocumentLine(AdvanceChain: Record "KVSADVAdvanceChain"; AdvancePlanningEntryTemplate: Record "KVSADVAdvance Planning Entry"; var TempDocumentLines: Record "Sales Line" temporary; var AdvancePlanningEntries: Record "KVSADVAdvance Planning Entry")
begin
end;

OnGetGetBaseAmountAfterFilterTempDocumentLines(Record KVSADVAdvanceChain, Record Sales Header, Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnGetGetBaseAmountAfterFilterTempDocumentLines(AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Sales Header"; var TempDocumentLine: Record "Sales Line" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVSalesOrderAdvanceChain", 'OnGetGetBaseAmountAfterFilterTempDocumentLines', '', false, false)]
local procedure DoSomethingOnGetGetBaseAmountAfterFilterTempDocumentLines(AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Sales Header"; var TempDocumentLine: Record "Sales Line" temporary)
begin
end;

OnGetGetBaseAmountAfterFilterDocumentLineArchive(Record KVSADVAdvanceChain, Record Sales Header Archive, Record Sales Line Archive) :#

[IntegrationEvent(false, false)]
local procedure OnGetGetBaseAmountAfterFilterDocumentLineArchive(AdvanceChain: Record "KVSADVAdvanceChain"; DocHeaderArchive: Record "Sales Header Archive"; var DocLineArchive: Record "Sales Line Archive"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVSalesOrderAdvanceChain", 'OnGetGetBaseAmountAfterFilterDocumentLineArchive', '', false, false)]
local procedure DoSomethingOnGetGetBaseAmountAfterFilterDocumentLineArchive(AdvanceChain: Record "KVSADVAdvanceChain"; DocHeaderArchive: Record "Sales Header Archive"; var DocLineArchive: Record "Sales Line Archive")
begin
end;

OnBeforeIsCreatePlanningEntriesByLinesSupported(Record KVSADVAdvanceChain, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeIsCreatePlanningEntriesByLinesSupported(AdvanceChain: Record "KVSADVAdvanceChain"; var Returnvalue: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVSalesOrderAdvanceChain", 'OnBeforeIsCreatePlanningEntriesByLinesSupported', '', false, false)]
local procedure DoSomethingOnBeforeIsCreatePlanningEntriesByLinesSupported(AdvanceChain: Record "KVSADVAdvanceChain"; var Returnvalue: Boolean; var IsHandled: Boolean)
begin
end;