Codeunit 8612 Config. Template Management

Base Application, System.IO

Source AL, 677 lines

src/Layers/W1/BaseApp/System/RapidStart/ConfigTemplateManagement.Codeunit.allines 7 to 22 of 677, Copyright (c) Microsoft Corporation. MIT

codeunit 8612 "Config. Template Management"{    trigger OnRun()    begin    end;    var        HierarchyErr: Label 'The template %1 is in this hierarchy and contains the same field.', Comment = '%1 - Field Value';        NoSeriesErr: Label 'A number series has not been set up for table %1 %2. The instance could not be created.', Comment = '%1 = Table ID, %2 = Table caption';#pragma warning disable AA0470        InstanceErr: Label 'The instance %1 already exists in table %2 %3.', Comment = '%2 = Table ID, %3 = Table caption';#pragma warning restore AA0470        KeyFieldValueErr: Label 'The value for the key field %1 is not filled for the instance.', Comment = '%1 - Field Name';        UpdatingRelatedTable: Boolean;

All 677 lines

Events 15 in 29

[IntegrationEvent] OnAfterIsNotInitializedFieldRef(FieldRef: FieldRef; var Resul: Boolean)17-29
[IntegrationEvent] OnAfterUpdateRecordWithSkipFields(ConfigTemplateHeader: Record "Config. Template Header"; var RecRef: RecordRef; SkipFields: Boolean; var TempSkipFields: Record Field temporary)17-29
[IntegrationEvent] OnApplyTemplLinesWithoutValidationAfterRecRefCheck(ConfigTemplateHeader: Record "Config. Template Header"; ConfigTemplateLine: Record "Config. Template Line"; var RecordRef: RecordRef)17-29
[IntegrationEvent] OnBeforeInsertTemplate(var ConfigTemplateLine: Record "Config. Template Line"; var ConfigTemplateHeader: Record "Config. Template Header")17-29
[IntegrationEvent] OnInsertTemplateCaseElse(var ConfigTemplateLine: Record "Config. Template Line"; var ConfigTemplateHeader: Record "Config. Template Header"; FldRef: FieldRef; var RecRef: RecordRef; SkipFields: Boolean; var TempSkipField: Record Field; OldRecRef: RecordRef)new in 19
[IntegrationEvent] OnInsertRecordWithKeyFieldsOnBeforeRecRefInsert(var RecRef: RecordRef)new in 20
[IntegrationEvent] OnBeforeInsertRecordWithKeyFields(var RecRef: RecordRef; ConfigTemplateHeader: Record "Config. Template Header")new in 20

All 20 events in 17-29

Public procedures 18 in 29

UpdateFromTemplateSelection(var RecRef: RecordRef)17-29
UpdateRecord(ConfigTemplateHeader: Record "Config. Template Header"; var RecRef: RecordRef)17-29
InsertTemplate(var RecRef: RecordRef; ConfigTemplateHeader: Record "Config. Template Header"; SkipFields: Boolean; var TempSkipField: Record Field)17-29
ApplyTemplate(var OriginalRecRef: RecordRef; var TempFieldsAssigned: Record Field temporary; var TemplateAppliedRecRef: RecordRef; var ConfigTemplateHeader: Record "Config. Template Header"): Boolean17-29
TestHierarchy(ConfigTemplateLine: Record "Config. Template Line")17-29
SetUpdatingRelatedTable(NewUpdatingRelatedTable: Boolean)17-29

All 19 procedures in 17-29

Changes 1 in 28

List17181920212223242526272829
Procedures2
Events13234331
[IntegrationEvent] OnBeforeModifyRecordWithField(var RecRef: RecordRef; FieldRef: FieldRef; Value: Text[2048]; LanguageID: Integer; var IsHandled: Boolean; ConfigTemplateLine: Record "Config. Template Line")22 to 27
gone

All 22 changes in 17-29