{"title":"Table extension 20506 Subc. ProdOrderRtngLine Ext., extension points 29","url":"https://jonas-paprotka.de/ref/tableextension/20506-subc-prodorderrtngline-ext/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":"tableextension","id":20506,"name":"Subc. ProdOrderRtngLine Ext.","app":"Subcontracting","url":"https://jonas-paprotka.de/ref/tableextension/20506-subc-prodorderrtngline-ext/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/tableextension/20506-subc-prodorderrtngline-ext/source/","path":"src/Apps/W1/Subcontracting/App/src/Manufacturing/SubcProdOrderRtngLineExt.TableExt.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:20505":{"name":"Subcontracting Management","url":"https://jonas-paprotka.de/ref/codeunit/20505-subcontracting-management/"},"codeunit:20508":{"name":"Subc. Price Management","url":"https://jonas-paprotka.de/ref/codeunit/20508-subc-price-management/"},"table:20574":{"name":"Subc. Prod. Rtng. Comment","url":"https://jonas-paprotka.de/ref/table/20574-subc-prod-rtng-comment/"}},"procs":[{"name":"OnAfterValidate","line":22,"kind":"trigger","steps":[[24,"call","ClearTransferWIPItemForNonWorkCenter",0]]},{"name":"OnAfterValidate","line":29,"kind":"trigger","steps":[[31,"call","ClearTransferWIPItemForNonSubcontractingWorkCenter",0]]},{"name":"OnAfterValidate","line":36,"kind":"trigger","steps":[[38,"call","UpdateLinkedComponentsAfterRoutingLinkCodeChange",0]]},{"name":"OnAfterValidate","line":43,"kind":"trigger","steps":[[45,"call","UpdateSubcPriceListAndTransferStandardTaskComments",0]]},{"name":"Transfer WIP Item.OnValidate","line":73,"kind":"trigger","steps":[[75,"call","ValidateTransferWIPItemForSubcontracting",0]]},{"name":"OnBeforeDelete","line":144,"kind":"trigger","steps":[[146,"call","CheckForSubcontractingPurchaseLineTypeMismatchOnDeleteLine",0]]},{"name":"ClearTransferWIPItemForNonWorkCenter","line":155,"kind":"procedure","access":"local","params":0,"steps":[[165,"ext","codeunit",20569,"IsSubcontractingEnabled",0]]},{"name":"ClearTransferWIPItemForNonSubcontractingWorkCenter","line":176,"kind":"procedure","access":"local","params":0,"steps":[[187,"ext","codeunit",20569,"IsSubcontractingEnabled",0]]},{"name":"UpdateLinkedComponentsAfterRoutingLinkCodeChange","line":207,"kind":"procedure","access":"local","params":0,"steps":[[218,"ext","codeunit",20569,"IsSubcontractingEnabled",0],[226,"ext","codeunit",20505,"DelLocationLinkedComponents",2],[228,"ext","codeunit",20505,"UpdLinkedComponents",2],[231,"ext","codeunit",20505,"UpdLinkedComponents",2]]},{"name":"UpdateSubcPriceListAndTransferStandardTaskComments","line":234,"kind":"procedure","access":"local","params":0,"steps":[[245,"ext","codeunit",20569,"IsSubcontractingEnabled",0],[251,"ext","codeunit",20508,"GetSubcPriceList",1]]},{"name":"TransferRoutingComments","line":275,"kind":"procedure","access":"internal","params":1,"steps":[[304,"write",20574,"Modify"],[306,"write",20574,"Insert"]]},{"name":"TransferStandardTaskComments","line":314,"kind":"procedure","access":"internal","params":1,"steps":[[337,"write",20574,"Insert"]]},{"name":"CheckForSubcontractingPurchaseLineTypeMismatch","line":345,"kind":"procedure","access":"internal","params":0,"steps":[[357,"ext","codeunit",20569,"IsSubcontractingEnabled",0]]},{"name":"CheckForSubcontractingPurchaseLineTypeMismatchOnDeleteLine","line":390,"kind":"procedure","access":"local","params":0,"steps":[[403,"ext","codeunit",20569,"IsSubcontractingEnabled",0]]}]}