{"title":"Codeunit 6536 E-Doc. Payment Occurrence Mgt., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6536-e-doc-payment-occurrence-mgt/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-14","object":{"type":"codeunit","id":6536,"name":"E-Doc. Payment Occurrence Mgt.","app":"E-Document Core","url":"https://jonas-paprotka.de/ref/codeunit/6536-e-doc-payment-occurrence-mgt/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6536-e-doc-payment-occurrence-mgt/source/","path":"src/Apps/W1/EDocument/App/src/Processing/Message/EDocPaymentOccurrenceMgt.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:6433":{"name":"E-Doc. Payment Occurrence","url":"https://jonas-paprotka.de/ref/table/6433-e-doc-payment-occurrence/"},"codeunit:6249":{"name":"E-Doc. Payment Occ. Runner","url":"https://jonas-paprotka.de/ref/codeunit/6249-e-doc-payment-occ-runner/"},"codeunit:8711":{"name":"Telemetry","url":"https://jonas-paprotka.de/ref/codeunit/8711-telemetry/"}},"procs":[{"name":"OnRun","line":34,"kind":"trigger","steps":[[39,"call","ProcessPaymentOccurrence",1]]},{"name":"OnAfterInsertDtldCustLedgEntry","line":43,"kind":"procedure","access":"local","params":4,"steps":[[45,"call","ProcessApplication",1]]},{"name":"OnAfterInsertDtldCustLedgEntryUnapply","line":49,"kind":"procedure","access":"local","params":4,"steps":[[51,"call","ProcessUnapplication",2]]},{"name":"ProcessApplication","line":58,"kind":"procedure","params":1,"steps":[[64,"call","IsInvoiceApplication",1],[72,"call","FindInvoiceEDocuments",2],[76,"call","CreateOccurrence",8]]},{"name":"ProcessUnapplication","line":88,"kind":"procedure","params":2,"steps":[[92,"call","IsInvoiceApplication",1],[102,"call","CreateOccurrence",8]]},{"name":"CreateOccurrence","line":109,"kind":"procedure","access":"local","params":8,"steps":[[131,"write",6433,"Insert"]]},{"name":"RetryPaymentOccurrence","line":143,"kind":"procedure","params":1,"steps":[[151,"call","ProcessPaymentOccurrence",2]]},{"name":"ProcessPaymentOccurrence","line":154,"kind":"procedure","access":"local","params":2,"steps":[[172,"call","ProcessingLeaseDuration",0],[173,"write",6433,"Modify"],[177,"run","codeunit",6249],[183,"write",6433,"Modify"],[193,"call","MaxAutomaticRetryCount",0],[199,"call","AutomaticRetryDelay",1],[201,"write",6433,"Modify"],[202,"call","LogProcessingFailure",3]]},{"name":"NotifyPaymentOccurrence","line":206,"kind":"procedure","access":"internal","params":1,"steps":[[208,"event","OnAfterCreatePaymentOccurrence",0]]},{"name":"LogProcessingFailure","line":269,"kind":"procedure","access":"local","params":3,"steps":[[282,"ext","codeunit",8711,"LogMessage",6]]}]}