TManufacturingSubOperation.CountManufacturingConsumptionItem
| TManufacturingSubOperation = class (TObject) | Interface de TManufacturingSubOperation | Exemples de TManufacturingSubOperation |
Compte le nombre d'élément de consommation d'une sous-opération.
Syntaxe
function CountManufacturingConsumptionItem(): Integer
Remarques
Exemples
var gammeCroissant: TManufacturing;
var gammeSubOperation: TManufacturingSubOperation;
gammeCroissant:=TManufacturing.ConnectByGPAOID('gammeCroissant v0.00');
try
gammeSubOperation:=gammeCroissant.GetOperationByNumber(10).GetManufacturingSubOperation(0);
InformationDlg('Nombre d''élément de consommation: '+IntToStr(gammeSubOperation.CountManufacturingConsumptionItem));
finally
gammeCroissant.free;
end;
var gammeSubOperation: TManufacturingSubOperation;
gammeCroissant:=TManufacturing.ConnectByGPAOID('gammeCroissant v0.00');
try
gammeSubOperation:=gammeCroissant.GetOperationByNumber(10).GetManufacturingSubOperation(0);
InformationDlg('Nombre d''élément de consommation: '+IntToStr(gammeSubOperation.CountManufacturingConsumptionItem));
finally
gammeCroissant.free;
end;