{"title":"Codeunit 5811 Change Exp. Cost Post. to G/L, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5811-change-exp-cost-post-to-g-l/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":5811,"name":"Change Exp. Cost Post. to G/L","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5811-change-exp-cost-post-to-g-l/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5811-change-exp-cost-post-to-g-l/source/","path":"src/Layers/W1/BaseApp/Inventory/Costing/ChangeExpCostPosttoGL.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:5811":{"name":"Post Value Entry to G/L","url":"https://jonas-paprotka.de/ref/table/5811-post-value-entry-to-g-l/"},"table:313":{"name":"Inventory Setup","url":"https://jonas-paprotka.de/ref/table/313-inventory-setup/"},"table:377":{"name":"Object Translation","url":"https://jonas-paprotka.de/ref/table/377-object-translation/"}},"procs":[{"name":"ChangeExpCostPostingToGL","line":40,"kind":"procedure","params":2,"steps":[[58,"call","EnableExpCostPostingToGL",0],[60,"call","DisableExpCostPostingToGL",0],[62,"call","UpdateInvtSetup",2]]},{"name":"EnableExpCostPostingToGL","line":65,"kind":"procedure","access":"local","params":0,"steps":[[85,"call","UpdatePostValueEntryToGL",1],[107,"call","UpdatePostValueEntryToGL",1]]},{"name":"UpdatePostValueEntryToGL","line":114,"kind":"procedure","access":"local","params":1,"steps":[[132,"event","OnBeforePostValueEntryToGLInsert",0],[133,"write",5811,"Insert"]]},{"name":"DisableExpCostPostingToGL","line":138,"kind":"procedure","access":"local","params":0,"steps":[[148,"write",5811,"Delete"]]},{"name":"UpdateInvtSetup","line":154,"kind":"procedure","access":"local","params":2,"steps":[[159,"write",313,"Modify"],[163,"ext","table",377,"TranslateObject",2]]}]}