{"title":"Page 6167 E-Doc. Order Line Matching, extension points 29","url":"https://jonas-paprotka.de/ref/page/6167-e-doc-order-line-matching/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":"page","id":6167,"name":"E-Doc. Order Line Matching","app":"E-Document Core","url":"https://jonas-paprotka.de/ref/page/6167-e-doc-order-line-matching/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/6167-e-doc-order-line-matching/source/","path":"src/Apps/W1/EDocument/App/src/Processing/OrderMatching/EDocOrderLineMatching.Page.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:6164":{"name":"E-Doc. Line Matching","url":"https://jonas-paprotka.de/ref/codeunit/6164-e-doc-line-matching/"},"codeunit:4144":{"name":"Purchase Manual Reopen","url":"https://jonas-paprotka.de/ref/codeunit/4144-purchase-manual-reopen/"},"table:6164":{"name":"E-Doc. Order Match","url":"https://jonas-paprotka.de/ref/table/6164-e-doc-order-match/"},"table:6121":{"name":"E-Document","url":"https://jonas-paprotka.de/ref/table/6121-e-document/"}},"procs":[{"name":"ApplyToPO.OnAction","line":78,"kind":"trigger","steps":[[80,"call","ApplyToPurchaseOrder",0]]},{"name":"MatchManual.OnAction","line":90,"kind":"trigger","steps":[[92,"call","MatchManually",0],[93,"call","SetUserInteractions",0]]},{"name":"MatchAutomatic.OnAction","line":103,"kind":"trigger","steps":[[105,"call","MatchAutomatically",0],[106,"call","SetUserInteractions",0]]},{"name":"RemoveMatch.OnAction","line":116,"kind":"trigger","steps":[[118,"call","RemoveMatches",0],[119,"call","SetUserInteractions",0]]},{"name":"RemoveAllMatch.OnAction","line":129,"kind":"trigger","steps":[[131,"ext","codeunit",6164,"RemoveAllMatches",1],[133,"call","SetUserInteractions",0]]},{"name":"MatchCopilot.OnAction","line":177,"kind":"trigger","steps":[[179,"call","SetUserInteractions",0]]},{"name":"Show.OnAfterGetRecord","line":236,"kind":"trigger","steps":[[242,"call","OpenPurchaseHeader",0]]},{"name":"OpenPurchaseHeader","line":245,"kind":"procedure","access":"local","params":0,"steps":[[250,"run","codeunit",4144]]},{"name":"ApplyToPurchaseOrder","line":253,"kind":"procedure","access":"local","params":0,"steps":[[259,"call","OpenPurchaseHeader",0],[261,"ext","codeunit",6164,"ApplyToPurchaseOrder",2]]},{"name":"RemoveMatches","line":270,"kind":"procedure","access":"local","params":0,"steps":[[276,"ext","codeunit",6164,"FindMatchesToRemove",3],[278,"ext","codeunit",6164,"PersistsUpdates",2]]},{"name":"MatchManually","line":281,"kind":"procedure","access":"local","params":0,"steps":[[290,"ext","codeunit",6164,"MatchManually",3],[292,"ext","codeunit",6164,"PersistsUpdates",2],[293,"call","NotifyUserIfCostDifference",1]]},{"name":"MatchAutomatically","line":297,"kind":"procedure","access":"local","params":0,"steps":[[306,"ext","codeunit",6164,"AskToOverwrite",3],[307,"ext","codeunit",6164,"MatchAutomatically",4],[309,"ext","codeunit",6164,"PersistsUpdates",2],[310,"call","NotifyUserIfCostDifference",1]]},{"name":"NotifyUserIfCostDifference","line":320,"kind":"procedure","access":"local","params":1,"steps":[[329,"ext","table",6164,"GetImportedLine",0],[330,"ext","table",6164,"GetPurchaseLine",0],[340,"call","SendNotification",2]]},{"name":"SetTempRecord","line":351,"kind":"procedure","access":"internal","params":1,"steps":[[353,"write",6121,"DeleteAll"],[356,"write",6121,"Insert"]]}]}