{"title":"Codeunit 6233 Sust. Preview Post Instance, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6233-sust-preview-post-instance/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-23","object":{"type":"codeunit","id":6233,"name":"Sust. Preview Post Instance","app":"Sustainability","url":"https://jonas-paprotka.de/ref/codeunit/6233-sust-preview-post-instance/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6233-sust-preview-post-instance/source/","path":"src/Apps/W1/Sustainability/app/src/Posting/SustPreviewPostInstance.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":{"table:265":{"name":"Document Entry","url":"https://jonas-paprotka.de/ref/table/265-document-entry/"},"table:6216":{"name":"Sustainability Ledger Entry","url":"https://jonas-paprotka.de/ref/table/6216-sustainability-ledger-entry/"},"table:6227":{"name":"Sustainability Value Entry","url":"https://jonas-paprotka.de/ref/table/6227-sustainability-value-entry/"},"page:6220":{"name":"Sustainability Ledger Entries","url":"https://jonas-paprotka.de/ref/page/6220-sustainability-ledger-entries/"},"page:6248":{"name":"Sustainability Value Entries","url":"https://jonas-paprotka.de/ref/page/6248-sustainability-value-entries/"}},"procs":[{"name":"InsertDocumentEntry","line":6,"kind":"procedure","params":1,"steps":[[10,"call","InsertDocumentEntryForSustLedgerEntry",1],[13,"call","InsertDocumentEntryForSustValueEntry",1]]},{"name":"InsertDocumentEntryForSustLedgerEntry","line":16,"kind":"procedure","access":"local","params":1,"steps":[[30,"write",265,"Insert"]]},{"name":"InsertDocumentEntryForSustValueEntry","line":33,"kind":"procedure","access":"local","params":1,"steps":[[47,"write",265,"Insert"]]},{"name":"InsertSustLedgEntry","line":50,"kind":"procedure","params":2,"steps":[[61,"write",6216,"Insert"]]},{"name":"InsertSustValueEntry","line":66,"kind":"procedure","params":2,"steps":[[77,"write",6227,"Insert"]]},{"name":"ShowEntries","line":82,"kind":"procedure","params":0,"steps":[[84,"run","page",6220]]},{"name":"ShowSustValueEntries","line":87,"kind":"procedure","params":0,"steps":[[89,"run","page",6248]]},{"name":"Initialize","line":92,"kind":"procedure","params":0,"steps":[[96,"write",6216,"DeleteAll"],[99,"write",6227,"DeleteAll"]]}]}