import { Entity, DefaultDeSerializers, DeSerializers, DeserializedType } from '@sap-cloud-sdk/odata-v2'; import { ProductPlantMrpArea, ProductPlantMrpAreaType } from './ProductPlantMrpArea'; import { ProductPlantQualityMgmt, ProductPlantQualityMgmtType } from './ProductPlantQualityMgmt'; import { ProductPlantSales, ProductPlantSalesType } from './ProductPlantSales'; import { ProductPlantStorage, ProductPlantStorageType } from './ProductPlantStorage'; import { ProductPlantText, ProductPlantTextType } from './ProductPlantText'; import { ProductPlantIntlTrd, ProductPlantIntlTrdType } from './ProductPlantIntlTrd'; import { ProductPlantCosting, ProductPlantCostingType } from './ProductPlantCosting'; import { ProductPlantForecasting, ProductPlantForecastingType } from './ProductPlantForecasting'; import { ProductPlantProcurement, ProductPlantProcurementType } from './ProductPlantProcurement'; import { ProductSupplyPlanning, ProductSupplyPlanningType } from './ProductSupplyPlanning'; import { ProductWorkScheduling, ProductWorkSchedulingType } from './ProductWorkScheduling'; import { ProductStorageLocation, ProductStorageLocationType } from './ProductStorageLocation'; /** * This class represents the entity "A_ProductPlant" of service "API_PRODUCT_SRV". */ export declare class ProductPlant extends Entity implements ProductPlantType { /** * Technical entity name for ProductPlant. */ static _entityName: string; /** * Default url path for the according service. */ static _defaultServicePath: string; /** * All key fields of the ProductPlant entity */ static _keys: string[]; /** * Material Number. * Alphanumeric key uniquely identifying the material. * Maximum length: 40. */ product: DeserializedType; /** * Plant. * Key uniquely identifying a plant. * Maximum length: 4. */ plant: DeserializedType; /** * Purchasing Group. * Key for a buyer or a group of buyers, who is/are responsible for certain purchasing activities. * Internally, the purchasing group is responsible for the procurement of a material or a class of materials.Externally, it is the medium through which contacts with the vendor are maintained. * Maximum length: 3. * @nullable */ purchasingGroup?: DeserializedType | null; /** * Country/Region of Origin of Material (Non-Preferential Ori.). * Key of the country in which the material has been produced. * You are legally required to specify the country of origin both for export and import.ExportYou prove the origin of a material by presenting the certificate of origin. This is issued and controlled by the relevant authority of the issuing country.This authority confirms the origin of a material and the required information with the certificate of origin.ImportThe relevant authority of the importing country - usually the Ministry of Economic Affairs - stipulates which regulations regarding customs and foreign trade law have to be observed for the certificates of origin accompanying goods.This information is used for foreign trade processing in different areas, such as:Foreign trade lawCustoms lawExample for Europe:Article 9 of the EU origin regulation is the legal regulation for the certificate of origin.The responsible authorities in Germany include:Chamber of Commerce (Industrie- und Handelskammer)Chamber of Handicrafts (Handwerkskammer)Customs office. * Maximum length: 3. * @nullable */ countryOfOrigin?: DeserializedType | null; /** * Region of Origin of Material (Non-Preferential Origin). * Describes more precisely the origin of goods. * You can enter a region of the country from which the goods originate.This information is required for the declarations regarding goods dispatches/imports and goods receipts/exports which are made to the authorities. Declarations to the authorities for foreign trade are a legal requirement in many countries.INTRASTAT - Declaration in the European UnionEXTRASTAT - Declaration in the European UnionIn the materials management document, the 'region of destination' field indicates the region of the receiving plant. * Maximum length: 3. * @nullable */ regionOfOrigin?: DeserializedType | null; /** * Issue Storage Location. * In the case of a material produced in-house, this is the key of the storage location that is copied to the planned order, production order, or run schedule quantity. * If the material is a component, it is the issuing storage location to which a backflush is posted.If the material is produced, it is the receiving storage location to which the receipt of the material is posted. * Maximum length: 4. * @nullable */ productionInvtryManagedLoc?: DeserializedType | null; /** * Plant-Specific Material Status. * Indicates whether, for a specific plant, the material may be used in the following areas: * Materials management (for example, in purchasing and in inventory management)Production planning and controlPlant maintenanceWarehouse managementCosting with a quantity structureThe plant-specific material status restricts the usability of the material for the plant concerned, that is, it defines whether a warning or error message is displayed if you include the material in a particular function.The material may be a part under development or one to be discontinued. * Maximum length: 2. * @nullable */ profileCode?: DeserializedType | null; /** * Date from Which the Plant-Specific Material Status Is Valid. * Materials planning * The valid-from date of the material status is considered only if it precedes or is the same as the planning date; that is, if the valid-from date is later than the planning date, it is not considered, even if it is within the planning horizon.ExampleI<-------------Planning horizon------------->I-----I--------------------I-----------------------I-->Planning date Valid-from date TimeIn this case, the valid-from date is not considered in materials planning since it is later than the planning date.PurchasingThe valid-from date of the material status is checked against the current date.ExampleYou block the material for purchasing from May 1, xxxx. A purchase order is created for the material on April 28, xxxx with a delivery date of May 10, xxxx. In this case, the valid-from date May 1, xxxx is checked against the purchase order date April 28, xxxx and the purchase order is allowed. Had you created the purchase order on May 3, xxxx, an error message would have been issued. * @nullable */ profileValidityStartDate?: DeserializedType | null; /** * Checking Group for Availability Check. * This field has two uses: * Specifies whether and how the system checks availability and generates requirements for materials planning.In Flexible Planning, defines - together with the checking rule - the different MRP elements that make up this key figure. The sum of these elements gives the key figure.Use 1: Availability Checking and Materials PlanningThe value you enter for use 1 (see above) is a default value which defines:Which MRP elements (for example, purchase orders, reservations) the system includes in the availability checkWhether the system checks availability only until the end of the replenishment lead time or whether it checks availability over the entire period for which MRP elements existWhether the system generates individual requirements or summarized requirements if you enter sales orders or deliveries for the materialUse 2: Flexible PlanningIf you use this field to define the MRP elements of a key figure for Flexible Planning, you must also select Document KF in the Customizing parameters of the information structure. * Maximum length: 2. * @nullable */ availabilityCheckType?: DeserializedType | null; /** * Fiscal Year Variant. * The fiscal year variant is used to define the fiscal year. * You can define the following using a fiscal year variant:How many posting periods are in a fiscal yearHow many special periods you requireHow the system determines the posting periods when postingIn the definition, you allocate your posting periods to the calendar year.Allocation control requires the same number of posting periods in the company code and in the assigned controlling area.This means that the number of posting periods in the fiscal year variants must be the same in the company code and in the controlling area. The period limits for the two fiscal year variants must also coincide.You must define which fiscal year variant is to be used for each company code. To do this, you must define the appropriate fiscal year variant. It must contain no more than 16 periods.Note:The company codes delivered with the standard system are allocated to the fiscal year variant that corresponds to the calendar year and which also uses four special periods.You define fiscal year variants as well as the allocation of fiscal year variant to the company code in Financial Accounting customizing. * Maximum length: 2. * @nullable */ fiscalYearVariant?: DeserializedType | null; /** * Period Indicator. * Indicator specifying the periods in which the material's consumption values and forecast values are managed. * Maximum length: 1. * @nullable */ periodType?: DeserializedType | null; /** * Profit Center. * Key which together with the controlling area uniquely identifies a profit center. * Maximum length: 10. * @nullable */ profitCenter?: DeserializedType | null; /** * Commodity Code. * Official code number based on the Harmonized Commodity Description and Coding System (HS). * The Harmonized System contains code numbers for all goods that an be transported across national or regional boundaries. Goods are coded according to this nomenclature when declaring the import or export of goods to the proper authorities. The specification of standard commodity codes in declarations enables the authority to tally the quantities of imported or exported goods of specific goods categories for statistical purposes (INTRASTAT). * Maximum length: 17. * @nullable */ commodity?: DeserializedType | null; /** * Goods receipt processing time in days. * Number of workdays required after receiving the material for inspection and placement into storage. * @nullable */ goodsReceiptDuration?: DeserializedType | null; /** * Maintenance status. * The maintenance status records: * Which user departments may maintain a material master record of a particular material typeWhich user departments have already maintained the material master record at a particular hierarchy levelThe overall maintenance status is made up of the individual maintenance statuses. The individual maintenance statuses have the following meaning:User department Maintenance statusWork scheduling AAccounting BClassification CMRP DPurchasing EProduction resources/tools FCosting GBasic data KStorage LForecasting PQuality management QWarehouse management SSales VPlant stocks XStorage location stocks Z. * Maximum length: 15. * @nullable */ maintenanceStatusName?: DeserializedType | null; /** * Flag Material for Deletion at Plant Level. * If this indicator is set, the archive and delete program checks whether the material may be deleted at plant level, and deletes the data at this level and at all lower levels accordingly. * @nullable */ isMarkedForDeletion?: DeserializedType | null; /** * MRP Type. * Key that determines whether and how the material is planned. You have the following options: * Manual reorder point planningAutomatic reorder point planningForecast-based planningMaterial requirements planning with forecasts for unplanned consumptionMaster production scheduling (MPS)Demand-driven replenishment. * Maximum length: 2. * @nullable */ mrpType?: DeserializedType | null; /** * MRP Controller. * Specifies the number of the MRP controller or group of MRP controllers responsible for material planning for the material. * Maximum length: 3. * @nullable */ mrpResponsible?: DeserializedType | null; /** * ABC Indicator. * Indicator that classifies a material as an A, B, or C part according to its consumption value. This classification process is known as the ABC analysis. * The three indicators have the following meanings:A - important part, high consumption valueB - less important part, medium consumption valueC - relatively unimportant part, low consumption value. * Maximum length: 1. * @nullable */ abcIndicator?: DeserializedType | null; /** * Minimum Lot Size. * Minimum procurement quantity. * @nullable */ minimumLotSizeQuantity?: DeserializedType | null; /** * Maximum Lot Size. * Quantity that is not allowed to be exceeded during procurement. * The system takes this value into account during the automatic lot size calculation for planned orders and production orders. The lot size of the individual orders cannot exceed this value. * @nullable */ maximumLotSizeQuantity?: DeserializedType | null; /** * Fixed lot size. * Quantity that will be ordered or produced in the event of a shortage. * If the amount of the shortage is less than the fixed lot size, it is the fixed lot size that is ordered or produced (and not the lesser quantity that is actually required).If the amount of the shortage is greater than the fixed lot size, a multiple of the fixed lot size is procured. The system creates several purchase order proposals for this purpose. * @nullable */ fixedLotSizeQuantity?: DeserializedType | null; /** * Control code for consumption taxes in foreign trade. * Maximum length: 16. * @nullable */ consumptionTaxCtrlCode?: DeserializedType | null; /** * Indicator: Material can be co-product. * Indicator you can use to specify that the material can also be used as a co-product. * @nullable */ isCoProduct?: DeserializedType | null; /** * Configurable Product. * Number uniquely identifying the configurable product. * Maximum length: 40. * @nullable */ productIsConfigurable?: DeserializedType | null; /** * Stock determination group. * Specifies the stock determination group. * The stock determination group combined with the stock determination rule at plant level create a key for the stock determination strategy.You enter the stock determination group in the material master record at plant level and it controls a stock determination based on material. * Maximum length: 4. * @nullable */ stockDeterminationGroup?: DeserializedType | null; /** * Stock In Transfer Quantity. * @nullable */ stockInTransferQuantity?: DeserializedType | null; /** * Stock In Transit Quantity. * @nullable */ stockInTransitQuantity?: DeserializedType | null; /** * Has Post to Inspection Stock. * Specifies whether the product is subject to quality inspection (without inspection lot processing) and whether a goods receipt is posted to inspection stock. The indicator is copied to purchase order items and goods receipt items as a default value. * You can select this indicator, if no stock-relevant inspection type has been selected in the inspection setup, and therefore no stock-relevant inspection lots can be created.If you activate a stock-relevant inspection type, the entry in this field is deselected and can no longer be maintained. In this case, a corresponding indicator in the inspection type controls whether goods are posted to inspection stock. * @nullable */ hasPostToInspectionStock?: DeserializedType | null; /** * Batch Management Requirement Indicator for Plant. * Specifies whether the material is managed in batches. * This indicator can be set in the material master record manually or, if batches are valuated individually, it is set automatically for the plants concerned.Based on the settings that you maintain in Customizing for Batch Management under Specify Batch Level and Activate Status Management -> Batch Level if the batch level is set to Batch unique at material level, then the field is shown in the display mode, until batches are valuated at material level.If the batches are valuated at material level, then the indicator is set automatically for the corresponding plants as well. Note that the automatic setting of the indicator is based on the configuration that you make in Customizing for Batch Management under Specify Batch Management Default by Plant. In this case, if you wish to change this default setting, you can select/deselect the indicator manually.If the batch level is set to Batch unique at plant level, then the field becomes editable.The indicator cannot be changed if stocks exist in either the current period or in the previous period. The reason for checking the previous period is because stocks can be posted to this period when goods movements are entered.SAP Note 2564190. * @nullable */ isBatchManagementRequired?: DeserializedType | null; /** * Serial Number Profile. * Freely definable four-digit key that provides unique identification for a serial number profile. * Maximum length: 4. * @nullable */ serialNumberProfile?: DeserializedType | null; /** * Negative stocks allowed in plant. * Indicates that negative stocks of the material are allowed at the plant. * Negative stock balances can only result if they are allowed at the following levels:Valuation area levelStorage location levelMaterial level (plant data in the material master record)Negative stock levels are already allowed for special stocks if negative stocks have been activated in the valuation area and for the special stock in question in the plant. You do not have to activate them in each material master record.You can have negative balances in stocks of the types "unrestricted-use" and "blocked".Negative balances are possible in the following special stocks:Vendor consignment (K)Stock of material provided to vendor (O)Consignment stock at customer (W)Sales order stock (E)Project stock (Q)Returnable packaging stock at customer (V)Returnable transport packaging (M). * @nullable */ isNegativeStockAllowed?: DeserializedType | null; /** * Goods Receipt Blocked Stock Qty. * @nullable */ goodsReceiptBlockedStockQty?: DeserializedType | null; /** * Consignment Control. * Controls whether a material is preferably procured for own stock or consignment stock at a plant. * You can set the values for consignment control that you defined in Customizing for consignment control.When you set consignment control, please note the following:The system only evaluates the setting if you have activated Retail consignment processingNote that the settings for the Consignment Control and Source of Supply fields have to be coordinated:If you set procurement for own stock in consignment control, the search sequence for the supply source has to begin with "Normal".If you set procurement for consignment stock in consignment control, the search sequence for the supply source has to begin with "Consignment". * Maximum length: 1. * @nullable */ hasConsignmentCtrl?: DeserializedType | null; /** * Fiscal Year Current Period. * Maximum length: 4. * @nullable */ fiscalYearCurrentPeriod?: DeserializedType | null; /** * Fiscal Month Current Period. * Maximum length: 2. * @nullable */ fiscalMonthCurrentPeriod?: DeserializedType | null; /** * Procurement Type. * Indicator that defines how the material is procured. The following procurements types are possible: * The material is produced in-house.The material is procured externally.The material can be both produced in-house and procured externally. * Maximum length: 1. * @nullable */ procurementType?: DeserializedType | null; /** * Batch management indicator (internal). * Indicator that specifies that the material is managed in batches. * @nullable */ isInternalBatchManaged?: DeserializedType | null; /** * Material CFOP category. * This is the CFOP category of a material. * The CFOP category is used to determine the proper CFOP. * Maximum length: 2. * @nullable */ productCfopCategory?: DeserializedType | null; /** * Excise Tax Relevance Indicator. * Indicates that the product is relevant for excise tax. * @nullable */ productIsExciseTaxRelevant?: 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; /** * Configurable material. * Number uniquely identifying the configurable material. * Maximum length: 40. * @nullable */ configurableProduct?: DeserializedType | null; /** * Unit of issue. * Unit in which the material is issued from the warehouse. * Maximum length: 3. * @nullable */ goodsIssueUnit?: DeserializedType | null; /** * Material freight group. * The material freight group is used to group materials so that they can be classifed according to freight code and class. * Freight codes and classes in a freight code set are determined by the material freight group. The freight code set is used to determine freight costs and for communication with service agents.Maintain the corresponding group for the material. * Maximum length: 8. * @nullable */ materialFreightGroup?: DeserializedType | null; /** * Reference Material for Original Batches. * Material for which an original batch is created. * If you do not enter an original batch reference material (OB reference material), the system creates the original batch for the material in the production order item or the PO item.If you enter an OB reference material, the system creates the original batch for the OB reference material.If you are working with WIP batches, you can specify the reference material for a WIP batch in this field.You can enter the OB reference material at plant level (views Purchasing, Plant Data/Storage 1, or Work Scheduling), or at production version level (view MRP 4). If you enter different OB reference materials at each of the two levels, the system creates the original batch for the OB reference material entered in the production version. * Maximum length: 40. * @nullable */ originalBatchReferenceMaterial?: DeserializedType | null; /** * Indicator for Original Batch Management. * Specifies whether original batches may be created for this material. * Maximum length: 1. * @nullable */ origlBatchManagementIsRequired?: DeserializedType | null; /** * Indicator: Critical part. * Specifies whether the material is a critical part, that is, a particularly important part. * In inventory sampling, critical parts are included in the complete-count area. The indicator is otherwise for your information only. * @nullable */ productIsCriticalPrt?: DeserializedType | null; /** * Logistics handling group for workload calculation. * Grouping of materials that are comparable with regard to their handling. * The logistics handling group is used in the calculation of working loads such as placement into stock and picking.Logistics handling groups are, for example, groups of materials with one or more of the following attributes:FragileDangerousBulkyLiquid. * Maximum length: 4. * @nullable */ productLogisticsHandlingGroup?: DeserializedType | null; /** * One-to-many navigation property to the [[ProductPlantMrpArea]] entity. */ toPlantMrpArea: ProductPlantMrpArea[]; /** * One-to-one navigation property to the [[ProductPlantQualityMgmt]] entity. */ toPlantQualityMgmt?: ProductPlantQualityMgmt | null; /** * One-to-one navigation property to the [[ProductPlantSales]] entity. */ toPlantSales?: ProductPlantSales | null; /** * One-to-one navigation property to the [[ProductPlantStorage]] entity. */ toPlantStorage?: ProductPlantStorage | null; /** * One-to-one navigation property to the [[ProductPlantText]] entity. */ toPlantText?: ProductPlantText | null; /** * One-to-one navigation property to the [[ProductPlantIntlTrd]] entity. */ toProdPlantInternationalTrade?: ProductPlantIntlTrd | null; /** * One-to-one navigation property to the [[ProductPlantCosting]] entity. */ toProductPlantCosting?: ProductPlantCosting | null; /** * One-to-one navigation property to the [[ProductPlantForecasting]] entity. */ toProductPlantForecast?: ProductPlantForecasting | null; /** * One-to-one navigation property to the [[ProductPlantProcurement]] entity. */ toProductPlantProcurement?: ProductPlantProcurement | null; /** * One-to-one navigation property to the [[ProductSupplyPlanning]] entity. */ toProductSupplyPlanning?: ProductSupplyPlanning | null; /** * One-to-one navigation property to the [[ProductWorkScheduling]] entity. */ toProductWorkScheduling?: ProductWorkScheduling | null; /** * One-to-many navigation property to the [[ProductStorageLocation]] entity. */ toStorageLocation: ProductStorageLocation[]; } export interface ProductPlantType { product: DeserializedType; plant: DeserializedType; purchasingGroup?: DeserializedType | null; countryOfOrigin?: DeserializedType | null; regionOfOrigin?: DeserializedType | null; productionInvtryManagedLoc?: DeserializedType | null; profileCode?: DeserializedType | null; profileValidityStartDate?: DeserializedType | null; availabilityCheckType?: DeserializedType | null; fiscalYearVariant?: DeserializedType | null; periodType?: DeserializedType | null; profitCenter?: DeserializedType | null; commodity?: DeserializedType | null; goodsReceiptDuration?: DeserializedType | null; maintenanceStatusName?: DeserializedType | null; isMarkedForDeletion?: DeserializedType | null; mrpType?: DeserializedType | null; mrpResponsible?: DeserializedType | null; abcIndicator?: DeserializedType | null; minimumLotSizeQuantity?: DeserializedType | null; maximumLotSizeQuantity?: DeserializedType | null; fixedLotSizeQuantity?: DeserializedType | null; consumptionTaxCtrlCode?: DeserializedType | null; isCoProduct?: DeserializedType | null; productIsConfigurable?: DeserializedType | null; stockDeterminationGroup?: DeserializedType | null; stockInTransferQuantity?: DeserializedType | null; stockInTransitQuantity?: DeserializedType | null; hasPostToInspectionStock?: DeserializedType | null; isBatchManagementRequired?: DeserializedType | null; serialNumberProfile?: DeserializedType | null; isNegativeStockAllowed?: DeserializedType | null; goodsReceiptBlockedStockQty?: DeserializedType | null; hasConsignmentCtrl?: DeserializedType | null; fiscalYearCurrentPeriod?: DeserializedType | null; fiscalMonthCurrentPeriod?: DeserializedType | null; procurementType?: DeserializedType | null; isInternalBatchManaged?: DeserializedType | null; productCfopCategory?: DeserializedType | null; productIsExciseTaxRelevant?: DeserializedType | null; baseUnit?: DeserializedType | null; configurableProduct?: DeserializedType | null; goodsIssueUnit?: DeserializedType | null; materialFreightGroup?: DeserializedType | null; originalBatchReferenceMaterial?: DeserializedType | null; origlBatchManagementIsRequired?: DeserializedType | null; productIsCriticalPrt?: DeserializedType | null; productLogisticsHandlingGroup?: DeserializedType | null; toPlantMrpArea: ProductPlantMrpAreaType[]; toPlantQualityMgmt?: ProductPlantQualityMgmtType | null; toPlantSales?: ProductPlantSalesType | null; toPlantStorage?: ProductPlantStorageType | null; toPlantText?: ProductPlantTextType | null; toProdPlantInternationalTrade?: ProductPlantIntlTrdType | null; toProductPlantCosting?: ProductPlantCostingType | null; toProductPlantForecast?: ProductPlantForecastingType | null; toProductPlantProcurement?: ProductPlantProcurementType | null; toProductSupplyPlanning?: ProductSupplyPlanningType | null; toProductWorkScheduling?: ProductWorkSchedulingType | null; toStorageLocation: ProductStorageLocationType[]; } //# sourceMappingURL=ProductPlant.d.ts.map