{"title":"Codeunit 1512 Workflow Create Payment Line, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1512-workflow-create-payment-line/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":1512,"name":"Workflow Create Payment Line","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1512-workflow-create-payment-line/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1512-workflow-create-payment-line/source/","path":"src/Layers/W1/BaseApp/System/Workflow/WorkflowCreatePaymentLine.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":{"table:81":{"name":"Gen. Journal Line","url":"https://jonas-paprotka.de/ref/table/81-gen-journal-line/"},"codeunit:310":{"name":"No. Series","url":"https://jonas-paprotka.de/ref/codeunit/310-no-series/"}},"procs":[{"name":"OnRun","line":14,"kind":"trigger","steps":[[26,"call","CreatePmtLine",1]]},{"name":"CreatePmtLine","line":32,"kind":"procedure","params":1,"steps":[[85,"validate",81,"Account No."],[87,"validate",81,"Bal. Account No."],[88,"validate",81,"Currency Code"],[96,"validate",81,"Amount"],[104,"ext","table",81,"SetPostingDateAsDueDate",2],[104,"ext","table",81,"GetAppliesToDocDueDate",0],[105,"call","GetDocumentNo",2],[106,"write",81,"Insert"]]},{"name":"GetDocumentNo","line":109,"kind":"procedure","params":2,"steps":[[118,"ext","codeunit",310,"PeekNextNo",2]]}]}