{"title":"Table 5813 Inventory Posting Setup, extension points 29","url":"https://jonas-paprotka.de/ref/table/5813-inventory-posting-setup/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":5813,"name":"Inventory Posting Setup","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/5813-inventory-posting-setup/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/5813-inventory-posting-setup/source/","path":"src/Layers/W1/BaseApp/Inventory/Item/InventoryPostingSetup.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":{"codeunit:570":{"name":"G/L Account Category Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/570-g-l-account-category-mgt/"},"table:5813":{"name":"Inventory Posting Setup","url":"https://jonas-paprotka.de/ref/table/5813-inventory-posting-setup/"},"codeunit:48":{"name":"PostingSetupManagement","url":"https://jonas-paprotka.de/ref/codeunit/48-postingsetupmanagement/"},"table:63":{"name":"Account Use Buffer","url":"https://jonas-paprotka.de/ref/table/63-account-use-buffer/"}},"procs":[{"name":"Inventory Account.OnLookup","line":40,"kind":"trigger","steps":[[43,"ext","codeunit",570,"LookupGLAccountWithoutCategory",1],[45,"call","LookupGLAccount",3],[46,"ext","codeunit",570,"GetInventory",0],[48,"validate",5813,"Inventory Account"]]},{"name":"Inventory Account.OnValidate","line":51,"kind":"trigger","steps":[[54,"ext","codeunit",570,"CheckGLAccountWithoutCategory",3],[56,"call","CheckGLAccount",6],[57,"ext","codeunit",570,"GetInventory",0]]},{"name":"Inventory Account (Interim).OnLookup","line":75,"kind":"trigger","steps":[[78,"ext","codeunit",570,"LookupGLAccountWithoutCategory",1],[80,"call","LookupGLAccount",3],[81,"ext","codeunit",570,"GetInventory",0],[83,"validate",5813,"Inventory Account (Interim)"]]},{"name":"Inventory Account (Interim).OnValidate","line":86,"kind":"trigger","steps":[[89,"ext","codeunit",570,"CheckGLAccountWithoutCategory",3],[91,"call","CheckGLAccount",6],[92,"ext","codeunit",570,"GetInventory",0]]},{"name":"OnDelete","line":151,"kind":"trigger","steps":[[153,"call","CheckSetupUsage",0]]},{"name":"GetInventoryAccount","line":177,"kind":"procedure","params":0,"steps":[[180,"ext","codeunit",48,"LogInventoryPostingSetupFieldError",2]]},{"name":"GetInventoryAccountInterim","line":185,"kind":"procedure","params":0,"steps":[[188,"ext","codeunit",48,"LogInventoryPostingSetupFieldError",2]]},{"name":"GetCapacityVarianceAccount","line":193,"kind":"procedure","params":0,"steps":[[196,"ext","codeunit",48,"LogInventoryPostingSetupFieldError",2]]},{"name":"GetCapOverheadVarianceAccount","line":201,"kind":"procedure","params":0,"steps":[[204,"ext","codeunit",48,"LogInventoryPostingSetupFieldError",2]]},{"name":"GetMaterialVarianceAccount","line":209,"kind":"procedure","params":0,"steps":[[212,"ext","codeunit",48,"LogInventoryPostingSetupFieldError",2]]},{"name":"GetMaterialNonInventoryVarianceAccount","line":217,"kind":"procedure","params":0,"steps":[[220,"ext","codeunit",48,"LogInventoryPostingSetupFieldError",2]]},{"name":"GetMfgOverheadVarianceAccount","line":225,"kind":"procedure","params":0,"steps":[[228,"ext","codeunit",48,"LogInventoryPostingSetupFieldError",2]]},{"name":"GetSubcontractedVarianceAccount","line":233,"kind":"procedure","params":0,"steps":[[236,"ext","codeunit",48,"LogInventoryPostingSetupFieldError",2]]},{"name":"GetWIPAccount","line":241,"kind":"procedure","params":0,"steps":[[244,"ext","codeunit",48,"LogInventoryPostingSetupFieldError",2]]},{"name":"SuggestSetupAccounts","line":249,"kind":"procedure","params":0,"steps":[[256,"call","SuggestAccount",2],[258,"call","SuggestAccount",2],[259,"event","OnAfterSuggestSetupAccount",0]]},{"name":"SuggestAccount","line":266,"kind":"procedure","params":2,"steps":[[280,"ext","table",63,"UpdateBuffer",2]]},{"name":"CheckGLAccount","line":293,"kind":"procedure","access":"local","params":6,"steps":[[295,"ext","codeunit",570,"CheckGLAccount",7]]},{"name":"LookupGLAccount","line":298,"kind":"procedure","access":"local","params":3,"steps":[[300,"ext","codeunit",570,"LookupGLAccount",5]]}]}