KVSADVSalesOrderLineAdvChain#
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"):
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 Sales Line, Record Customer) :#
[IntegrationEvent(false, false)]
local procedure OnAfterFillAdvanceChainFieldsFromSourceAccount(var AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Sales Header"; DocumentLine: Record "Sales Line"; Customer: Record "Customer"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVSalesOrderLineAdvChain", 'OnAfterFillAdvanceChainFieldsFromSourceAccount', '', false, false)]
local procedure DoSomethingOnAfterFillAdvanceChainFieldsFromSourceAccount(var AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Sales Header"; DocumentLine: Record "Sales Line"; Customer: Record "Customer")
begin
end;
OnAfterFillAdvanceChainFieldsFromSourceDocument(Record KVSADVAdvanceChain, Record Sales Header, Record Sales Line) :#
[IntegrationEvent(false, false)]
local procedure OnAfterFillAdvanceChainFieldsFromSourceDocument(var AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Sales Header"; DocumentLine: Record "Sales Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVSalesOrderLineAdvChain", 'OnAfterFillAdvanceChainFieldsFromSourceDocument', '', false, false)]
local procedure DoSomethingOnAfterFillAdvanceChainFieldsFromSourceDocument(var AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Sales Header"; DocumentLine: Record "Sales Line")
begin
end;
OnAfterCalcBaseAmount(Record KVSADVAdvanceChain, Record Sales Header, Record Sales Line, Decimal) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCalcBaseAmount(AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Sales Header"; DocumentLine: Record "Sales Line"; var Amount: Decimal):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVSalesOrderLineAdvChain", 'OnAfterCalcBaseAmount', '', false, false)]
local procedure DoSomethingOnAfterCalcBaseAmount(AdvanceChain: Record "KVSADVAdvanceChain"; DocumentHeader: Record "Sales Header"; DocumentLine: Record "Sales Line"; var Amount: Decimal)
begin
end;
OnAfterCheckMandatoryFieldsForAdvanceChainSupportAreFilled(Record Sales Header, Record Sales Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCheckMandatoryFieldsForAdvanceChainSupportAreFilled(DocumentHeader: Record "Sales Header"; DocumentLine: Record "Sales Line"; var Result: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVSalesOrderLineAdvChain", 'OnAfterCheckMandatoryFieldsForAdvanceChainSupportAreFilled', '', false, false)]
local procedure DoSomethingOnAfterCheckMandatoryFieldsForAdvanceChainSupportAreFilled(DocumentHeader: Record "Sales Header"; DocumentLine: Record "Sales Line"; var Result: Boolean)
begin
end;