{"title":"Page extension 3309 PA Purchase Invoice List, extension points 29","url":"https://jonas-paprotka.de/ref/pageextension/3309-pa-purchase-invoice-list/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":"pageextension","id":3309,"name":"PA Purchase Invoice List","app":"Payables Agent","url":"https://jonas-paprotka.de/ref/pageextension/3309-pa-purchase-invoice-list/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/pageextension/3309-pa-purchase-invoice-list/source/","path":"src/Apps/W1/PayablesAgent/app/Extensions/PAPurchaseInvoiceList.PageExt.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:3307":{"name":"Payables Agent Setup","url":"https://jonas-paprotka.de/ref/codeunit/3307-payables-agent-setup/"},"codeunit:3303":{"name":"Payables Agent","url":"https://jonas-paprotka.de/ref/codeunit/3303-payables-agent/"},"page:4315":{"name":"Agent Card","url":"https://jonas-paprotka.de/ref/page/4315-agent-card/"},"codeunit:2000000027":{"name":"Task Pane","url":"https://jonas-paprotka.de/ref/codeunit/2000000027-task-pane/"}},"procs":[{"name":"PANewInvoice.OnAction","line":24,"kind":"trigger","steps":[[26,"call","UploadInvoiceWithAgent",0],[27,"call","ShowTaskPaneForLatestAgentTask",0]]},{"name":"PANewInvoicePrompting.OnAction","line":40,"kind":"trigger","steps":[[42,"call","UploadInvoiceWithAgent",0],[43,"call","ShowTaskPaneForLatestAgentTask",0]]},{"name":"OnOpenPage","line":58,"kind":"trigger","steps":[[60,"ext","codeunit",3307,"CanShowAgentActions",0]]},{"name":"UploadInvoiceWithAgent","line":63,"kind":"procedure","access":"local","params":0,"steps":[[72,"ext","codeunit",3307,"CanShowAgentActions",0],[78,"ext","codeunit",3303,"PayablesAgentExistsAcrossAllCompanies",0],[79,"ext","codeunit",3307,"EnsureAgentActivated",1],[80,"ext","codeunit",3307,"ImportInvoiceFile",2],[81,"ext","codeunit",3303,"GetCustomDimensions",0]]},{"name":"ShowTaskPaneForLatestAgentTask","line":90,"kind":"procedure","access":"local","params":0,"steps":[[95,"ext","codeunit",3307,"GetAgent",1],[102,"run","page",4315],[106,"ext","codeunit",2000000027,"ShowAgent",1]]}]}