{"title":"Page extension 20503 Subc. Prod. Order Rtng., extension points 29","url":"https://jonas-paprotka.de/ref/pageextension/20503-subc-prod-order-rtng/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":20503,"name":"Subc. Prod. Order Rtng.","app":"Subcontracting","url":"https://jonas-paprotka.de/ref/pageextension/20503-subc-prod-order-rtng/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/pageextension/20503-subc-prod-order-rtng/source/","path":"src/Apps/W1/Subcontracting/App/src/Manufacturing/SubcProdOrderRtng.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":{"table:20560":{"name":"Subcontractor WIP Ledger Entry","url":"https://jonas-paprotka.de/ref/table/20560-subcontractor-wip-ledger-entry/"},"page:20561":{"name":"Subc. WIP Adjustment","url":"https://jonas-paprotka.de/ref/page/20561-subc-wip-adjustment/"},"codeunit:20569":{"name":"Subc. Feature Flag Handler","url":"https://jonas-paprotka.de/ref/codeunit/20569-subc-feature-flag-handler/"},"codeunit:20557":{"name":"Subc. Purchase Order Creator","url":"https://jonas-paprotka.de/ref/codeunit/20557-subc-purchase-order-creator/"}},"procs":[{"name":"OnAfterValidate","line":16,"kind":"trigger","steps":[[22,"call","UpdateWIPEnabled",0]]},{"name":"OnAfterValidate","line":27,"kind":"trigger","steps":[[33,"call","UpdateWIPEnabled",0]]},{"name":"CreateSubcontracting.OnAction","line":140,"kind":"trigger","steps":[[145,"call","CreateSubcontractingOrders",1]]},{"name":"WIP Adjustment.OnAction","line":156,"kind":"trigger","steps":[[161,"ext","table",20560,"SetProductionOrderRoutingFilter",2],[162,"ext","page",20561,"SetWIPLedgerEntry",1],[163,"ext","page",20561,"SetDocumentNo",1]]},{"name":"OnOpenPage","line":181,"kind":"trigger","steps":[[187,"ext","codeunit",20569,"IsSubcontractingEnabled",0]]},{"name":"WIP Adjustment.OnAfterGetRecord","line":199,"kind":"trigger","steps":[[205,"call","UpdateWIPEnabled",0]]},{"name":"OnAfterGetCurrRecord","line":208,"kind":"trigger","steps":[[214,"call","UpdateWIPEnabled",0]]},{"name":"CreateSubcontractingOrders","line":224,"kind":"procedure","access":"internal","params":1,"steps":[[230,"ext","codeunit",20557,"CreateSubcontractingOrdersForRoutingLineSelection",1],[243,"ext","codeunit",20557,"ShowCreatedPurchaseOrder",2]]}]}