{"title":"Codeunit 20566 Subc. Posting Preview Subscr., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/20566-subc-posting-preview-subscr/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":20566,"name":"Subc. Posting Preview Subscr.","app":"Subcontracting","url":"https://jonas-paprotka.de/ref/codeunit/20566-subc-posting-preview-subscr/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/20566-subc-posting-preview-subscr/source/","path":"src/Apps/W1/Subcontracting/App/src/WIPItem/SubcPostingPreviewSubscr.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:20569":{"name":"Subc. Feature Flag Handler","url":"https://jonas-paprotka.de/ref/codeunit/20569-subc-feature-flag-handler/"},"page:20560":{"name":"Subc. WIP Ledger Entries","url":"https://jonas-paprotka.de/ref/page/20560-subc-wip-ledger-entries/"},"codeunit:20":{"name":"Posting Preview Event Handler","url":"https://jonas-paprotka.de/ref/codeunit/20-posting-preview-event-handler/"},"codeunit:20567":{"name":"Subc. Pst. Prev. Event Handler","url":"https://jonas-paprotka.de/ref/codeunit/20567-subc-pst-prev-event-handler/"}},"procs":[{"name":"GetEntriesOnGetEntries","line":22,"kind":"procedure","access":"local","params":2,"steps":[[26,"ext","codeunit",20569,"IsSubcontractingEnabled",0],[30,"call","GetAllTables",0]]},{"name":"ShowEntriesOnAfterShowEntries","line":38,"kind":"procedure","access":"local","params":1,"steps":[[42,"ext","codeunit",20569,"IsSubcontractingEnabled",0],[46,"call","GetAllTables",0],[49,"run","page",20560]]},{"name":"FillDocumentEntryOnAfterFillDocumentEntry","line":54,"kind":"procedure","access":"local","params":1,"steps":[[58,"ext","codeunit",20569,"IsSubcontractingEnabled",0],[62,"call","GetAllTables",0],[63,"ext","codeunit",20,"InsertDocumentEntry",2]]},{"name":"GetAllTables","line":66,"kind":"procedure","access":"local","params":0,"steps":[[70,"ext","codeunit",20567,"GetTempSubcontractorWIPLedgerEntry",1]]}]}