Codeunit 20413 Qlty. Transfer Integration
Source AL, 47 lines
src/Apps/W1/Quality Management/app/src/Integration/Inventory/Transfer/QltyTransferIntegration.Codeunit.allines 9 to 24 of 47, Copyright (c) Microsoft Corporation. MIT
codeunit 20413 "Qlty. Transfer Integration"{ /// <summary> /// Copies the quality inspection identifiers from a transfer order to its posted shipment. /// </summary> /// <param name="TransferShipmentHeader">The posted shipment receiving the inspection identifiers.</param> /// <param name="TransferHeader">The transfer order that supplies the inspection identifiers.</param> [EventSubscriber(ObjectType::Table, Database::"Transfer Shipment Header", 'OnAfterCopyFromTransferHeader', '', true, true)] local procedure HandleOnAfterCopyFromTransferHeader(var TransferShipmentHeader: Record "Transfer Shipment Header"; TransferHeader: Record "Transfer Header") begin TransferShipmentHeader."Qlty. Inspection No." := TransferHeader."Qlty. Inspection No."; TransferShipmentHeader."Qlty. Re-inspection No." := TransferHeader."Qlty. Re-inspection No."; end; /// <summary> /// Copies the quality inspection identifiers from a transfer order to its posted receipt.