Skip to content

KVSADVAdvTemplateMgt#

Procedures#

CreateTemplateByNotification(Notification) :#

procedure CreateTemplateByNotification(TemplateNotification: Notification): 

ApplyTemplateToAdvanceChain(Record KVSADVAdvanceChain, Record KVSADVAdvPlanTemplateHeader, Date) :#

procedure ApplyTemplateToAdvanceChain(AdvanceChain: Record "KVSADVAdvanceChain"; TemplateHeader: Record "KVSADVAdvPlanTemplateHeader"; EnforcedBaseDate: Date): 

CreateAdvancePlanningEntryFromTemplateLine(Record KVSADVAdvanceChain, Record KVSADVAdvPlanTemplateHeader, Record KVSADVAdvPlanTemplateLine, Date) :#

procedure CreateAdvancePlanningEntryFromTemplateLine(AdvanceChain: Record "KVSADVAdvanceChain"; TemplateHeader: Record "KVSADVAdvPlanTemplateHeader"; TemplateLine: Record "KVSADVAdvPlanTemplateLine"; EnforcedBaseDate: Date): 

Events#

OnFetchSupportedTableIDsForAdvancePlanTemplates(List) :#

[IntegrationEvent(false, false)]
local procedure OnFetchSupportedTableIDsForAdvancePlanTemplates(var SupportedTableIDs: List): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvTemplateMgt", 'OnFetchSupportedTableIDsForAdvancePlanTemplates', '', false, false)]
local procedure DoSomethingOnFetchSupportedTableIDsForAdvancePlanTemplates(var SupportedTableIDs: List)
begin
end;

OnBeforeCreateAdvancePlanningEntryFromTemplateLine(Record KVSADVAdvanceChain, Record KVSADVAdvPlanTemplateHeader, Record KVSADVAdvPlanTemplateLine, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCreateAdvancePlanningEntryFromTemplateLine(AdvanceChain: Record "KVSADVAdvanceChain"; TemplateHeader: Record "KVSADVAdvPlanTemplateHeader"; TemplateLine: Record "KVSADVAdvPlanTemplateLine"; Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvTemplateMgt", 'OnBeforeCreateAdvancePlanningEntryFromTemplateLine', '', false, false)]
local procedure DoSomethingOnBeforeCreateAdvancePlanningEntryFromTemplateLine(AdvanceChain: Record "KVSADVAdvanceChain"; TemplateHeader: Record "KVSADVAdvPlanTemplateHeader"; TemplateLine: Record "KVSADVAdvPlanTemplateLine"; Handled: Boolean)
begin
end;

OnAfterCreateAdvancePlanningEntryFromTemplateLineAfterModify(Record KVSADVAdvanceChain, Record KVSADVAdvPlanTemplateHeader, Record KVSADVAdvPlanTemplateLine, Record KVSADVAdvance Planning Entry) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCreateAdvancePlanningEntryFromTemplateLineAfterModify(AdvanceChain: Record "KVSADVAdvanceChain"; AdvPlanTemplateHeader: Record "KVSADVAdvPlanTemplateHeader"; AdvPlanTemplateLine: Record "KVSADVAdvPlanTemplateLine"; var AdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvTemplateMgt", 'OnAfterCreateAdvancePlanningEntryFromTemplateLineAfterModify', '', false, false)]
local procedure DoSomethingOnAfterCreateAdvancePlanningEntryFromTemplateLineAfterModify(AdvanceChain: Record "KVSADVAdvanceChain"; AdvPlanTemplateHeader: Record "KVSADVAdvPlanTemplateHeader"; AdvPlanTemplateLine: Record "KVSADVAdvPlanTemplateLine"; var AdvancePlanningEntry: Record "KVSADVAdvance Planning Entry")
begin
end;

OnBeforeFindMatchingAdvancePlanTemplateForAdvanceChain(Record KVSADVAdvanceChain, Record KVSADVAdvPlanTemplateHeader, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeFindMatchingAdvancePlanTemplateForAdvanceChain(AdvanceChain: Record "KVSADVAdvanceChain"; var TemplateHeader: Record "KVSADVAdvPlanTemplateHeader"; FindAllHeaders: Boolean; Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvTemplateMgt", 'OnBeforeFindMatchingAdvancePlanTemplateForAdvanceChain', '', false, false)]
local procedure DoSomethingOnBeforeFindMatchingAdvancePlanTemplateForAdvanceChain(AdvanceChain: Record "KVSADVAdvanceChain"; var TemplateHeader: Record "KVSADVAdvPlanTemplateHeader"; FindAllHeaders: Boolean; Handled: Boolean)
begin
end;

OnAfterFindMatchingAdvancePlanTemplateForAdvanceChain(Record KVSADVAdvanceChain, Record KVSADVAdvPlanTemplateHeader, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnAfterFindMatchingAdvancePlanTemplateForAdvanceChain(AdvanceChain: Record "KVSADVAdvanceChain"; var TemplateHeader: Record "KVSADVAdvPlanTemplateHeader"; FindAllHeaders: Boolean; var Result: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvTemplateMgt", 'OnAfterFindMatchingAdvancePlanTemplateForAdvanceChain', '', false, false)]
local procedure DoSomethingOnAfterFindMatchingAdvancePlanTemplateForAdvanceChain(AdvanceChain: Record "KVSADVAdvanceChain"; var TemplateHeader: Record "KVSADVAdvPlanTemplateHeader"; FindAllHeaders: Boolean; var Result: Boolean)
begin
end;

OnBeforeDoesAdvancePlanTemplateMatchAdvanceChain(Record KVSADVAdvPlanTemplateHeader, RecordRef, RecordRef, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeDoesAdvancePlanTemplateMatchAdvanceChain(TemplateHeader: Record "KVSADVAdvPlanTemplateHeader"; SourceAccountRecord: RecordRef; SourceDocumentRecord: RecordRef; var Handled: Boolean; var Result: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvTemplateMgt", 'OnBeforeDoesAdvancePlanTemplateMatchAdvanceChain', '', false, false)]
local procedure DoSomethingOnBeforeDoesAdvancePlanTemplateMatchAdvanceChain(TemplateHeader: Record "KVSADVAdvPlanTemplateHeader"; SourceAccountRecord: RecordRef; SourceDocumentRecord: RecordRef; var Handled: Boolean; var Result: Boolean)
begin
end;

OnAfterApplyTemplateToAdvanceChain(Record KVSADVAdvanceChain, Record KVSADVAdvPlanTemplateHeader) :#

[IntegrationEvent(false, false)]
local procedure OnAfterApplyTemplateToAdvanceChain(AdvanceChain: Record "KVSADVAdvanceChain"; TemplateHeader: Record "KVSADVAdvPlanTemplateHeader"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvTemplateMgt", 'OnAfterApplyTemplateToAdvanceChain', '', false, false)]
local procedure DoSomethingOnAfterApplyTemplateToAdvanceChain(AdvanceChain: Record "KVSADVAdvanceChain"; TemplateHeader: Record "KVSADVAdvPlanTemplateHeader")
begin
end;

OnBeforeApplyTemplateToAdvanceChain(Record KVSADVAdvanceChain, Record KVSADVAdvPlanTemplateHeader) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeApplyTemplateToAdvanceChain(AdvanceChain: Record "KVSADVAdvanceChain"; TemplateHeader: Record "KVSADVAdvPlanTemplateHeader"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvTemplateMgt", 'OnBeforeApplyTemplateToAdvanceChain', '', false, false)]
local procedure DoSomethingOnBeforeApplyTemplateToAdvanceChain(AdvanceChain: Record "KVSADVAdvanceChain"; TemplateHeader: Record "KVSADVAdvPlanTemplateHeader")
begin
end;

OnAfterManuallySelectAndApplyAdvancePlanTemplate(Record KVSADVAdvanceChain, Record KVSADVAdvPlanTemplateHeader) :#

[IntegrationEvent(false, false)]
local procedure OnAfterManuallySelectAndApplyAdvancePlanTemplate(AdvanceChain: Record "KVSADVAdvanceChain"; AdvTemplateHeader: Record "KVSADVAdvPlanTemplateHeader"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvTemplateMgt", 'OnAfterManuallySelectAndApplyAdvancePlanTemplate', '', false, false)]
local procedure DoSomethingOnAfterManuallySelectAndApplyAdvancePlanTemplate(AdvanceChain: Record "KVSADVAdvanceChain"; AdvTemplateHeader: Record "KVSADVAdvPlanTemplateHeader")
begin
end;

OnAfterCreateAdvancePlanningEntryFromTemplateLineBeforeModify(Record KVSADVAdvanceChain, Record KVSADVAdvPlanTemplateHeader, Record KVSADVAdvPlanTemplateLine, Record KVSADVAdvance Planning Entry) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCreateAdvancePlanningEntryFromTemplateLineBeforeModify(AdvanceChain: Record "KVSADVAdvanceChain"; AdvPlanTemplateHeader: Record "KVSADVAdvPlanTemplateHeader"; AdvPlanTemplateLine: Record "KVSADVAdvPlanTemplateLine"; var AdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvTemplateMgt", 'OnAfterCreateAdvancePlanningEntryFromTemplateLineBeforeModify', '', false, false)]
local procedure DoSomethingOnAfterCreateAdvancePlanningEntryFromTemplateLineBeforeModify(AdvanceChain: Record "KVSADVAdvanceChain"; AdvPlanTemplateHeader: Record "KVSADVAdvPlanTemplateHeader"; AdvPlanTemplateLine: Record "KVSADVAdvPlanTemplateLine"; var AdvancePlanningEntry: Record "KVSADVAdvance Planning Entry")
begin
end;