{"title":"Page 5374 New Synthetic Relation Wiz., extension points 29","url":"https://jonas-paprotka.de/ref/page/5374-new-synthetic-relation-wiz/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"page","id":5374,"name":"New Synthetic Relation Wiz.","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/5374-new-synthetic-relation-wiz/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/5374-new-synthetic-relation-wiz/source/","path":"src/Layers/W1/BaseApp/Integration/Dataverse/NewSyntheticRelationWiz.Page.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:7202":{"name":"Synthetic Relations","url":"https://jonas-paprotka.de/ref/codeunit/7202-synthetic-relations/"},"page:5375":{"name":"Synth. Relation Mapping","url":"https://jonas-paprotka.de/ref/page/5375-synth-relation-mapping/"},"table:5378":{"name":"Synth. Relation Mapping Buffer","url":"https://jonas-paprotka.de/ref/table/5378-synth-relation-mapping-buffer/"},"codeunit:4030":{"name":"Client Type Management","url":"https://jonas-paprotka.de/ref/codeunit/4030-client-type-management/"}},"procs":[{"name":"NativeDataverseTable.OnAssistEdit","line":59,"kind":"trigger","steps":[[65,"ext","codeunit",7202,"GetSynchedIntegrationTables",1],[66,"ext","page",5375,"SetSelectingNativeTables",0],[67,"call","TablesAndFieldsLookup",3],[73,"call","SetNextActionEnabled",0]]},{"name":"VirtualDataverseTable.OnAssistEdit","line":84,"kind":"trigger","steps":[[91,"ext","codeunit",7202,"LoadVisibleVirtualTables",1],[92,"ext","page",5375,"SetSelectingVirtualTables",0],[93,"call","TablesAndFieldsLookup",3],[98,"ext","codeunit",7202,"TryToGetVirtualTableAPIPageId",1],[101,"call","SetNextActionEnabled",0]]},{"name":"Virtual Table API Page Id.OnDrillDown","line":115,"kind":"trigger","steps":[[121,"ext","codeunit",7202,"GetAllAPIPages",1],[122,"ext","page",5375,"SetSelectingVirtualTablePageId",0],[123,"call","TablesAndFieldsLookup",3],[127,"call","SetNextActionEnabled",0]]},{"name":"Virtual Table API Page Id.OnValidate","line":130,"kind":"trigger","steps":[[135,"call","SetNextActionEnabled",0],[143,"call","SetNextActionEnabled",0]]},{"name":"NFieldsMatching.OnValidate","line":164,"kind":"trigger","steps":[[166,"call","ResetFieldsMapping",0]]},{"name":"Syncd. Field 1 Name.OnAssistEdit","line":179,"kind":"trigger","steps":[[185,"ext","codeunit",7202,"GetSynchedIntegrationFields",2],[186,"ext","page",5375,"SetSelectingNativeFields",0],[187,"call","TablesAndFieldsLookup",3],[192,"call","SetSelectedNativeField",4],[194,"call","SetSelectedNativeField",4],[196,"call","SetSelectedNativeField",4],[199,"call","SetNextActionEnabled",0]]},{"name":"Virtual Table Column 1 Name.OnAssistEdit","line":211,"kind":"trigger","steps":[[218,"ext","codeunit",7202,"GetVirtualTableFields",2],[219,"ext","page",5375,"SetSelectingVirtualFields",0],[220,"call","TablesAndFieldsLookup",3],[223,"ext","codeunit",7202,"GetLogicalNameFromAPIPhysicalName",1],[226,"call","SetSelectedVirtualField",3],[228,"call","SetSelectedVirtualField",3],[230,"call","SetSelectedVirtualField",3],[233,"call","SetNextActionEnabled",0]]},{"name":"Finish.OnAction","line":273,"kind":"trigger","steps":[[276,"ext","codeunit",7202,"CreateSyntheticRelation",2]]},{"name":"Next.OnAction","line":288,"kind":"trigger","steps":[[290,"call","NextPage",0],[291,"call","SetNextActionEnabled",0]]},{"name":"Back.OnAction","line":301,"kind":"trigger","steps":[[303,"call","PreviousPage",0],[304,"call","SetNextActionEnabled",0]]},{"name":"Refresh.OnAction","line":328,"kind":"trigger","steps":[[337,"ext","codeunit",7202,"GetExistingAlternateKeyName",4]]},{"name":"OnInit","line":346,"kind":"trigger","steps":[[348,"call","LoadTopBanners",0]]},{"name":"OnOpenPage","line":351,"kind":"trigger","steps":[[353,"call","ResetFieldsMapping",0]]},{"name":"SetExistingBCTableRelations","line":378,"kind":"procedure","access":"internal","params":1,"steps":[[382,"write",5378,"DeleteAll"],[385,"write",5378,"Insert"]]},{"name":"LoadTopBanners","line":389,"kind":"procedure","access":"local","params":0,"steps":[[391,"ext","codeunit",4030,"GetCurrentClientType",0],[392,"ext","codeunit",4030,"GetCurrentClientType",0]]},{"name":"TablesAndFieldsLookup","line":400,"kind":"procedure","access":"local","params":3,"steps":[[402,"ext","page",5375,"SetTables",1],[406,"ext","page",5375,"GetSelectedTable",1]]},{"name":"ResetFieldsMapping","line":411,"kind":"procedure","access":"local","params":0,"steps":[[428,"write",5378,"DeleteAll"],[432,"write",5378,"Insert"],[435,"write",5378,"Insert"],[438,"write",5378,"Insert"]]},{"name":"NextPage","line":465,"kind":"procedure","access":"local","params":0,"steps":[[476,"call","SelectedRelationDoesntExist",0],[487,"ext","codeunit",7202,"GetExistingAlternateKeyName",4],[491,"ext","codeunit",7202,"CreateAlternateKeyForColumns",3]]},{"name":"SetNextActionEnabled","line":497,"kind":"procedure","access":"local","params":0,"steps":[[501,"call","NativeTableSelected",0],[501,"call","VirtualTableSelected",0],[503,"call","NativeFieldSelected",0],[503,"call","VirtualFieldSelected",0],[503,"call","SelectedByPairs",0]]}]}