{"title":"Table 5334 CRM Option Mapping, extension points 29","url":"https://jonas-paprotka.de/ref/table/5334-crm-option-mapping/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":"table","id":5334,"name":"CRM Option Mapping","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/5334-crm-option-mapping/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/5334-crm-option-mapping/source/","path":"src/Layers/W1/BaseApp/Integration/Dataverse/CRMOptionMapping.Table.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:5344":{"name":"CRM Product Name","url":"https://jonas-paprotka.de/ref/codeunit/5344-crm-product-name/"},"codeunit:5330":{"name":"CRM Integration Management","url":"https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/"},"table:5334":{"name":"CRM Option Mapping","url":"https://jonas-paprotka.de/ref/table/5334-crm-option-mapping/"},"table:5331":{"name":"CRM Integration Record","url":"https://jonas-paprotka.de/ref/table/5331-crm-integration-record/"},"codeunit:5364":{"name":"Int. Option Synch. Invoke","url":"https://jonas-paprotka.de/ref/codeunit/5364-int-option-synch-invoke/"},"table:5338":{"name":"Integration Synch. Job","url":"https://jonas-paprotka.de/ref/table/5338-integration-synch-job/"}},"procs":[{"name":"AssertCRMOptionIdCanBeMapped","line":121,"kind":"procedure","params":2,"steps":[[129,"ext","codeunit",5344,"CDSServiceName",0]]},{"name":"InsertRecord","line":132,"kind":"procedure","params":3,"steps":[[143,"ext","codeunit",5330,"GetIntegrationTableMapping",2],[146,"write",5334,"Insert",1]]},{"name":"IsCRMRecordRefMapped","line":149,"kind":"procedure","params":2,"steps":[[158,"event","OnIsCRMRecordRefMapped",0]]},{"name":"IsOptionMappingSkipped","line":188,"kind":"procedure","params":2,"steps":[[195,"call","IsCRMRecordRefMapped",2]]},{"name":"MarkLastSynchAsFailure","line":199,"kind":"procedure","params":4,"steps":[[208,"call","IsCRMRecordRefMapped",2],[215,"ext","table",5331,"IsSameFailureRepeatedTwice",3],[220,"ext","table",5331,"IsSameFailureRepeatedTwice",3],[226,"write",5334,"Modify",1]]},{"name":"UpdateOptionMapping","line":230,"kind":"procedure","params":4,"steps":[[237,"call","IsCRMRecordRefMapped",2],[239,"ext","codeunit",5344,"CDSServiceName",0],[243,"call","GetRecordRefOptionValue",1],[245,"call","InsertRecord",3],[245,"call","GetRecordRefOptionId",1],[245,"call","GetRecordRefOptionValue",1],[252,"call","GetRecordRefOptionId",1],[253,"call","GetRecordRefOptionValue",1],[253,"ext","codeunit",5344,"CDSServiceName",0],[257,"call","GetRecordRefOptionValue",1],[259,"call","InsertRecord",3],[259,"call","GetRecordRefOptionId",1],[259,"call","GetRecordRefOptionValue",1],[263,"ext","codeunit",5364,"GetRowLastModifiedOn",2],[267,"write",5334,"Modify",1]]},{"name":"GetLatestError","line":290,"kind":"procedure","params":1,"steps":[[293,"call","GetErrorForJobID",2],[295,"call","GetErrorForJobID",2]]},{"name":"GetMetadataInfo","line":298,"kind":"procedure","access":"internal","params":3,"steps":[[314,"event","OnGetMetadataInfo",0]]},{"name":"GetErrorForJobID","line":344,"kind":"procedure","access":"local","params":2,"steps":[[350,"ext","table",5338,"GetErrorForRecordID",2]]}]}