{"title":"Codeunit 5356 CRM Item Availability Job, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5356-crm-item-availability-job/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":5356,"name":"CRM Item Availability Job","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5356-crm-item-availability-job/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5356-crm-item-availability-job/source/","path":"src/Layers/W1/BaseApp/Integration/D365Sales/CRMItemAvailabilityJob.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":{"codeunit:5330":{"name":"CRM Integration Management","url":"https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/"},"codeunit:5344":{"name":"CRM Product Name","url":"https://jonas-paprotka.de/ref/codeunit/5344-crm-product-name/"},"table:5328":{"name":"CRM Synch Status","url":"https://jonas-paprotka.de/ref/table/5328-crm-synch-status/"}},"procs":[{"name":"OnRun","line":14,"kind":"trigger","steps":[[16,"call","CheckItemLedgerEntries",0]]},{"name":"CheckItemLedgerEntries","line":26,"kind":"procedure","access":"local","params":0,"steps":[[41,"ext","codeunit",5330,"IsCRMIntegrationEnabled",0],[42,"ext","codeunit",5344,"FULL",0],[47,"call","AddItemsWithLedgerEntryActivity",2],[64,"ext","codeunit",5330,"EnqueueSyncJob",5],[69,"write",5328,"Modify"]]}]}