import { Entity, DefaultDeSerializers, DeSerializers, DeserializedType } from '@sap-cloud-sdk/odata-v2'; import { ProductUnitsOfMeasureEan, ProductUnitsOfMeasureEanType } from './ProductUnitsOfMeasureEan'; /** * This class represents the entity "A_ProductUnitsOfMeasure" of service "API_PRODUCT_SRV". */ export declare class ProductUnitsOfMeasure extends Entity implements ProductUnitsOfMeasureType { /** * Technical entity name for ProductUnitsOfMeasure. */ static _entityName: string; /** * Default url path for the according service. */ static _defaultServicePath: string; /** * All key fields of the ProductUnitsOfMeasure entity */ static _keys: string[]; /** * Material Number. * Alphanumeric key uniquely identifying the material. * Maximum length: 40. */ product: DeserializedType; /** * Alternative Unit of Measure for Stockkeeping Unit. * Unit of measure in which quantities can be entered alternatively to the base unit of measure / stockkeeping unit. * Maximum length: 3. */ alternativeUnit: DeserializedType; /** * Numerator for Conversion to Base Units of Measure. * Indicates the conversion factor for base unit of measure. Note that negative values are not allowed in this field. * Numerator of the quotient that specifies the ratio of the alternative unit of measure to the base unit of measure.To convert a quantity, whose unit of measure is not the same as the base unit of measure, into the base unit of measure, the system requires a quotient:Quantity (in alternative unit of measure) = quotient * quantity (in base unit of measure)Enter the number of units of the alternative unit of measure (denominator) that corresponds to the number of units of the base unit of measure (numerator).The alternative unit of measure is kilogram (kg). The base unit of measure is piece (PC). 5 kg correspond to 3 pieces.5 kg = 3 PC => 1 kg = 3/5 PCIn this case, the quotient is therefore 3/5 (the numerator being 3 and the denominator 5).You may enter only whole numbers in the numerator and denominator fields; that is, if 3.14 m² correspond to one piece, you must enter integer multiples (314 m² = 100 PC). In this case, the quotient is therefore 100/314 (the numerator being 100 and the denominator 314). * @nullable */ quantityNumerator?: DeserializedType | null; /** * Denominator for conversion to base units of measure. * Denominator of the quotient that specifies the ratio of the alternative unit of measure to the base unit of measure. * To convert a quantity, whose unit of measure is not the same as the base unit of measure, into the base unit of measure, the system requires a quotient:Quantity (in alternative unit of measure) = quotient * quantity (in base unit of measure)Enter the number of units of the alternative unit of measure (denominator) that corresponds to the number of units of the base unit of measure (numerator).The alternative unit of measure is kilogram (kg). The base unit of measure is piece (PC). 5 kg correspond to 3 pieces.5 kg = 3 PC => 1 kg = 3/5 PCIn this case, the quotient is therefore 3/5 (the numerator being 3 and the denominator 5).You may enter only whole numbers in the numerator and denominator fields; that is, if 3.14 m² correspond to one piece, you must enter integer multiples (314 m² = 100 PC). In this case, the quotient is therefore 100/314 (the numerator being 100 and the denominator 314). * @nullable */ quantityDenominator?: DeserializedType | null; /** * Volume. * Space that the material occupies per unit of volume. The volume refers to the unit specified in the "Volume unit" field. * The volume and its unit always refer to the base unit of measure. * @nullable */ materialVolume?: DeserializedType | null; /** * Volume Unit. * Unit referring to the volume of the material. * If you specify a volume, you have to enter the corresponding volume unit here. * Maximum length: 3. * @nullable */ volumeUnit?: DeserializedType | null; /** * Gross Weight. * Gross weight expressed in the unit of weight specified by you in the Unit of weight field. * @nullable */ grossWeight?: DeserializedType | null; /** * Unit of Weight. * Unit referring to the gross weight or net weight of the material. * If you specify a weight, you must enter the corresponding unit of weight here. * Maximum length: 3. * @nullable */ weightUnit?: DeserializedType | null; /** * International Article Number (EAN/UPC). * Glossary definition. * Maximum length: 18. * @nullable */ globalTradeItemNumber?: DeserializedType | null; /** * Category of Global Trade Item Number (GTIN). * Defines how the system determines a Global Trade Item Number (GTIN) to be assigned internally, and which check criteria (check digit, prefix, and so on) a GTIN of this category must fulfil. * Maximum length: 2. * @nullable */ globalTradeItemNumberCategory?: DeserializedType | null; /** * Length. * Length of the material or its packaging, measured in the unit of dimension. * @nullable */ unitSpecificProductLength?: DeserializedType | null; /** * Width. * Breadth of the material or its packaging, measured in the unit of dimension. * @nullable */ unitSpecificProductWidth?: DeserializedType | null; /** * Height. * Height of the material or its packaging, measured in the unit of dimension. * @nullable */ unitSpecificProductHeight?: DeserializedType | null; /** * Unit of Dimension for Length/Width/Height. * Unit in which the dimensions of length, breadth, and height of a material or its packaging are measured. * Maximum length: 3. * @nullable */ productMeasurementUnit?: DeserializedType | null; /** * Lower-Level Unit of Measure in a Packing Hierarchy. * Your base unit of measure is piece. 12 pieces fit into a box, and 10 boxes fit onto a pallet. In this case, piece is the lower-level unit of measure with regard to box, and box is the lower-level unit of measure with regard to pallet. Conversely, pallet is the higher-level unit of measure with regard to box, and so on. * Maximum length: 3. * @nullable */ lowerLevelPackagingUnit?: DeserializedType | null; /** * Remaining Volume after Nesting (in Percentage). * Describes the remaining volume in percent when two materials are stacked inside each other. * For example, if you place a cup on another cup, the volume of the first cup remains the same. However, since part of the second cup disappears into the first cup, the volume of the second cup is reduced.This data element describes the remaining volume of the first cup as a percentage of the 'normal' volume. * @nullable */ remainingVolumeAfterNesting?: DeserializedType | null; /** * Maximum Stacking Factor. * Specifies the allowed stacking factor. You can use the maximum stacking factor, for example, to specify how many pieces of a material, or how many crates can be placed on top of each other. The factor is quantity-dependent. * @nullable */ maximumStackingFactor?: DeserializedType | null; /** * Capacity Usage. * @nullable */ capacityUsage?: DeserializedType | null; /** * Base Unit of Measure. * Unit of measure in which stocks of the material are managed. The system converts all the quantities you enter in other units of measure (alternative units of measure) to the base unit of measure. * You define the base unit of measure and also alternative units of measure and their conversion factors in the material master record.Since all data is updated in the base unit of measure, your entry is particularly important for the conversion of alternative units of measure. A quantity in the alternative unit of measure can only be shown precisely if its value can be shown with the decimal places available. To ensure this, please note the following:The base unit of measure is the unit satisfying the highest necessary requirement for precision.The conversion of alternative units of measure to the base unit should result in simple decimal fractions (not, for example, 1/3 = 0.333...).Inventory ManagementIn Inventory Management, the base unit of measure is the same as the stockkeeping unit.ServicesServices have units of measure of their own, including the following:Service unitUnit of measure at the higher item level. The precise quantities of the individual services are each at the detailed service line level.BlanketUnit of measure at service line level for services to be provided once only, and for which no precise quantities can or are to be specified. * Maximum length: 3. * @nullable */ baseUnit?: DeserializedType | null; /** * One-to-many navigation property to the [[ProductUnitsOfMeasureEan]] entity. */ toInternationalArticleNumber: ProductUnitsOfMeasureEan[]; } export interface ProductUnitsOfMeasureType { product: DeserializedType; alternativeUnit: DeserializedType; quantityNumerator?: DeserializedType | null; quantityDenominator?: DeserializedType | null; materialVolume?: DeserializedType | null; volumeUnit?: DeserializedType | null; grossWeight?: DeserializedType | null; weightUnit?: DeserializedType | null; globalTradeItemNumber?: DeserializedType | null; globalTradeItemNumberCategory?: DeserializedType | null; unitSpecificProductLength?: DeserializedType | null; unitSpecificProductWidth?: DeserializedType | null; unitSpecificProductHeight?: DeserializedType | null; productMeasurementUnit?: DeserializedType | null; lowerLevelPackagingUnit?: DeserializedType | null; remainingVolumeAfterNesting?: DeserializedType | null; maximumStackingFactor?: DeserializedType | null; capacityUsage?: DeserializedType | null; baseUnit?: DeserializedType | null; toInternationalArticleNumber: ProductUnitsOfMeasureEanType[]; } //# sourceMappingURL=ProductUnitsOfMeasure.d.ts.map