TManufacturingSubOperation.GetManufacturingConsumptionItem

TManufacturingSubOperation = class (TObject)Interface de TManufacturingSubOperationExemples de TManufacturingSubOperation

Récupération d'un élément de consommation.

Syntaxe

function GetManufacturingConsumptionItem(index: Integer): TManufacturingConsumptionItem
index: index de l'élément de consommation.

Remarques

Non renseigné

Exemples

var gammeCroissant: TManufacturing;
var gammeSubOperation: TManufacturingSubOperation;
var gammeConsumption: TManufacturingConsumptionItem;
var i: integer;

gammeCroissant:=TManufacturing.ConnectByGPAOID('gammeCroissant v0.00');
try
   gammeSubOperation:=gammeCroissant.GetOperationByNumber(10).GetManufacturingSubOperation(0);
   for i:=0 to gammeSubOperation.CountManufacturingConsumptionItem-1 do begin
      gammeConsumption:=gammeSubOperation.GetManufacturingConsumptionItem(i);
      InformationDlg('Nom de l''élément de consommation: '+gammeConsumption.Name);
   end;
finally
   gammeCroissant.free;
end;
// Connexion à la gamme 'gammeCroissant' et affichage des noms des éléments de consommation d'une sous-opération.

Classification

QuBESGamme TManufacturingSubOperation