{"title":"Table 92 Customer Posting Group, extension points 29","url":"https://jonas-paprotka.de/ref/table/92-customer-posting-group/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":92,"name":"Customer Posting Group","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/92-customer-posting-group/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/92-customer-posting-group/source/","path":"src/Layers/W1/BaseApp/Sales/Customer/CustomerPostingGroup.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:92":{"name":"Customer Posting Group","url":"https://jonas-paprotka.de/ref/table/92-customer-posting-group/"},"codeunit:48":{"name":"PostingSetupManagement","url":"https://jonas-paprotka.de/ref/codeunit/48-postingsetupmanagement/"},"table:15":{"name":"G/L Account","url":"https://jonas-paprotka.de/ref/table/15-g-l-account/"},"table:98":{"name":"General Ledger Setup","url":"https://jonas-paprotka.de/ref/table/98-general-ledger-setup/"},"table:3":{"name":"Payment Terms","url":"https://jonas-paprotka.de/ref/table/3-payment-terms/"}},"procs":[{"name":"Receivables Account.OnLookup","line":43,"kind":"trigger","steps":[[46,"ext","codeunit",570,"LookupGLAccountWithoutCategory",1],[48,"call","LookupGLAccount",3],[49,"ext","codeunit",570,"GetAR",0],[51,"validate",92,"Receivables Account"]]},{"name":"Receivables Account.OnValidate","line":54,"kind":"trigger","steps":[[57,"ext","codeunit",570,"CheckGLAccountWithoutCategory",3],[59,"call","CheckGLAccount",6],[60,"ext","codeunit",570,"GetAR",0],[62,"call","CheckGLAccSourceCurrencyRevaluation",1]]},{"name":"Service Charge Acc..OnLookup","line":74,"kind":"trigger","steps":[[77,"ext","codeunit",570,"LookupGLAccountWithoutCategory",1],[79,"call","LookupGLAccount",3],[80,"ext","codeunit",570,"GetIncomeService",0],[82,"validate",92,"Service Charge Acc."]]},{"name":"Service Charge Acc..OnValidate","line":85,"kind":"trigger","steps":[[88,"ext","codeunit",570,"CheckGLAccountWithoutCategory",3],[90,"call","CheckGLAccount",6],[91,"ext","codeunit",570,"GetIncomeService",0]]},{"name":"Payment Disc. Debit Acc..OnLookup","line":103,"kind":"trigger","steps":[[106,"ext","codeunit",570,"LookupGLAccountWithoutCategory",1],[108,"call","LookupGLAccount",3],[110,"validate",92,"Payment Disc. Debit Acc."]]},{"name":"Payment Disc. Debit Acc..OnValidate","line":113,"kind":"trigger","steps":[[116,"ext","codeunit",570,"CheckGLAccountWithoutCategory",3],[118,"call","CheckGLAccount",6]]},{"name":"Invoice Rounding Account.OnLookup","line":130,"kind":"trigger","steps":[[133,"ext","codeunit",570,"LookupGLAccountWithoutCategory",1],[135,"call","LookupGLAccount",3],[137,"validate",92,"Invoice Rounding Account"]]},{"name":"Invoice Rounding Account.OnValidate","line":140,"kind":"trigger","steps":[[143,"ext","codeunit",570,"CheckGLAccountWithoutCategory",3],[145,"call","CheckGLAccount",6]]},{"name":"Additional Fee Account.OnLookup","line":157,"kind":"trigger","steps":[[160,"ext","codeunit",570,"LookupGLAccountWithoutCategory",1],[162,"call","LookupGLAccount",3],[164,"validate",92,"Additional Fee Account"]]},{"name":"Additional Fee Account.OnValidate","line":167,"kind":"trigger","steps":[[170,"ext","codeunit",570,"CheckGLAccountWithoutCategory",3],[172,"call","CheckGLAccount",6]]},{"name":"Interest Account.OnLookup","line":184,"kind":"trigger","steps":[[187,"ext","codeunit",570,"LookupGLAccountWithoutCategory",1],[189,"call","LookupGLAccount",3],[191,"validate",92,"Interest Account"]]},{"name":"Interest Account.OnValidate","line":194,"kind":"trigger","steps":[[197,"ext","codeunit",570,"CheckGLAccountWithoutCategory",3],[199,"call","CheckGLAccount",6]]},{"name":"Debit Curr. Appln. Rndg. Acc..OnLookup","line":211,"kind":"trigger","steps":[[214,"ext","codeunit",570,"LookupGLAccountWithoutCategory",1],[216,"call","LookupGLAccount",3],[218,"validate",92,"Debit Curr. Appln. Rndg. Acc."]]},{"name":"Debit Curr. Appln. Rndg. Acc..OnValidate","line":221,"kind":"trigger","steps":[[224,"ext","codeunit",570,"CheckGLAccountWithoutCategory",3],[226,"call","CheckGLAccount",6]]},{"name":"Credit Curr. Appln. Rndg. Acc..OnLookup","line":239,"kind":"trigger","steps":[[242,"ext","codeunit",570,"LookupGLAccountWithoutCategory",1],[244,"call","LookupGLAccount",3],[246,"validate",92,"Credit Curr. Appln. Rndg. Acc."]]},{"name":"Credit Curr. Appln. Rndg. Acc..OnValidate","line":249,"kind":"trigger","steps":[[252,"ext","codeunit",570,"CheckGLAccountWithoutCategory",3],[254,"call","CheckGLAccount",6]]},{"name":"Debit Rounding Account.OnLookup","line":267,"kind":"trigger","steps":[[270,"ext","codeunit",570,"LookupGLAccountWithoutCategory",1],[272,"call","LookupGLAccount",3],[274,"validate",92,"Debit Rounding Account"]]},{"name":"Debit Rounding Account.OnValidate","line":277,"kind":"trigger","steps":[[280,"ext","codeunit",570,"CheckGLAccountWithoutCategory",3],[282,"call","CheckGLAccount",6]]},{"name":"Credit Rounding Account.OnLookup","line":295,"kind":"trigger","steps":[[298,"ext","codeunit",570,"LookupGLAccountWithoutCategory",1],[300,"call","LookupGLAccount",3],[301,"validate",92,"Credit Rounding Account"]]},{"name":"Credit Rounding Account.OnValidate","line":304,"kind":"trigger","steps":[[307,"ext","codeunit",570,"CheckGLAccountWithoutCategory",3],[309,"call","CheckGLAccount",6]]},{"name":"Payment Disc. Credit Acc..OnLookup","line":321,"kind":"trigger","steps":[[324,"ext","codeunit",570,"LookupGLAccountWithoutCategory",1],[326,"call","LookupGLAccount",3],[328,"validate",92,"Payment Disc. Credit Acc."]]},{"name":"Payment Disc. Credit Acc..OnValidate","line":331,"kind":"trigger","steps":[[334,"ext","codeunit",570,"CheckGLAccountWithoutCategory",3],[336,"call","CheckGLAccount",6]]},{"name":"Payment Tolerance Debit Acc..OnLookup","line":348,"kind":"trigger","steps":[[351,"ext","codeunit",570,"LookupGLAccountWithoutCategory",1],[353,"call","LookupGLAccount",3],[355,"validate",92,"Payment Tolerance Debit Acc."]]},{"name":"Payment Tolerance Debit Acc..OnValidate","line":358,"kind":"trigger","steps":[[361,"ext","codeunit",570,"CheckGLAccountWithoutCategory",3],[363,"call","CheckGLAccount",6]]},{"name":"Payment Tolerance Credit Acc..OnLookup","line":376,"kind":"trigger","steps":[[379,"ext","codeunit",570,"LookupGLAccountWithoutCategory",1],[381,"call","LookupGLAccount",3],[382,"ext","codeunit",570,"GetInterestExpense",0],[384,"validate",92,"Payment Tolerance Credit Acc."]]},{"name":"Payment Tolerance Credit Acc..OnValidate","line":387,"kind":"trigger","steps":[[390,"ext","codeunit",570,"CheckGLAccountWithoutCategory",3],[392,"call","CheckGLAccount",6],[394,"ext","codeunit",570,"GetInterestExpense",0]]},{"name":"Add. Fee per Line Account.OnLookup","line":406,"kind":"trigger","steps":[[409,"ext","codeunit",570,"LookupGLAccountWithoutCategory",1],[411,"call","LookupGLAccount",3],[413,"validate",92,"Add. Fee per Line Account"]]},{"name":"Add. Fee per Line Account.OnValidate","line":416,"kind":"trigger","steps":[[419,"ext","codeunit",570,"CheckGLAccountWithoutCategory",3],[421,"call","CheckGLAccount",6]]},{"name":"OnDelete","line":457,"kind":"trigger","steps":[[459,"call","CheckCustEntries",0]]},{"name":"GetReceivablesAccount","line":500,"kind":"procedure","params":0,"steps":[[503,"ext","codeunit",48,"LogCustPostingGroupFieldError",2],[506,"event","OnAfterGetReceivablesAccount",0]]},{"name":"GetPmtDiscountAccount","line":514,"kind":"procedure","params":1,"steps":[[518,"ext","codeunit",48,"LogCustPostingGroupFieldError",2],[523,"ext","codeunit",48,"LogCustPostingGroupFieldError",2]]},{"name":"GetPmtToleranceAccount","line":533,"kind":"procedure","params":1,"steps":[[537,"ext","codeunit",48,"LogCustPostingGroupFieldError",2],[542,"ext","codeunit",48,"LogCustPostingGroupFieldError",2]]},{"name":"GetRoundingAccount","line":552,"kind":"procedure","params":1,"steps":[[556,"ext","codeunit",48,"LogCustPostingGroupFieldError",2],[561,"ext","codeunit",48,"LogCustPostingGroupFieldError",2]]},{"name":"GetApplRoundingAccount","line":571,"kind":"procedure","params":1,"steps":[[575,"ext","codeunit",48,"LogCustPostingGroupFieldError",2],[580,"ext","codeunit",48,"LogCustPostingGroupFieldError",2]]},{"name":"GetInvRoundingAccount","line":589,"kind":"procedure","params":0,"steps":[[595,"ext","table",15,"CheckGenProdPostingGroup",0],[597,"ext","codeunit",48,"LogCustPostingGroupFieldError",2]]},{"name":"GetServiceChargeAccount","line":606,"kind":"procedure","params":0,"steps":[[609,"ext","codeunit",48,"LogCustPostingGroupFieldError",2]]},{"name":"GetAdditionalFeeAccount","line":618,"kind":"procedure","params":0,"steps":[[621,"ext","codeunit",48,"LogCustPostingGroupFieldError",2]]},{"name":"GetAddFeePerLineAccount","line":630,"kind":"procedure","params":0,"steps":[[633,"ext","codeunit",48,"LogCustPostingGroupFieldError",2]]},{"name":"GetInterestAccount","line":642,"kind":"procedure","params":0,"steps":[[645,"ext","codeunit",48,"LogCustPostingGroupFieldError",2]]},{"name":"SetAccountVisibility","line":657,"kind":"procedure","params":4,"steps":[[663,"ext","table",98,"GetPmtToleranceVisible",0],[664,"ext","table",3,"UsePaymentDiscount",0]]},{"name":"CheckGLAccount","line":671,"kind":"procedure","access":"local","params":6,"steps":[[673,"ext","codeunit",570,"CheckGLAccount",7]]},{"name":"LookupGLAccount","line":676,"kind":"procedure","access":"local","params":3,"steps":[[678,"ext","codeunit",570,"LookupGLAccount",5]]}]}