{"title":"Report 8612 Create Vendor Journal Lines, extension points 29","url":"https://jonas-paprotka.de/ref/report/8612-create-vendor-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":8612,"name":"Create Vendor Journal Lines","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/8612-create-vendor-journal-lines/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/8612-create-vendor-journal-lines/source/","path":"src/Layers/W1/BaseApp/Finance/GeneralLedger/Journal/CreateVendorJournalLines.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":"Vendor.OnAfterGetRecord","line":33,"kind":"trigger","steps":[[38,"call","GetStandardJournalLine",0],[39,"call","Initialize",2],[45,"call","CopyGenJnlFromStdJnl",2],[47,"validate",81,"Posting Date"],[49,"validate",81,"Document Type"],[50,"validate",81,"Account Type"],[51,"validate",81,"Account No."],[55,"validate",81,"Bal. Account Type"],[56,"validate",81,"Bal. Account No."],[60,"validate",81,"Bal. Account Type"],[61,"validate",81,"Bal. Account No."],[65,"validate",81,"Posting Date"],[69,"write",81,"Insert",1],[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."],[100,"validate",81,"Posting Date"],[104,"write",81,"Insert",1],[105,"write",81,"Modify",1]]},{"name":"Vendor.OnPreDataItem","line":109,"kind":"trigger","steps":[[111,"call","CheckJournalTemplate",0],[112,"call","CheckBatchName",0],[113,"call","CheckPostingDate",0]]},{"name":"PostingDate.OnValidate","line":158,"kind":"trigger","steps":[[160,"call","CheckPostingDate",0]]},{"name":"JournalTemplate.OnValidate","line":193,"kind":"trigger","steps":[[195,"call","CheckJournalTemplate",0]]},{"name":"BatchName.OnValidate","line":222,"kind":"trigger","steps":[[224,"call","CheckBatchName",0]]},{"name":"CopyGenJnlFromStdJnl","line":332,"kind":"procedure","access":"local","params":2,"steps":[[342,"ext","codeunit",230,"CalcBalance",6],[343,"ext","table",81,"SetUpNewLine",3],[350,"ext","table",81,"UpdateLineBalance",0],[351,"validate",81,"Currency Code"],[354,"validate",81,"VAT Prod. Posting Group"],[356,"validate",81,"VAT Amount"],[357,"validate",81,"Bal. VAT Prod. Posting Group"],[360,"validate",81,"Bal. VAT Amount"],[361,"write",81,"Insert",1]]}]}