diff --git a/src/Apps/W1/Subcontracting/App/src/Process/Pageextensions/Manufacturing/SubcProdOrderRtng.PageExt.al b/src/Apps/W1/Subcontracting/App/src/Process/Pageextensions/Manufacturing/SubcProdOrderRtng.PageExt.al index dad6779dbb..9c4c96508f 100644 --- a/src/Apps/W1/Subcontracting/App/src/Process/Pageextensions/Manufacturing/SubcProdOrderRtng.PageExt.al +++ b/src/Apps/W1/Subcontracting/App/src/Process/Pageextensions/Manufacturing/SubcProdOrderRtng.PageExt.al @@ -96,24 +96,6 @@ pageextension 99001503 "Subc. Prod. Order Rtng." extends "Prod. Order Routing" } addlast("F&unctions") { - action("WIP Adjustment") - { - ApplicationArea = Manufacturing; - Caption = 'WIP Adjustment'; - Image = AdjustEntries; - ToolTip = 'Manually adjust the WIP quantity for the selected prod. order routing line.'; - - trigger OnAction() - var - WIPLedgerEntry: Record "Subcontractor WIP Ledger Entry"; - WIPAdjustmentPage: Page "Subc. WIP Adjustment"; - begin - WIPLedgerEntry.SetProductionOrderRoutingFilter(Rec, true); - WIPAdjustmentPage.SetWIPLedgerEntry(WIPLedgerEntry); - WIPAdjustmentPage.SetDocumentNo(Rec."Prod. Order No."); - WIPAdjustmentPage.RunModal(); - end; - } action(CreateSubcontracting) { ApplicationArea = Manufacturing; @@ -157,6 +139,24 @@ pageextension 99001503 "Subc. Prod. Order Rtng." extends "Prod. Order Routing" end; end; } + action("WIP Adjustment") + { + ApplicationArea = Manufacturing; + Caption = 'WIP Adjustment'; + Image = AdjustEntries; + ToolTip = 'Manually adjust the WIP quantity for the selected prod. order routing line.'; + + trigger OnAction() + var + WIPLedgerEntry: Record "Subcontractor WIP Ledger Entry"; + WIPAdjustmentPage: Page "Subc. WIP Adjustment"; + begin + WIPLedgerEntry.SetProductionOrderRoutingFilter(Rec, true); + WIPAdjustmentPage.SetWIPLedgerEntry(WIPLedgerEntry); + WIPAdjustmentPage.SetDocumentNo(Rec."Prod. Order No."); + WIPAdjustmentPage.RunModal(); + end; + } } } var diff --git a/src/Apps/W1/Subcontracting/App/src/Process/Pages/SubcontractorPrices.Page.al b/src/Apps/W1/Subcontracting/App/src/Process/Pages/SubcontractorPrices.Page.al index 0d8026e5e1..fc8efc0b87 100644 --- a/src/Apps/W1/Subcontracting/App/src/Process/Pages/SubcontractorPrices.Page.al +++ b/src/Apps/W1/Subcontracting/App/src/Process/Pages/SubcontractorPrices.Page.al @@ -250,7 +250,7 @@ page 99001500 "Subcontractor Prices" Vendor: Record Vendor; IsLookupMode: Boolean; MultipleVendorsSelectedErr: Label 'More than one vendor uses these subcontractor prices. To copy prices, the Vendor No. Filter field must contain one vendor only.'; - MultipleWorkCenterSelectedErr: Label 'More than one work center uses these subcontractor prices. To copy prices, the Vendor No. Filter field must contain one vendor only.'; + MultipleWorkCenterSelectedErr: Label 'More than one work center uses these subcontractor prices. To copy prices, the Work Center No. Filter field must contain one work center only.'; NoDataWithinFilterErr: Label 'There is no %1 within the filter %2.', Comment = '@@@=%1: Field(Code), %2: GetFilter(Code)'; PlaceholderLbl: Label '%1 %2 %3 %4 ', Locked = true;