{"title":"Codeunit 1253 Change Bank Rec. Statement No., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1253-change-bank-rec-statement-no/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":1253,"name":"Change Bank Rec. Statement No.","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1253-change-bank-rec-statement-no/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1253-change-bank-rec-statement-no/source/","path":"src/Layers/W1/BaseApp/Bank/Reconciliation/ChangeBankRecStatementNo.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:1285":{"name":"Change Bank Rec. Statement No.","url":"https://jonas-paprotka.de/ref/page/1285-change-bank-rec-statement-no/"},"table:273":{"name":"Bank Acc. Reconciliation","url":"https://jonas-paprotka.de/ref/table/273-bank-acc-reconciliation/"},"table:274":{"name":"Bank Acc. Reconciliation Line","url":"https://jonas-paprotka.de/ref/table/274-bank-acc-reconciliation-line/"},"table:2711":{"name":"Bank Acc. Rec. Match Buffer","url":"https://jonas-paprotka.de/ref/table/2711-bank-acc-rec-match-buffer/"},"table:271":{"name":"Bank Account Ledger Entry","url":"https://jonas-paprotka.de/ref/table/271-bank-account-ledger-entry/"},"table:272":{"name":"Check Ledger Entry","url":"https://jonas-paprotka.de/ref/table/272-check-ledger-entry/"}},"procs":[{"name":"OnRun","line":22,"kind":"trigger","steps":[[29,"call","GetNewStatementNo",2],[30,"call","ChangeStatementNo",2]]},{"name":"GetNewStatementNo","line":35,"kind":"procedure","access":"local","params":2,"steps":[[39,"ext","page",1285,"SetBankAccReconciliation",1],[41,"ext","page",1285,"GetNewStatementNo",0]]},{"name":"ChangeStatementNo","line":47,"kind":"procedure","access":"local","params":2,"steps":[[53,"ext","table",273,"OnInsertValidations",3],[54,"call","UpdateAppliedBankLedgerEntries",2],[55,"call","UpdateAppliedCheckLedgerEntries",2],[57,"call","MoveBankAccReconiliationToBuffers",4],[59,"call","CreateBankAccReconciliationWithNewStatementNo",5]]},{"name":"MoveBankAccReconiliationToBuffers","line":63,"kind":"procedure","access":"local","params":4,"steps":[[69,"write",273,"Insert"],[70,"write",273,"Delete"],[78,"write",274,"Insert"],[80,"write",274,"DeleteAll"],[87,"write",2711,"Insert"],[89,"write",2711,"DeleteAll"]]},{"name":"CreateBankAccReconciliationWithNewStatementNo","line":92,"kind":"procedure","access":"local","params":5,"steps":[[99,"write",273,"Insert"],[105,"event","OnCreateBankAccReconciliationWithNewStatementNoOnBeforeInsertBankAccReconciliationLine",0],[106,"write",274,"Insert"],[113,"write",2711,"Insert"]]},{"name":"UpdateAppliedBankLedgerEntries","line":117,"kind":"procedure","access":"local","params":2,"steps":[[125,"write",271,"ModifyAll"]]},{"name":"UpdateAppliedCheckLedgerEntries","line":128,"kind":"procedure","access":"local","params":2,"steps":[[136,"write",272,"ModifyAll"]]}]}