TPlannedTransportLine.WorkOrder

redirigé depuis TPlannedTransportLine.GetWorkOrder



TPlannedTransportLine = class (TObject)Interface de TPlannedTransportLineExemples de TPlannedTransportLine

Qubes 6.1 Lien vers l'ordre de fabrication

Syntaxe

property WorkOrder: String read FWorkOrderGPAOID write SetWorkOrder

Remarques

Lecture et écriture de la propriété sous forme de GPAOID.
Lors de l'écriture, si le GPAOID ne correspond a aucun ordre de fabrication, l'objet retourne une exception.
L'enregistrement de la propriété est fait par l'appel de la méthode Post

Exemples

uses QubesLogistics.PlannedTransports, QubesLogistics.ReceiptAndDelivery;

var attendu:=TPlannedTransport.Connect('ACL', TLogisticsFlowType.Purchase, '2877s555sq85', '56');

var attenduLine:=attendu.AddLine;
attenduLine.ItemGPAOID:='Farine55';
attenduLine.Manufacturer:='Moulin Maurice';
attenduLine.ManufacturerItemCode:='215988744';
attenduLine.ExpectedQuantity2:=5000;
attenduLine.HandlingUnit2:='pal'; // palette
attenduLine.HandlingQuantity2:=5;
attenduLine.OperationNumber:=123456;
attenduLine.OrderLineNumber:=5688977;
attenduLine.ExpectedQuantity2Unit:='kg';
attenduLine.ReservedBatchNumber:='Batch5427';
attenduLine.TransportLineNumber:=14789;
attenduLine.Warehouse:='Magasin258';
attenduLine.WorkOrder:='OF1258741';
attendu.Post;

Classification

QubesLogistics.PlannedTransports TPlannedTransportLine