{"title":"Codeunit 7202 Synthetic Relations, procedures","url":"https://jonas-paprotka.de/ref/codeunit/7202-synthetic-relations/procedures/","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":"codeunit","id":7202,"name":"Synthetic Relations","app":"Base Application","versions":"24-29","url":"https://jonas-paprotka.de/ref/codeunit/7202-synthetic-relations/","json":"https://jonas-paprotka.de/ref/codeunit/7202-synthetic-relations.json"},"aspect":"procedures","total":15,"rows":[{"name":"GetFeatureTelemetryName","sig":"()","named":"()","returns":"Text","kind":"procedure","access":"internal","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"()","returns":"Text","kind":"procedure","access":"internal","obsolete":null}]},{"name":"CreateSyntheticRelation","sig":"(Record Synth. Relation Mapping Buffer, Text[100])","named":"(SynthRelationMappingBuffer: Record \"Synth. Relation Mapping Buffer\" temporary; NativeTableKey: Text[100])","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(SynthRelationMappingBuffer: Record \"Synth. Relation Mapping Buffer\" temporary; NativeTableKey: Text[100])","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"LoadExistingBCTableRelations","sig":"(var Record Synth. Relation Mapping Buffer)","named":"(var TempSynthRelationMappingBuffer: Record \"Synth. Relation Mapping Buffer\" temporary)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(var TempSynthRelationMappingBuffer: Record \"Synth. Relation Mapping Buffer\" temporary)","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"GetLogicalNameFromAPIPhysicalName","sig":"(Text)","named":"(PhysicalName: Text)","returns":"Text[100]","kind":"procedure","access":"internal","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(PhysicalName: Text)","returns":"Text[100]","kind":"procedure","access":"internal","obsolete":null}]},{"name":"GetVirtualTableFields","sig":"(var Record Synth. Relation Mapping Buffer, Record Synth. Relation Mapping Buffer)","named":"(var TempSynthRelationMappingBuffer: Record \"Synth. Relation Mapping Buffer\" temporary; TempSyntheticRelationToCreate: Record \"Synth. Relation Mapping Buffer\" temporary)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(var TempSynthRelationMappingBuffer: Record \"Synth. Relation Mapping Buffer\" temporary; TempSyntheticRelationToCreate: Record \"Synth. Relation Mapping Buffer\" temporary)","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"LoadVisibleVirtualTables","sig":"(var Record Synth. Relation Mapping Buffer)","named":"(var TempSynthRelationMappingBuffer: Record \"Synth. Relation Mapping Buffer\" temporary)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(var TempSynthRelationMappingBuffer: Record \"Synth. Relation Mapping Buffer\" temporary)","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"GetAllAPIPages","sig":"(var Record Synth. Relation Mapping Buffer)","named":"(var TempSynthRelationMappingBuffer: Record \"Synth. Relation Mapping Buffer\" temporary)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(var TempSynthRelationMappingBuffer: Record \"Synth. Relation Mapping Buffer\" temporary)","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"TryToGetVirtualTableAPIPageId","sig":"(Record Synth. Relation Mapping Buffer)","named":"(VirtualTableSelected: Record \"Synth. Relation Mapping Buffer\")","returns":"Integer","kind":"procedure","access":"internal","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(VirtualTableSelected: Record \"Synth. Relation Mapping Buffer\")","returns":"Integer","kind":"procedure","access":"internal","obsolete":null}]},{"name":"GetSynchedIntegrationTables","sig":"(var Record Synth. Relation Mapping Buffer)","named":"(var TempSynthRelationMappingBuffer: Record \"Synth. Relation Mapping Buffer\" temporary)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(var TempSynthRelationMappingBuffer: Record \"Synth. Relation Mapping Buffer\" temporary)","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"GetSynchedIntegrationFields","sig":"(var Record Synth. Relation Mapping Buffer, Record Synth. Relation Mapping Buffer)","named":"(var TempSynthRelationMappingBuffer: Record \"Synth. Relation Mapping Buffer\" temporary; NativeDataverseTableSelected: Record \"Synth. Relation Mapping Buffer\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(var TempSynthRelationMappingBuffer: Record \"Synth. Relation Mapping Buffer\" temporary; NativeDataverseTableSelected: Record \"Synth. Relation Mapping Buffer\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"DeleteSyntheticRelation","sig":"(Record Synth. Relation Mapping Buffer)","named":"(SynthRelationMapping: Record \"Synth. Relation Mapping Buffer\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(SynthRelationMapping: Record \"Synth. Relation Mapping Buffer\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"GetDefaultSyntheticRelations","sig":"(var Record Synth. Relation Mapping Buffer)","named":"(var TempSynthRelationMappingBuffer: Record \"Synth. Relation Mapping Buffer\" temporary)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(var TempSynthRelationMappingBuffer: Record \"Synth. Relation Mapping Buffer\" temporary)","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"GetExistingAlternateKeyName","sig":"(Text[248], var Text[100], var Text[100], var List)","named":"(NativeEntity: Text[248]; var NativeFields: array[3] of Text[100]; var KeyName: Text[100]; var KeyNames: List of [Text])","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(NativeEntity: Text[248]; var NativeFields: array[3] of Text[100]; var KeyName: Text[100]; var KeyNames: List of [Text])","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"CreateAlternateKeyForColumns","sig":"(Text[248], Text[100], var List)","named":"(NativeEntity: Text[248]; NativeFields: array[3] of Text[100]; var ExistingKeyNames: List of [Text])","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(NativeEntity: Text[248]; NativeFields: array[3] of Text[100]; var ExistingKeyNames: List of [Text])","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"DoesSynthethicRelationExist","sig":"(var Record Synth. Relation Mapping Buffer, Record Synth. Relation Mapping Buffer)","named":"(var TempExistingBCTablesRelations: Record \"Synth. Relation Mapping Buffer\" temporary; TempRelationToFind: Record \"Synth. Relation Mapping Buffer\" temporary)","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(var TempExistingBCTablesRelations: Record \"Synth. Relation Mapping Buffer\" temporary; TempRelationToFind: Record \"Synth. Relation Mapping Buffer\" temporary)","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]}]}