{"title":"Codeunit 104 Update Name In Ledger Entries, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/104-update-name-in-ledger-entries/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":104,"name":"Update Name In Ledger Entries","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/104-update-name-in-ledger-entries/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/104-update-name-in-ledger-entries/source/","path":"src/Layers/W1/BaseApp/OtherCapabilities/Upgrade/UpdateNameInLedgerEntries.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":{"page:676":{"name":"Schedule a Job","url":"https://jonas-paprotka.de/ref/page/676-schedule-a-job/"},"codeunit:1511":{"name":"Notification Lifecycle Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1511-notification-lifecycle-mgt/"},"table:21":{"name":"Cust. Ledger Entry","url":"https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/"},"table:32":{"name":"Item Ledger Entry","url":"https://jonas-paprotka.de/ref/table/32-item-ledger-entry/"},"table:281":{"name":"Phys. Inventory Ledger Entry","url":"https://jonas-paprotka.de/ref/table/281-phys-inventory-ledger-entry/"},"table:5802":{"name":"Value Entry","url":"https://jonas-paprotka.de/ref/table/5802-value-entry/"},"table:25":{"name":"Vendor Ledger Entry","url":"https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/"},"table:7312":{"name":"Warehouse Entry","url":"https://jonas-paprotka.de/ref/table/7312-warehouse-entry/"}},"procs":[{"name":"OnRun","line":32,"kind":"trigger","steps":[[34,"call","Update",1]]},{"name":"ScheduleUpdate","line":49,"kind":"procedure","params":1,"steps":[[54,"call","InsertJobQueueEntry",2],[55,"ext","page",676,"SetJob",1]]},{"name":"InsertJobQueueEntry","line":60,"kind":"procedure","access":"local","params":2,"steps":[[64,"call","GetJobQueueDescrTxt",1]]},{"name":"NotifyAboutBlankNamesInLedgerEntries","line":84,"kind":"procedure","params":1,"steps":[[90,"call","CountEntriesWithBlankName",1],[116,"ext","codeunit",1511,"SendNotification",2]]},{"name":"CountEntriesWithBlankName","line":119,"kind":"procedure","access":"local","params":1,"steps":[[131,"call","CountRecordsWithBlankField",3],[136,"call","CountRecordsWithBlankField",3],[141,"call","CountRecordsWithBlankField",3],[144,"call","CountRecordsWithBlankField",3],[147,"call","CountRecordsWithBlankField",3],[152,"call","CountRecordsWithBlankField",3]]},{"name":"Update","line":204,"kind":"procedure","access":"local","params":1,"steps":[[208,"call","UpdateCustNamesInLedgerEntries",0],[210,"call","UpdateItemDescrInLedgerEntries",0],[212,"call","UpdateVendNamesInLedgerEntries",0],[214,"call","UpdateItemDescriptionInWarehouseEntries",0]]},{"name":"UpdateCustNamesInLedgerEntries","line":221,"kind":"procedure","params":0,"steps":[[232,"call","GetCustomer",2],[234,"event","OnUpdateCustNamesInLedgerEntriesOnBeforeModifyCustLedgEntry",0],[235,"write",21,"Modify"]]},{"name":"UpdateItemDescrInLedgerEntries","line":242,"kind":"procedure","params":0,"steps":[[244,"call","UpdateItemDescrInItemLedgerEntries",0],[245,"call","UpdateItemDescrInValueEntries",0],[246,"call","UpdateItemDescrInPhysInvLedgerEntries",0]]},{"name":"UpdateItemDescrInItemLedgerEntries","line":249,"kind":"procedure","access":"local","params":0,"steps":[[261,"call","GetItem",2],[263,"call","GetItemVariant",3],[265,"write",32,"Modify"]]},{"name":"UpdateItemDescrInPhysInvLedgerEntries","line":271,"kind":"procedure","access":"local","params":0,"steps":[[283,"call","GetItem",2],[285,"call","GetItemVariant",3],[287,"write",281,"Modify"]]},{"name":"UpdateItemDescrInValueEntries","line":293,"kind":"procedure","access":"local","params":0,"steps":[[305,"call","GetItem",2],[307,"call","GetItemVariant",3],[309,"write",5802,"Modify"]]},{"name":"UpdateVendNamesInLedgerEntries","line":316,"kind":"procedure","params":0,"steps":[[327,"call","GetVendor",2],[329,"event","OnUpdateVendNamesInLedgerEntriesOnBeforeModifyVendLedgEntry",0],[330,"write",25,"Modify"]]},{"name":"UpdateItemDescriptionInWarehouseEntries","line":336,"kind":"procedure","access":"local","params":0,"steps":[[348,"call","GetItem",2],[350,"call","GetItemVariant",3],[352,"event","OnUpdateDescriptionInWarehouseLedgerEntriesOnBeforeModifyWarehouseEntry",0],[353,"write",7312,"Modify"]]}]}