TPlannedTransportLine.HandlingUnit
| TPlannedTransportLine = class (TObject) | Interface de TPlannedTransportLine | Exemples de TPlannedTransportLine |
Qubes 6.3 Unité de quantité de manutention à emballer
Syntaxe
property HandlingUnit: String read write SetHandlingUnit
Remarques
Lecture et écriture de la propriété exprimée sous forme d'abréviation de l'unité de mesure.
Lors de l'écriture, si l'abréviation est incorrecte alors l'objet lève 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');
for var i:=0 to attendu.LineCount-1 do begin
var attenduLine:=attendu.Lines[i];
attenduLine.ExpectedQuantity:=5000;
attenduLine.HandlingUnit:='pal'; // palette
attenduLine.HandlingQuantity:=5;
end;
attendu.Post;
var attendu:=TPlannedTransport.Connect('ACL', TLogisticsFlowType.Purchase, '2877s555sq85', '56');
for var i:=0 to attendu.LineCount-1 do begin
var attenduLine:=attendu.Lines[i];
attenduLine.ExpectedQuantity:=5000;
attenduLine.HandlingUnit:='pal'; // palette
attenduLine.HandlingQuantity:=5;
end;
attendu.Post;