Skip to content

KVSADVJobTaskAdvChainsSales#

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 Job Task, Record Customer) :#

[IntegrationEvent(false, false)]
local procedure OnAfterFillAdvanceChainFieldsFromSourceAccount(var AdvanceChain: Record "KVSADVAdvanceChain"; Job: Record "Job"; JobTask: Record "Job Task"; Customer: Record "Customer"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobTaskAdvChainsSales", 'OnAfterFillAdvanceChainFieldsFromSourceAccount', '', false, false)]
local procedure DoSomethingOnAfterFillAdvanceChainFieldsFromSourceAccount(var AdvanceChain: Record "KVSADVAdvanceChain"; Job: Record "Job"; JobTask: Record "Job Task"; Customer: Record "Customer")
begin
end;

OnAfterFillAdvanceChainFieldsFromSourceDocument(Record KVSADVAdvanceChain, Record Job, Record Job Task) :#

[IntegrationEvent(false, false)]
local procedure OnAfterFillAdvanceChainFieldsFromSourceDocument(var AdvanceChain: Record "KVSADVAdvanceChain"; Job: Record "Job"; JobTask: Record "Job Task"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobTaskAdvChainsSales", 'OnAfterFillAdvanceChainFieldsFromSourceDocument', '', false, false)]
local procedure DoSomethingOnAfterFillAdvanceChainFieldsFromSourceDocument(var AdvanceChain: Record "KVSADVAdvanceChain"; Job: Record "Job"; JobTask: Record "Job Task")
begin
end;

OnAfterCalcBaseAmount(Record KVSADVAdvanceChain, Record Job Task) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCalcBaseAmount(AdvanceChain: Record "KVSADVAdvanceChain"; var JobTask: Record "Job Task"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobTaskAdvChainsSales", 'OnAfterCalcBaseAmount', '', false, false)]
local procedure DoSomethingOnAfterCalcBaseAmount(AdvanceChain: Record "KVSADVAdvanceChain"; var JobTask: Record "Job Task")
begin
end;

OnAfterCheckMandatoryFieldsForAdvanceChainSupportAreFilled(Record Job, Record Job Task, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCheckMandatoryFieldsForAdvanceChainSupportAreFilled(Job: Record "Job"; JobTask: Record "Job Task"; var Result: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobTaskAdvChainsSales", 'OnAfterCheckMandatoryFieldsForAdvanceChainSupportAreFilled', '', false, false)]
local procedure DoSomethingOnAfterCheckMandatoryFieldsForAdvanceChainSupportAreFilled(Job: Record "Job"; JobTask: Record "Job Task"; 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::"KVSADVJobTaskAdvChainsSales", 'OnBeforeIsClosingInvoiceCreationFromAdvancePlanSupported', '', false, false)]
local procedure DoSomethingOnBeforeIsClosingInvoiceCreationFromAdvancePlanSupported(AdvanceChain: Record "KVSADVAdvanceChain"; var Result: Boolean; var IsHandled: Boolean)
begin
end;