{"title":"Page 6121 E-Document, extension points 29","url":"https://jonas-paprotka.de/ref/page/6121-e-document/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":6121,"name":"E-Document","app":"E-Document Core","url":"https://jonas-paprotka.de/ref/page/6121-e-document/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/6121-e-document/source/","path":"src/Apps/W1/EDocument/App/src/Document/EDocument.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":{"table:6121":{"name":"E-Document","url":"https://jonas-paprotka.de/ref/table/6121-e-document/"},"codeunit:6115":{"name":"E-Document Error Helper","url":"https://jonas-paprotka.de/ref/codeunit/6115-e-document-error-helper/"},"codeunit:6102":{"name":"E-Doc. Export","url":"https://jonas-paprotka.de/ref/codeunit/6102-e-doc-export/"},"codeunit:6134":{"name":"E-Doc. Integration Management","url":"https://jonas-paprotka.de/ref/codeunit/6134-e-doc-integration-management/"},"codeunit:6108":{"name":"E-Document Processing","url":"https://jonas-paprotka.de/ref/codeunit/6108-e-document-processing/"},"codeunit:27":{"name":"Confirm Management","url":"https://jonas-paprotka.de/ref/codeunit/27-confirm-management/"},"codeunit:6140":{"name":"E-Doc. Import","url":"https://jonas-paprotka.de/ref/codeunit/6140-e-doc-import/"},"codeunit:6164":{"name":"E-Doc. Line Matching","url":"https://jonas-paprotka.de/ref/codeunit/6164-e-doc-line-matching/"},"table:6100":{"name":"E-Document Purchase Header","url":"https://jonas-paprotka.de/ref/table/6100-e-document-purchase-header/"},"page:6182":{"name":"E-Doc. Readable Purchase Doc.","url":"https://jonas-paprotka.de/ref/page/6182-e-doc-readable-purchase-doc/"},"table:700":{"name":"Error Message","url":"https://jonas-paprotka.de/ref/table/700-error-message/"},"codeunit:6133":{"name":"E-Document Background Jobs","url":"https://jonas-paprotka.de/ref/codeunit/6133-e-document-background-jobs/"},"codeunit:6132":{"name":"E-Document Log","url":"https://jonas-paprotka.de/ref/codeunit/6132-e-document-log/"}},"procs":[{"name":"Record.OnDrillDown","line":39,"kind":"trigger","steps":[[41,"ext","table",6121,"ShowRecord",0]]},{"name":"Send.OnAction","line":245,"kind":"trigger","steps":[[247,"call","SendEDocument",0]]},{"name":"Recreate.OnAction","line":257,"kind":"trigger","steps":[[266,"ext","codeunit",6115,"ClearErrorMessages",1],[267,"ext","codeunit",6102,"Recreate",2]]},{"name":"GetApproval.OnAction","line":278,"kind":"trigger","steps":[[287,"ext","codeunit",6115,"ClearErrorMessages",1],[288,"ext","codeunit",6134,"GetApprovalStatus",3]]},{"name":"Cancel.OnAction","line":299,"kind":"trigger","steps":[[308,"ext","codeunit",6115,"ClearErrorMessages",1],[309,"ext","codeunit",6134,"GetCancellationStatus",3]]},{"name":"RejectOrder.OnAction","line":325,"kind":"trigger","steps":[[327,"ext","codeunit",6108,"SendOrderRejection",1]]},{"name":"ViewFile.OnAction","line":338,"kind":"trigger","steps":[[340,"ext","table",6121,"ViewSourceFile",0]]},{"name":"RejectInboundOrder.OnAction","line":355,"kind":"trigger","steps":[[359,"ext","codeunit",27,"GetResponseOrDefault",2],[361,"ext","codeunit",6108,"SendOrderRejection",1]]},{"name":"GetBasicInfo.OnAction","line":371,"kind":"trigger","steps":[[373,"ext","codeunit",6140,"V1_GetBasicInfo",1]]},{"name":"CreateDocument.OnAction","line":383,"kind":"trigger","steps":[[390,"ext","codeunit",6140,"ProcessIncomingEDocument",2],[391,"ext","codeunit",6115,"HasErrors",1]]},{"name":"CreateJournal.OnAction","line":402,"kind":"trigger","steps":[[409,"ext","codeunit",6140,"ProcessIncomingEDocument",2],[410,"ext","codeunit",6115,"HasErrors",1]]},{"name":"MatchToOrder.OnAction","line":421,"kind":"trigger","steps":[[425,"ext","codeunit",6164,"RunMatching",1]]},{"name":"ImportManually.OnAction","line":439,"kind":"trigger","steps":[[441,"ext","codeunit",6140,"UploadDocument",1]]},{"name":"LinkOrder.OnAction","line":460,"kind":"trigger","steps":[[462,"ext","codeunit",6140,"UpdatePurchaseOrderLink",1]]},{"name":"ViewExtractedDocumentData.OnAction","line":486,"kind":"trigger","steps":[[492,"ext","table",6100,"GetFromEDocument",1],[494,"ext","page",6182,"SetBuffer",2]]},{"name":"MatchToOrderCopilotEnabled.OnAction","line":544,"kind":"trigger","steps":[[548,"ext","codeunit",6164,"RunMatching",1]]},{"name":"MatchToOrderCopilotEnabled.OnAfterGetRecord","line":566,"kind":"trigger","steps":[[569,"call","GetClearanceVisibility",0],[573,"ext","codeunit",6108,"GetRecordLinkText",1],[574,"ext","codeunit",6115,"ErrorMessageCount",1],[574,"ext","codeunit",6115,"WarningMessageCount",1],[575,"ext","codeunit",6115,"ErrorMessageCount",1],[577,"call","ShowErrorsAndWarnings",0],[579,"call","ClearErrorsAndWarnings",0],[581,"call","SetStyle",0],[582,"call","ResetActionVisibility",0],[583,"call","SetIncomingDocActions",0],[584,"call","FillLineBuffer",0],[586,"ext","codeunit",6140,"V1_ProcessEDocPendingOrderMatch",1]]},{"name":"ShowErrorsAndWarnings","line":608,"kind":"procedure","access":"local","params":0,"steps":[[614,"ext","table",700,"CopyToTemp",1]]},{"name":"SendEDocument","line":630,"kind":"procedure","access":"local","params":0,"steps":[[642,"ext","codeunit",6115,"ClearErrorMessages",1],[643,"ext","codeunit",6134,"Send",4],[647,"ext","codeunit",6133,"ScheduleGetResponseJob",0]]},{"name":"SetIncomingDocActions","line":650,"kind":"procedure","access":"local","params":0,"steps":[[659,"ext","codeunit",6132,"GetLastServiceFromLog",1]]}]}