{"title":"Report 8611 Create Customer Journal Lines, extension points 29","url":"https://jonas-paprotka.de/ref/report/8611-create-customer-journal-lines/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":"report","id":8611,"name":"Create Customer Journal Lines","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/8611-create-customer-journal-lines/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/8611-create-customer-journal-lines/source/","path":"src/Layers/W1/BaseApp/Finance/GeneralLedger/Journal/CreateCustomerJournalLines.Report.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:81":{"name":"Gen. Journal Line","url":"https://jonas-paprotka.de/ref/table/81-gen-journal-line/"},"codeunit:230":{"name":"GenJnlManagement","url":"https://jonas-paprotka.de/ref/codeunit/230-genjnlmanagement/"}},"procs":[{"name":"Customer.OnAfterGetRecord","line":33,"kind":"trigger","steps":[[38,"call","GetStandardJournalLine",0],[39,"call","Initialize",2],[45,"call","CopyGenJnlFromStdJnl",2],[48,"validate",81,"Posting Date"],[50,"validate",81,"Document Type"],[51,"validate",81,"Account Type"],[52,"validate",81,"Account No."],[56,"validate",81,"Bal. Account Type"],[57,"validate",81,"Bal. Account No."],[61,"validate",81,"Bal. Account Type"],[62,"validate",81,"Bal. Account No."],[66,"validate",81,"Posting Date"],[70,"write",81,"Modify",1],[73,"validate",81,"Journal Template Name"],[74,"validate",81,"Journal Batch Name"],[76,"ext","table",81,"SetUpNewLine",3],[80,"validate",81,"Posting Date"],[82,"validate",81,"Document Type"],[84,"validate",81,"Document No."],[85,"validate",81,"Account Type"],[86,"validate",81,"Account No."],[90,"validate",81,"Bal. Account Type"],[91,"validate",81,"Bal. Account No."],[95,"validate",81,"Bal. Account Type"],[96,"validate",81,"Bal. Account No."],[99,"validate",81,"Posting Date"],[103,"write",81,"Insert",1],[104,"write",81,"Modify",1]]},{"name":"Customer.OnPreDataItem","line":108,"kind":"trigger","steps":[[110,"call","CheckJournalTemplate",0],[111,"call","CheckBatchName",0],[112,"call","CheckPostingDate",0]]},{"name":"PostingDate.OnValidate","line":157,"kind":"trigger","steps":[[159,"call","CheckPostingDate",0]]},{"name":"JournalTemplate.OnValidate","line":192,"kind":"trigger","steps":[[194,"call","CheckJournalTemplate",0]]},{"name":"BatchName.OnValidate","line":221,"kind":"trigger","steps":[[223,"call","CheckBatchName",0]]},{"name":"CopyGenJnlFromStdJnl","line":331,"kind":"procedure","access":"local","params":2,"steps":[[341,"ext","codeunit",230,"CalcBalance",6],[342,"ext","table",81,"SetUpNewLine",3],[349,"ext","table",81,"UpdateLineBalance",0],[350,"validate",81,"Currency Code"],[353,"validate",81,"VAT Prod. Posting Group"],[355,"validate",81,"VAT Amount"],[356,"validate",81,"Bal. VAT Prod. Posting Group"],[359,"validate",81,"Bal. VAT Amount"],[360,"write",81,"Insert",1]]}]}