{"title":"Codeunit 5338 Integration Record Management, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5338-integration-record-management/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":"codeunit","id":5338,"name":"Integration Record Management","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5338-integration-record-management/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5338-integration-record-management/source/","path":"src/Layers/W1/BaseApp/Integration/SynchEngine/IntegrationRecordManagement.Codeunit.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":{"table:5331":{"name":"CRM Integration Record","url":"https://jonas-paprotka.de/ref/table/5331-crm-integration-record/"}},"procs":[{"name":"FindRecordIdByIntegrationTableUid","line":20,"kind":"procedure","params":4,"steps":[[26,"event","OnFindRecordIdByIntegrationTableUid",1],[32,"ext","table",5331,"FindRecordIDFromID",3]]},{"name":"FindIntegrationTableUIdByRecordId","line":38,"kind":"procedure","params":3,"steps":[[44,"event","OnFindIntegrationTableUIdByRecordId",1],[50,"ext","table",5331,"FindIDFromRecordID",2]]},{"name":"FindIntegrationTableUIdByRecordRef","line":56,"kind":"procedure","params":3,"steps":[[62,"event","OnFindIntegrationTableUIdByRecordRef",1],[68,"ext","table",5331,"FindIDFromRecordRef",2]]},{"name":"MarkLastSynchAsFailure","line":81,"kind":"procedure","params":5,"steps":[[86,"event","OnMarkLastSynchAsFailure",1],[92,"ext","table",5331,"SetLastSynchResultFailed",4]]},{"name":"IsIntegrationRecordSkipped","line":101,"kind":"procedure","params":3,"steps":[[107,"event","OnIsIntegrationRecordSkipped",1],[113,"ext","table",5331,"IsSkipped",2]]},{"name":"UpdateIntegrationTableCoupling","line":123,"kind":"procedure","params":3,"steps":[[128,"event","OnUpdateIntegrationTableCouplingForRecordID",1],[134,"ext","table",5331,"CoupleCRMIDToRecordID",2]]},{"name":"UpdateIntegrationTableCoupling","line":140,"kind":"procedure","params":3,"steps":[[145,"event","OnUpdateIntegrationTableCouplingForRecordRef",1],[155,"ext","table",5331,"CoupleCRMIDToRecordRef",2]]},{"name":"RemoveIntegrationTableCoupling","line":175,"kind":"procedure","access":"internal","params":5,"steps":[[180,"event","OnRemoveIntegrationTableCouplingForRecordId",1],[187,"ext","table",5331,"RemoveCouplingToRecord",1],[189,"ext","table",5331,"RemoveCouplingToCRMID",2]]},{"name":"RemoveIntegrationTableCoupling","line":195,"kind":"procedure","access":"internal","params":5,"steps":[[201,"event","OnRemoveIntegrationTableCouplingForRecordRef",1],[211,"ext","table",5331,"RemoveCouplingToRecord",1],[213,"ext","table",5331,"RemoveCouplingToCRMID",2]]},{"name":"UpdateIntegrationTableTimestamp","line":219,"kind":"procedure","params":7,"steps":[[224,"event","OnUpdateIntegrationTableTimestamp",1],[230,"ext","table",5331,"SetLastSynchModifiedOns",6]]},{"name":"IsModifiedAfterIntegrationTableRecordLastSynch","line":237,"kind":"procedure","params":4,"steps":[[243,"event","OnIsModifiedAfterIntegrationTableRecordLastSynch",1],[249,"ext","table",5331,"IsModifiedAfterLastSynchonizedCRMRecord",3]]},{"name":"IsModifiedAfterRecordLastSynch","line":255,"kind":"procedure","params":3,"steps":[[261,"event","OnIsRecordModifiedAfterRecordLastSynch",1],[267,"ext","table",5331,"IsModifiedAfterLastSynchronizedRecord",2]]},{"name":"IsModifiedAfterRecordLastSynch","line":273,"kind":"procedure","params":3,"steps":[[279,"event","OnIsRecordRefModifiedAfterRecordLastSynch",1],[285,"ext","table",5331,"IsModifiedAfterLastSynchronizedRecord",2]]}]}