{"title":"Codeunit 960 Posting Group Change, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/960-posting-group-change/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":960,"name":"Posting Group Change","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/960-posting-group-change/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/960-posting-group-change/source/","path":"src/Layers/W1/BaseApp/Finance/ReceivablesPayables/PostingGroupChange.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":{},"procs":[{"name":"ChangePostingGroup","line":39,"kind":"procedure","params":3,"steps":[[49,"call","CheckPostingGroupChangeInSalesHeader",2],[51,"call","CheckPostingGroupChangeInPurchaseHeader",2],[53,"call","CheckPostingGroupChangeInGenJnlLine",3],[55,"call","CheckPostingGroupChangeInFinChrgMemoHeader",2],[58,"event","OnAfterChangePostingGroup",0]]},{"name":"CheckPostingGroupChangeInSalesHeader","line":61,"kind":"procedure","access":"local","params":2,"steps":[[63,"call","CheckCustomerPostingGroupChange",2]]},{"name":"CheckPostingGroupChangeInPurchaseHeader","line":66,"kind":"procedure","access":"local","params":2,"steps":[[68,"call","CheckVendorPostingGroupChange",2]]},{"name":"CheckPostingGroupChangeInGenJnlLine","line":71,"kind":"procedure","access":"local","params":3,"steps":[[75,"call","CheckCustomerPostingGroupChangeAndCustomer",3],[77,"call","CheckVendorPostingGroupChangeAndVendor",3],[79,"call","CheckEmployeePostingGroupChangeAndEmployee",3]]},{"name":"CheckPostingGroupChangeInFinChrgMemoHeader","line":85,"kind":"procedure","access":"local","params":2,"steps":[[87,"call","CheckCustomerPostingGroupChange",2]]},{"name":"CheckCustomerPostingGroupChange","line":90,"kind":"procedure","access":"local","params":2,"steps":[[92,"call","CheckCustomerPostingGroupChangeAndCustomer",3]]},{"name":"CheckVendorPostingGroupChange","line":95,"kind":"procedure","access":"local","params":2,"steps":[[97,"call","CheckVendorPostingGroupChangeAndVendor",3]]},{"name":"CheckCustomerPostingGroupChangeAndCustomer","line":100,"kind":"procedure","access":"local","params":3,"steps":[[102,"call","CheckAllowChangeSalesSetup",0],[103,"call","HasCustomerSamePostingGroup",2],[104,"call","CheckCustomerPostingGroupSubstSetup",2]]},{"name":"CheckVendorPostingGroupChangeAndVendor","line":107,"kind":"procedure","access":"local","params":3,"steps":[[109,"call","CheckAllowChangePurchaseSetup",0],[110,"call","HasVendorSamePostingGroup",2],[111,"call","CheckVendorPostingGroupSubstSetup",2]]},{"name":"CheckEmployeePostingGroupChangeAndEmployee","line":114,"kind":"procedure","access":"local","params":3,"steps":[[116,"call","CheckAllowChangeHRSetup",0],[117,"call","HasEmployeeSamePostingGroup",2],[118,"call","CheckEmployeePostingGroupSubstSetup",2]]}]}