TPlannedTransportLine.ExpectedQuantity2
redirigé depuis TPlannedTransportLine.GetExpectedQuantity2
| TPlannedTransportLine = class (TObject) | Interface de TPlannedTransportLine | Exemples de TPlannedTransportLine |
Qubes 6.3 Seconde quantité attendue
Syntaxe
property ExpectedQuantity2: Float read write
Remarques
Quantité de la ligne d'attendu exprimée dans une autre quantité/unité.
par exemple première quantité : 1 palette, seconde quantité : 25 cartons
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.ExpectedQuantity2:=5000;
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.ExpectedQuantity2:=5000;
end;
attendu.Post;