TPlannedTransportLine.Data

redirigé depuis TPlannedTransportLine.GetData

TPlannedTransportLine = class (TObject)Interface de TPlannedTransportLineExemples de TPlannedTransportLine

Qubes 6.3 Données sous forme Nom=Valeur

Syntaxe

property Data: TStrings read write

Remarques

Lecture et écriture de la propriété
L'enregistrement de la propriété est fait par l'appel de la méthode Post

Exemples

uses SysUtils, QubesLogistics.PlannedTransports, QubesLogistics.ReceiptAndDelivery;

// Création de l'’attendu
var attendu:=TPlannedTransport.Create;
attendu.Site:='ACL'; // champs obligatoire
attendu.FlowType:=TLogisticsFlowType.Purchase; // champs obligatoire
attendu.OriginSoftware:='56574'; // champs obligatoire
attendu.PlannedTransportNumber:='56'; // champs obligatoire
attendu.OrderNumber:='28';
// Création de la ligne d'’attendu
var myList:=TStrings.Create;
myList.Add('Name=Value');
myList.Add('Name=Value2');
var attenduLine:=attendu.AddLine;
attenduLine.Data := myList;
attendu.Post;

Classification

QubesLogistics.PlannedTransports TPlannedTransportLine