{"title":"Codeunit 20565 Subc. Posting Preview Binding, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/20565-subc-posting-preview-binding/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":20565,"name":"Subc. Posting Preview Binding","app":"Subcontracting","url":"https://jonas-paprotka.de/ref/codeunit/20565-subc-posting-preview-binding/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/20565-subc-posting-preview-binding/source/","path":"src/Apps/W1/Subcontracting/App/src/WIPItem/SubcPostingPreviewBinding.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/"},"codeunit:20567":{"name":"Subc. Pst. Prev. Event Handler","url":"https://jonas-paprotka.de/ref/codeunit/20567-subc-pst-prev-event-handler/"}},"procs":[{"name":"BindPostPrevEventHandlerOnAfterBindSubscription","line":19,"kind":"procedure","access":"local","params":0,"steps":[[21,"call","TryBindPostingPreviewHandler",0]]},{"name":"UnbindPostPrecEventHandlerOnAfterUnbindSubscription","line":25,"kind":"procedure","access":"local","params":0,"steps":[[27,"call","TryUnbindPostingPreviewHandler",0]]},{"name":"TryBindPostingPreviewHandler","line":30,"kind":"procedure","access":"local","params":0,"steps":[[36,"ext","codeunit",20569,"IsSubcontractingEnabled",0],[40,"ext","codeunit",20567,"DeleteAll",0]]},{"name":"TryUnbindPostingPreviewHandler","line":44,"kind":"procedure","access":"local","params":0,"steps":[[50,"ext","codeunit",20569,"IsSubcontractingEnabled",0]]}]}