Codeunit 20505 Subcontracting Management

Subcontracting, Microsoft.Manufacturing.Subcontracting

Source AL, 509 lines

src/Apps/W1/Subcontracting/App/src/General/SubcontractingManagement.Codeunit.allines 22 to 37 of 509, Copyright (c) Microsoft Corporation. MIT

codeunit 20505 "Subcontracting Management"{    var        ManufacturingSetup: Record "Manufacturing Setup";#if not CLEAN29#pragma warning disable AL0432        SubcFeatureFlagHandler: Codeunit "Subc. Feature Flag Handler";#pragma warning restore AL0432#endif        RoutingLinkUpdConfQst: Label 'If you change the Work Center, you will also change the default location for components with Routing Link Code=%1.\Do you want to continue anyway?', Comment = '%1=Routing Link Code';        SuccessfullyUpdatedMsg: Label 'Successfully updated.';        UpdateIsCancelledErr: Label 'The update is cancelled.';        WorkCenterVendorDoesntExistErr: Label 'Subcontractor %1 on Work Center %2 does not exist.', Comment = 'Parameter %1 - subcontractor/vendor number, %2 - work center number.';        PurchOrderExistErr: Label 'The currently selected component %1 is already used in Purchase Order %2. Therefore, it is not permitted to change the %3 field.', Comment = '%1=Item No, %2=Purchase Order No, %3=Field Caption';        ProductionBlockedOutputItemErr: Label 'You cannot produce %1 %2 because the %3 is %4 on the %1 card.', Comment = '%1 - Table Caption (Item), %2 - Item No., %3 - Field Caption, %4 - Field Value';        ProductionBlockedOutputItemVariantErr: Label 'You cannot produce variant %1 for %2 %3 because it is blocked for production output.', Comment = '%1 - Item Variant Code, %2 - Table Caption (Item), %3 - Item No.';

All 509 lines

Events 1 in 29

[InternalEvent] OnBeforeGetSubcontractor(WorkCenterNo: Code[20]; var Vendor: Record Vendor; var HasSubcontractor: Boolean; var IsHandled: Boolean)new in 28

Public procedures 10 in 29

ChangeLocationOnProdOrderComponent(var ProdOrderComponent: Record "Prod. Order Component"; VendorSubcontrLocation: Code[10]; OriginalLocationCode: Code[10]; OriginalBinCode: Code[20])new in 28
ChangeLocationOnPlanningComponent(var PlanningComponent: Record "Planning Component"; VendorSubcontrLocation: Code[10]; OriginalLocationCode: Code[10]; OriginalBinCode: Code[20])new in 28
DelLocationLinkedComponents(ProdOrderRoutingLine: Record "Prod. Order Routing Line"; ShowMsg: Boolean)new in 28
GetSubcontractor(WorkCenterNo: Code[20]; var Vendor: Record Vendor): Booleannew in 28
UpdateSubcontractorPriceForRequisitionLine(var RequisitionLine: Record "Requisition Line")new in 28
UpdateLinkedComponentsAfterRoutingTransfer(var ProdOrderLine: Record "Prod. Order Line"; var RoutingLine: Record "Routing Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line")new in 28

All 15 procedures in 28-29

Changes 1 in 29

List17181920212223242526272829
Procedures1
internal ValidateProdOrderCompLocationPreservingFlushingMethod(var ProdOrderComponent: Record "Prod. Order Component"; NewLocationCode: Code[10])new in 29
added

All 1 changes in 28-29