KVSADVJobAdvanceChainsSales#
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 Job, Record Customer) :#
[IntegrationEvent(false, false)]
local procedure OnAfterFillAdvanceChainFieldsFromSourceAccount(var AdvanceChain: Record "KVSADVAdvanceChain"; Job: Record "Job"; Customer: Record "Customer"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobAdvanceChainsSales", 'OnAfterFillAdvanceChainFieldsFromSourceAccount', '', false, false)]
local procedure DoSomethingOnAfterFillAdvanceChainFieldsFromSourceAccount(var AdvanceChain: Record "KVSADVAdvanceChain"; Job: Record "Job"; Customer: Record "Customer")
begin
end;
OnAfterFillAdvanceChainFieldsFromSourceDocument(Record KVSADVAdvanceChain, Record Job) :#
[IntegrationEvent(false, false)]
local procedure OnAfterFillAdvanceChainFieldsFromSourceDocument(var AdvanceChain: Record "KVSADVAdvanceChain"; Job: Record "Job"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobAdvanceChainsSales", 'OnAfterFillAdvanceChainFieldsFromSourceDocument', '', false, false)]
local procedure DoSomethingOnAfterFillAdvanceChainFieldsFromSourceDocument(var AdvanceChain: Record "KVSADVAdvanceChain"; Job: Record "Job")
begin
end;
OnAfterCalcBaseAmount(Record KVSADVAdvanceChain, Record Job, Record Job Planning Line) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCalcBaseAmount(AdvanceChain: Record "KVSADVAdvanceChain"; Job: Record "Job"; var JobPlanningLine: Record "Job Planning Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobAdvanceChainsSales", 'OnAfterCalcBaseAmount', '', false, false)]
local procedure DoSomethingOnAfterCalcBaseAmount(AdvanceChain: Record "KVSADVAdvanceChain"; Job: Record "Job"; var JobPlanningLine: Record "Job Planning Line")
begin
end;
OnAfterCheckMandatoryFieldsForAdvanceChainSupportAreFilled(Record Job, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCheckMandatoryFieldsForAdvanceChainSupportAreFilled(Job: Record "Job"; var Result: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobAdvanceChainsSales", 'OnAfterCheckMandatoryFieldsForAdvanceChainSupportAreFilled', '', false, false)]
local procedure DoSomethingOnAfterCheckMandatoryFieldsForAdvanceChainSupportAreFilled(Job: Record "Job"; var Result: Boolean)
begin
end;
OnBeforeIsClosingInvoiceCreationFromAdvancePlanSupported(Record KVSADVAdvanceChain, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeIsClosingInvoiceCreationFromAdvancePlanSupported(AdvanceChain: Record "KVSADVAdvanceChain"; var Result: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobAdvanceChainsSales", 'OnBeforeIsClosingInvoiceCreationFromAdvancePlanSupported', '', false, false)]
local procedure DoSomethingOnBeforeIsClosingInvoiceCreationFromAdvancePlanSupported(AdvanceChain: Record "KVSADVAdvanceChain"; var Result: Boolean; var IsHandled: Boolean)
begin
end;