{"title":"Codeunit 1304 Sales-Quote to Invoice Yes/No, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1304-sales-quote-to-invoice-yes-no/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":1304,"name":"Sales-Quote to Invoice Yes/No","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1304-sales-quote-to-invoice-yes-no/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1304-sales-quote-to-invoice-yes-no/source/","path":"src/Layers/W1/BaseApp/Sales/Document/SalesQuotetoInvoiceYesNo.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:1305":{"name":"Sales-Quote to Invoice","url":"https://jonas-paprotka.de/ref/codeunit/1305-sales-quote-to-invoice/"},"codeunit:1630":{"name":"Office Management","url":"https://jonas-paprotka.de/ref/codeunit/1630-office-management/"},"page:43":{"name":"Sales Invoice","url":"https://jonas-paprotka.de/ref/page/43-sales-invoice/"}},"procs":[{"name":"OnRun","line":16,"kind":"trigger","steps":[[23,"call","ConfirmConvertToInvoice",1],[26,"run","codeunit",1305],[27,"ext","codeunit",1305,"GetSalesInvoiceHeader",1],[32,"ext","codeunit",1630,"AttachAvailable",0],[33,"call","ShowInvoice",1],[35,"call","ConfirmOpenNewInvoice",2],[36,"call","ShowInvoice",1]]},{"name":"ShowInvoice","line":43,"kind":"procedure","access":"local","params":1,"steps":[[48,"event","OnBeforeShowInvoice",1],[52,"run","page",43]]},{"name":"ConfirmOpenNewInvoice","line":55,"kind":"procedure","access":"local","params":2,"steps":[[60,"event","OnBeforeConfirmOpenNewInvoice",1]]},{"name":"ConfirmConvertToInvoice","line":67,"kind":"procedure","access":"local","params":1,"steps":[[72,"event","OnBeforeConfirmConvertToInvoice",1]]}]}