{"title":"Codeunit 1420 Doc. Exch. Serv.- Doc. Status, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1420-doc-exch-serv-doc-status/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":1420,"name":"Doc. Exch. Serv.- Doc. Status","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1420-doc-exch-serv-doc-status/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1420-doc-exch-serv-doc-status/source/","path":"src/Layers/W1/BaseApp/eServices/EDocument/DocExchServDocStatus.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:1411":{"name":"Doc. Exch. Links","url":"https://jonas-paprotka.de/ref/codeunit/1411-doc-exch-links/"},"codeunit:701":{"name":"Data Type Management","url":"https://jonas-paprotka.de/ref/codeunit/701-data-type-management/"},"codeunit:10":{"name":"Type Helper","url":"https://jonas-paprotka.de/ref/codeunit/10-type-helper/"},"codeunit:1410":{"name":"Doc. Exch. Service Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1410-doc-exch-service-mgt/"},"table:710":{"name":"Activity Log","url":"https://jonas-paprotka.de/ref/table/710-activity-log/"}},"procs":[{"name":"OnRun","line":14,"kind":"trigger","steps":[[16,"call","CheckPostedInvoices",0],[17,"call","CheckPostedCrMemos",0],[19,"event","OnAfterCheckPostedDocs",0]]},{"name":"CheckPostedInvoices","line":27,"kind":"procedure","access":"local","params":0,"steps":[[38,"ext","codeunit",1411,"CheckAndUpdateDocExchInvoiceStatus",1]]},{"name":"CheckPostedCrMemos","line":43,"kind":"procedure","access":"local","params":0,"steps":[[54,"ext","codeunit",1411,"CheckAndUpdateDocExchCrMemoStatus",1]]},{"name":"CheckAndUpdateDocExchStatus","line":59,"kind":"procedure","access":"local","params":1,"steps":[[67,"event","OnBeforeCheckAndUpdateDocExchStatus",1],[75,"ext","codeunit",1411,"CheckAndUpdateDocExchInvoiceStatus",1],[80,"ext","codeunit",1411,"CheckAndUpdateDocExchCrMemoStatus",1]]},{"name":"DocExchStatusDrillDown","line":87,"kind":"procedure","params":1,"steps":[[93,"ext","codeunit",701,"GetRecordRef",2],[95,"event","OnDocExchStatusDrillDown",0],[97,"call","DefaultDocExchStatusDrillDown",1]]},{"name":"DefaultDocExchStatusDrillDown","line":100,"kind":"procedure","access":"local","params":1,"steps":[[113,"call","IsSupportedByDefaultDocExchStatusDrillDown",1],[115,"ext","codeunit",701,"FindFieldByName",3],[119,"ext","codeunit",10,"GetOptionNo",2],[121,"ext","codeunit",10,"GetOptionNo",2],[122,"ext","codeunit",10,"GetOptionNo",2],[124,"call","CheckAndUpdateDocExchStatus",1],[125,"ext","codeunit",10,"GetOptionNo",2],[127,"ext","codeunit",701,"FindFieldByName",3],[129,"ext","codeunit",1410,"GetExternalDocURL",1],[133,"ext","table",710,"ShowEntries",1]]},{"name":"IsSupportedByDefaultDocExchStatusDrillDown","line":136,"kind":"procedure","access":"local","params":1,"steps":[[140,"event","OnAfterIsSupportedByDefaultDocExchStatusDrillDown",0]]}]}