{"title":"Codeunit 1207 Pmt Export Mgt Vend Ledg Entry, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1207-pmt-export-mgt-vend-ledg-entry/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":1207,"name":"Pmt Export Mgt Vend Ledg Entry","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1207-pmt-export-mgt-vend-ledg-entry/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1207-pmt-export-mgt-vend-ledg-entry/source/","path":"src/Layers/W1/BaseApp/Bank/Payment/PmtExportMgtVendLedgEntry.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":{"codeunit:1212":{"name":"Pmt. Export Vend. Ledger Check","url":"https://jonas-paprotka.de/ref/codeunit/1212-pmt-export-vend-ledger-check/"},"codeunit:1210":{"name":"Payment Export Mgt","url":"https://jonas-paprotka.de/ref/codeunit/1210-payment-export-mgt/"},"table:270":{"name":"Bank Account","url":"https://jonas-paprotka.de/ref/table/270-bank-account/"},"table:1226":{"name":"Payment Export Data","url":"https://jonas-paprotka.de/ref/table/1226-payment-export-data/"},"table:98":{"name":"General Ledger Setup","url":"https://jonas-paprotka.de/ref/table/98-general-ledger-setup/"},"table:288":{"name":"Vendor Bank Account","url":"https://jonas-paprotka.de/ref/table/288-vendor-bank-account/"},"table:25":{"name":"Vendor Ledger Entry","url":"https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/"},"codeunit:113":{"name":"Vend. Entry-Edit","url":"https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/"}},"procs":[{"name":"ExportVendorPaymentFileYN","line":40,"kind":"procedure","params":1,"steps":[[42,"call","IsVendorLedgerEntryExported",1],[42,"call","IsAppliedToVendorPaymentExported",1],[45,"call","ExportVendorPaymentFile",1]]},{"name":"ExportVendorPaymentFile","line":103,"kind":"procedure","params":1,"steps":[[105,"run","codeunit",1212],[106,"call","ExportVendLedgerEntry",1],[107,"call","SetExportFlagOnVendorLedgerEntries",1]]},{"name":"ExportVendLedgerEntry","line":116,"kind":"procedure","params":1,"steps":[[129,"ext","codeunit",1210,"CreateDataExch",2],[134,"event","OnBeforeCreateVendLedgerDataExchLine",0],[137,"call","CreateVendLedgerDataExchLine",3],[141,"event","OnBeforePaymentExportVendorLedgerEntry",0],[144,"ext","codeunit",1210,"ExportToFile",1]]},{"name":"CreateVendLedgerDataExchLine","line":147,"kind":"procedure","access":"local","params":3,"steps":[[151,"call","PreparePaymentExportDataVLE",4],[152,"ext","codeunit",1210,"CreatePaymentLines",1]]},{"name":"PreparePaymentExportDataVLE","line":163,"kind":"procedure","params":4,"steps":[[177,"ext","table",270,"GetBankExportImportSetup",1],[178,"ext","table",1226,"SetPreserveNonLatinCharacters",1],[190,"ext","table",98,"GetCurrencyCode",1],[192,"ext","table",288,"GetBankAccountNo",0],[221,"event","OnBeforeInsertPmtExportDataJnlFromVendorLedgerEntry",0],[222,"write",1226,"Insert",1]]},{"name":"EnableExportToServerTempFile","line":231,"kind":"procedure","params":2,"steps":[[233,"ext","codeunit",1210,"EnableExportToServerTempFile",2]]},{"name":"GetServerTempFileName","line":241,"kind":"procedure","params":0,"steps":[[243,"ext","codeunit",1210,"GetServerTempFileName",0]]},{"name":"SetExportFlagOnVendorLedgerEntries","line":246,"kind":"procedure","access":"local","params":1,"steps":[[252,"validate",25,"Exported to Payment File"],[253,"run","codeunit",113]]}]}