{"title":"Table 5373 CRM Full Synch. Review Line, extension points 29","url":"https://jonas-paprotka.de/ref/table/5373-crm-full-synch-review-line/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":5373,"name":"CRM Full Synch. Review Line","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/5373-crm-full-synch-review-line/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/5373-crm-full-synch-review-line/source/","path":"src/Layers/W1/BaseApp/Integration/Dataverse/CRMFullSynchReviewLine.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":{"table:5335":{"name":"Integration Table Mapping","url":"https://jonas-paprotka.de/ref/table/5335-integration-table-mapping/"},"codeunit:5330":{"name":"CRM Integration Management","url":"https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/"},"codeunit:5342":{"name":"CRM Synch. Helper","url":"https://jonas-paprotka.de/ref/codeunit/5342-crm-synch-helper/"},"table:5330":{"name":"CRM Connection Setup","url":"https://jonas-paprotka.de/ref/table/5330-crm-connection-setup/"},"table:5373":{"name":"CRM Full Synch. Review Line","url":"https://jonas-paprotka.de/ref/table/5373-crm-full-synch-review-line/"},"codeunit:5332":{"name":"Lookup CRM Tables","url":"https://jonas-paprotka.de/ref/codeunit/5332-lookup-crm-tables/"},"table:5338":{"name":"Integration Synch. Job","url":"https://jonas-paprotka.de/ref/table/5338-integration-synch-job/"},"page:674":{"name":"Job Queue Log Entries","url":"https://jonas-paprotka.de/ref/page/674-job-queue-log-entries/"},"page:5338":{"name":"Integration Synch. Job List","url":"https://jonas-paprotka.de/ref/page/5338-integration-synch-job-list/"}},"procs":[{"name":"To Int. Table Job ID.OnValidate","line":36,"kind":"trigger","steps":[[38,"call","GetSynchJobStatus",1]]},{"name":"From Int. Table Job ID.OnValidate","line":52,"kind":"trigger","steps":[[54,"call","GetSynchJobStatus",1]]},{"name":"Job Queue Entry ID.OnValidate","line":76,"kind":"trigger","steps":[[82,"call","SetJobQueueEntryStatus",1],[84,"call","SetJobQueueEntryStatus",1]]},{"name":"Multi Company Synch. Enabled.OnValidate","line":112,"kind":"trigger","steps":[[119,"validate",5335,"Multi Company Synch. Enabled"]]},{"name":"Generate","line":137,"kind":"procedure","params":1,"steps":[[142,"call","GenerateCRMSynchReviewLines",3]]},{"name":"Generate","line":147,"kind":"procedure","params":2,"steps":[[149,"call","GenerateCRMSynchReviewLines",3]]},{"name":"Generate","line":153,"kind":"procedure","params":1,"steps":[[157,"call","GenerateCRMSynchReviewLines",3]]},{"name":"Generate","line":160,"kind":"procedure","params":0,"steps":[[165,"call","GenerateCRMSynchReviewLines",3]]},{"name":"GenerateCRMSynchReviewLines","line":168,"kind":"procedure","access":"local","params":3,"steps":[[179,"run","codeunit",5330],[180,"ext","codeunit",5342,"OnGetCDSOwnershipModel",2],[184,"ext","codeunit",5330,"IsCRMIntegrationEnabled",0],[191,"ext","table",5330,"IsBidirectionalSalesOrderIntEnabled",0],[196,"ext","table",5330,"IsBidirectionalSalesOrderIntEnabled",0],[207,"call","InsertOrModifyCRMFullSynchReviewLines",3]]},{"name":"InsertOrModifyCRMFullSynchReviewLines","line":211,"kind":"procedure","access":"local","params":3,"steps":[[213,"call","GetInitialSynchRecommendation",2],[218,"validate",5373,"Dependency Filter"],[219,"validate",5373,"Initial Synch Recommendation"],[219,"call","GetInitialSynchRecommendation",2],[222,"write",5373,"Insert",1],[225,"validate",5373,"Dependency Filter"],[226,"validate",5373,"Initial Synch Recommendation"],[226,"call","GetInitialSynchRecommendation",2],[228,"write",5373,"Modify",1]]},{"name":"Start","line":233,"kind":"procedure","params":0,"steps":[[241,"call","FindLinesThatCanBeStarted",1],[244,"ext","codeunit",5330,"EnqueueFullSyncJob",1],[247,"ext","codeunit",5330,"MatchBasedCoupling",4],[255,"validate",5373,"Job Queue Entry ID"],[256,"write",5373,"Modify",1]]},{"name":"GetInitialSynchRecommendation","line":262,"kind":"procedure","access":"internal","params":2,"steps":[[283,"call","GetCurrencyInitialSynchRecommendation",0],[289,"ext","codeunit",5332,"GetIntegrationTableMappingView",1],[299,"ext","codeunit",5332,"GetIntegrationTableMappingView",1],[309,"ext","codeunit",5332,"GetIntegrationTableMappingView",1],[318,"ext","codeunit",5332,"GetIntegrationTableMappingView",1],[327,"ext","codeunit",5332,"GetIntegrationTableMappingView",1]]},{"name":"GetCurrencyInitialSynchRecommendation","line":349,"kind":"procedure","access":"local","params":0,"steps":[[355,"ext","codeunit",5332,"GetIntegrationTableMappingView",1]]},{"name":"UpdateAsSynchJobStarted","line":363,"kind":"procedure","access":"local","params":3,"steps":[[366,"validate",5373,"Job Queue Entry ID"],[369,"validate",5373,"From Int. Table Job ID"],[371,"validate",5373,"To Int. Table Job ID"],[373,"write",5373,"Modify",1]]},{"name":"UpdateAsSynchJobFinished","line":377,"kind":"procedure","access":"local","params":2,"steps":[[380,"validate",5373,"Job Queue Entry ID"],[383,"validate",5373,"From Int. Table Job ID"],[385,"validate",5373,"To Int. Table Job ID"],[387,"write",5373,"Modify",1]]},{"name":"GetSynchJobStatus","line":391,"kind":"procedure","access":"local","params":1,"steps":[[402,"ext","table",5338,"AreSomeRecordsFailed",0]]},{"name":"FindLinesThatCanBeStarted","line":408,"kind":"procedure","access":"local","params":1,"steps":[[413,"write",5373,"DeleteAll"],[419,"call","AreAllParentalJobsFinished",1],[421,"write",5373,"Insert"]]},{"name":"FullSynchFinished","line":440,"kind":"procedure","params":2,"steps":[[442,"ext","table",5335,"IsFullSynch",0],[443,"call","UpdateAsSynchJobFinished",2]]},{"name":"FullSynchStarted","line":446,"kind":"procedure","params":3,"steps":[[448,"ext","table",5335,"IsFullSynch",0],[449,"call","UpdateAsSynchJobStarted",3]]},{"name":"OnBeforeModifyJobQueueEntry","line":452,"kind":"procedure","params":1,"steps":[[456,"call","GetIntTableMappingNameJobQueueEntry",1],[460,"call","SetJobQueueEntryStatus",1],[461,"write",5373,"Modify"],[463,"call","IsJobQueueEntryProcessed",1],[464,"call","Start",0]]},{"name":"GetIntTableMappingNameJobQueueEntry","line":468,"kind":"procedure","access":"local","params":1,"steps":[[484,"ext","table",5335,"IsFullSynch",0]]},{"name":"IsThereActiveSessionInProgress","line":505,"kind":"procedure","params":0,"steps":[[513,"ext","table",5373,"IsActiveSession",0]]},{"name":"SetJobQueueEntryStatus","line":527,"kind":"procedure","access":"local","params":1,"steps":[[530,"validate",5373,"Job Queue Entry Status"]]},{"name":"ShowJobQueueLogEntry","line":533,"kind":"procedure","params":0,"steps":[[538,"run","page",674]]},{"name":"ShowSynchJobLog","line":541,"kind":"procedure","params":1,"steps":[[546,"run","page",5338]]}]}