import { Entity, DefaultDeSerializers, DeSerializers, DeserializedType } from '@sap-cloud-sdk/odata-v2'; /** * This class represents the entity "A_ProductPlantMRPArea" of service "API_PRODUCT_SRV". */ export declare class ProductPlantMrpArea extends Entity implements ProductPlantMrpAreaType { /** * Technical entity name for ProductPlantMrpArea. */ static _entityName: string; /** * Default url path for the according service. */ static _defaultServicePath: string; /** * All key fields of the ProductPlantMrpArea entity */ static _keys: string[]; /** * Material Number. * Alphanumeric key uniquely identifying the material. * Maximum length: 40. */ product: DeserializedType; /** * MRP Area: Plant. * Maximum length: 4. */ plant: DeserializedType; /** * MRP Area. * Number of the MRP area for which material requirements planning should be carried out separately. * Maximum length: 10. */ mrpArea: DeserializedType; /** * 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; /** * MRP Group. * The MRP group contains all the materials from the point of view of MRP for assigning special control parameters for the total planning run. These control parameters include, for example, the strategy group, the consumption mode, and the planning horizon. * Maximum length: 4. * @nullable */ mrpGroup?: DeserializedType | null; /** * Reorder Point. * If the stock falls below this quantity, the system flags the material for requirements planning by creating a planning file entry. * @nullable */ reorderThresholdQuantity?: DeserializedType | null; /** * Planning time fence. * The planning time fence specifies a period within which no automatic changes are to be made to the master plan. * The planning time fence is maintained in workdays.It is only used for materials that are planned using an MRP type which includes a firming type.The firming type determines how order proposlas are to be created or scheduled within the planning time fence. * Maximum length: 3. * @nullable */ planningTimeFence?: DeserializedType | null; /** * Lot Sizing Procedure within Materials Planning. * Key that determines which lot-sizing procedure the system uses within materials planning to calculate the quantity to be procured or produced. * Maximum length: 2. * @nullable */ lotSizingProcedure?: DeserializedType | null; /** * Rounding value for purchase order quantity. * Value to a multiple of which the system rounds up the procurement quantity. * The rounding value is used in the planning run if no rounding profile has been specified in the material master record. * @nullable */ lotSizeRoundingQuantity?: 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; /** * Maximum Stock Level. * Quantity of the material in this plant that may not be exceeded. * In materials planning, the maximum stock level is used only if you have chosen Replenish to maximum stock level as the lot-sizing procedure; that is, you have entered HB as the lot size key.Enter a value if you have chosen Replenish to maximum stock level as the lot-sizing procedure. * @nullable */ maximumStockQuantity?: DeserializedType | null; /** * Assembly scrap in percent. * Percentage scrap that occurs during production of the material if the material is an assembly. * The assembly scrap is used in materials planning to calculate the lot size of the assembly. The system increases the quantity to be produced by the scrap quantity calculated.If the material is an assembly, specify the percentage scrap as required.If the quantity to be produced is 200 pieces and you specify an assembly scrap of 10%, you are reckoning with a scrap quantity of 20 pieces. As a result, 220 pieces are produced.The system increases the quantity to be produced for all of the assembly's components accordingly. * @nullable */ assemblyScrapPercent?: DeserializedType | null; /** * Special procurement type. * Allows you to define the procurement type more exactly. The system determines the procurement type from the material type. * You use special procurement when you want to be able to override the procurement type in the material master or define the procurement type more precisely.If the procurement type is in-house, you can nevertheless force the system to ignore the BOM and routing, and process the material as if it were externally procured, by specifying the special procurement as external.Enter the special procurement type to which you want to restrict the selection.If you procure a material externally, you may want to choose the special procurement type Consignment. If you produce the material in-house, it may be appropriate to choose Production in other plant.If a material has a routing but no BOM, it is treated as an externally procured material even if the procurement type is in-house. Both the BOM and the routing are ignored.However, if you specify the special procurement type as in-house, the routing is included even if the material has no BOM. * Maximum length: 2. * @nullable */ procurementSubType?: DeserializedType | null; /** * Default storage location for external procurement. * Key of the storage location that is proposed in the purchase requisition in materials planning for subsequent storage of the material. In the case of a material procured externally, this storage location is proposed in the planned order in materials planning. * Maximum length: 4. * @nullable */ dfltStorageLocationExtProcmt?: DeserializedType | null; /** * PPC Planning Calendar. * Three character number (numeric or using letters) that identifies a PPS planning calendar. * Maximum length: 3. * @nullable */ mrpPlanningCalendar?: DeserializedType | null; /** * Safety Stock. * Specifies the quantity whose purpose is to satisfy unexpectedly high demand in the coverage period. * The risk of shortfalls is reduced by having a safety stock. * @nullable */ safetyStockQuantity?: DeserializedType | null; /** * Range of coverage profile. * The range of coverage profile contains the parameters for calculating the dynamic safety stock. This is a statistical calculation on the basis of average daily requirements. * Maximum length: 3. * @nullable */ rangeOfCvrgPrflCode?: DeserializedType | null; /** * Safety Time (in Workdays). * In this field, you define the number of workdays for the safety time/actual range of coverage. * If you define a safety time, the requirements in MRP are brought forward on the time axis by the number of workdays you define here.This does not change the actual requirements dates. However, as the requirements have technically been brought forward, receipts are created for the earlier dates in MRP.Time-phased materials planning is based on the interval between the MRP date and the availabilty date of the next MRP date. By using the safety time/ actual range of coverage, the number of days to the interval are included in the calculation. * Maximum length: 2. * @nullable */ safetyDuration?: 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; /** * Lot-Size-Independent Costs. * Costs that are incurred, irrespective of lot size, for each purchase order or production order over and above the purchase order price or production costs. * The ordering costs are used only for calculating the lot size in optimum lot-sizing procedures. You must specify the ordering costs in the currency of the company code belonging to the plant. * @nullable */ lotSizeIndependentCosts?: DeserializedType | null; /** * Storage Costs Percentage Code. * Indicator that specifies the storage costs percentage the system uses when calculating the lot size to determine storage costs. * The storage costs percentage is based on the quantity stored and the unit price, and refers to the average value of the materials stored.The percentage is considered constant for the stocking-up period. It normally lies between 15 and 35%.The storage costs percentage is used by optimizing lot-sizing procedures to calculate the lot size, but not for any other purpose. * Maximum length: 1. * @nullable */ isStorageCosts?: DeserializedType | null; /** * Takt time. * If a requirement quantity (for example, for capacity reasons) cannot be procured in a single lot, you have to schedule several receipts. In conjunction with the overlap indicator in the lot size, you can use the takt time to specify that these receipts are offset, that is, that they are delayed by the takt time. * You enter the takt time in workdays.The system uses the takt time if a requirement is covered by several receipt elements due to restrictions on lot size such as maximum lot size (with all lot-sizing procedures) or rounding value (with fixed lot size with splitting). * @nullable */ rqmtQtyRcptTaktTmeInWrkgDays?: DeserializedType | null; /** * Service level. * Percentage specifying what proportion of the requirement is to be covered by the warehouse stock. * The system uses the service level to calculate the safety stock.The higher the service level, the higher will be the safety stock calculated by the system to compensate for additional consumption or delays in delivery. * @nullable */ srvcLvl?: DeserializedType | null; /** * Deletion Indicator. * Indicator that allows you to flag a master record for deletion. * A reorganization program deletes the master record from the system if you have entered a delete flag for it in the master record.You cannot delete master records online. * @nullable */ isMarkedForDeletion?: DeserializedType | null; /** * Period Profile for Safety Time. * The period profile for the safety time / actual range of coverage contains the periods (stating to/from date) with the safety time/actual range of coverage that is valid for each period. * In order to smooth out seasonal fluctuations, for any definable period you can define a safety time/actual range of coverage that varies from what you have maintained in the material master in the field safety time/actual range of coverage. If, for example, a higher actual range of coverage than usual is required due to higher demand during the Christmas period, you can define the period with the desired actual range of coverage in the period profile.You can also use the period profile to represent a safety time of less than one day. You do this by entering a safety time % in addition to the safety time. * Maximum length: 3. * @nullable */ perdPrflForSftyTme?: DeserializedType | null; /** * MRP relevancy for dependent requirements. * This indicator controls whether dependent requirements are relevant to MRP or not. Dependent requirements include dependent reservations and stock transfer requirements. * You only use this indicator in connection with planning strategies for make-to-stock production, assembly planning. Note that the indicator Dependent requirements not relevant to MRP should only be used when, for example, planned independent requirements exist for an assembly. In this case, no receipt elements for the dependent requirements in MRP should be created as receipts have already been created for the planned independent requirements. * Maximum length: 1. * @nullable */ isMrpDependentRqmt?: DeserializedType | null; /** * Safety time indicator (with or without safety time). * You use this indicator to switch on the safety time actual range of coverage for a material in MRP. * If you define a safety time, the requirements in MRP are brought forward on the time axis by the number of workdays you define here. The actual range of coverage corresponds to the number of days, by which the requirements are brought forward.Using this indicator you can activate the safety time and you can set whether all requirements or only independent requirements (sales order, planned independent requirements, and so on) are to be brought forward.The actual requirements dates are not changed. * Maximum length: 1. * @nullable */ isSafetyTime?: DeserializedType | null; /** * Planned Delivery Time in Days. * Number of calendar days needed to obtain the material or service if it is procured externally. * If you have different vendors for a material, you must specify an average value. The same applies if you order the material from a fixed vendor that has varying delivery times.If you use the SAP Retail System, the planned delivery time can be suggested from the vendor sub-range in the vendor master record. * @nullable */ plannedDeliveryDurationInDays?: DeserializedType | null; /** * Consider Planned Delivery Time of the MRP Area. * Indicator that determines whether the planned delivery time is used in the MRP area. * You have maintained a planned delivery time in the MRP area. If the planned delivery time for the MRP area is to be used for the external procurement of material for the MRP area, you must set the value "Use Planned Delivery Time MRP Area". Otherwise, the planned delivery time of the plant will be used.For stock transport requisitions (plant to a storage location MRP area of the same plant) the planned delivery time of the MRP area is only used if the indicator "Consider Planned Delivery Time" is set. * @nullable */ isPlannedDeliveryTime?: DeserializedType | null; /** * Currency Key. * Currency key for amounts in the system. * Maximum length: 5. * @nullable */ currency?: 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; /** * Planning Cycle. * Key that determines the day on which the material is planned and ordered. * In addition to the planning cycle, you can enter a delivery cycle which is defined in the planning calendar field.It makes sense to enter a delivery cycle for the following situation:You carry out the planning run and place orders every Monday and Tuesday. The materials that are ordered on Monday are delivered on Wednesday and the materials that are ordered on Tuesday are not delivered until Friday.The system interprets an additionally specified planned delivery time as the minimum delivery time, which means that at least this number of days pass between the planning run or the order and delivery.Before a material can be planned with the time-phased planning procedure, it must be assigned the MRP type that allows time-phased planning. * Maximum length: 3. * @nullable */ planAndOrderDayDetermination?: DeserializedType | null; /** * Rounding Profile. * Key that the system uses to adjust the order proposal quantity to deliverable units. * In Customizing, enter a threshold value from which the system should round up to the next value per deliverable unit:If the requirements value exceeds the first threshold value, the system always rounds up to the next multiple of the level foundIf the requirements value falls below the first threshold value, the system copies the original requirements value.Two other types of rounding exist:Dynamic rounding profile:These profiles are used to round up quantities to logistical units of measure (for example, layers). The contents of a logistical unit of measure does not have to be know when creating the rounding profile. It is determined by the master data from the material master.Rounding profile with quantity to be added/subtractedWith these profiles, the given quantity is changed either by adding a percentage or subtracting a percentage.Only static rounding profiles are taken into account in requirements planning. Neither dynamic rounding profiles not quantity addition/ subtraction are taken into account.A material's base unit of measure is 1 unit; the purchase order is to be delivered in layers (1 layer corresponds to 5 units) or in pallets (1 pallet corresponds to 8 layers which contains 40 units).You maintain the profile as follows:From a requirements of 2 units, the system is to round up to 5; from a requirement of 32 units, the system is to round up to 40.This results in the following order proposal quantities:Requirement from 1 -> 1 requirement from 31 -> 30Requirement from 2 -> 5 requirement from 32 -> 40Requirement from 6 -> 10 requirement from 74 -> 80Requirement from 7 -> 10If no rounding profile has been entered, the system uses the rounding value entered in the material master record for the planning run. * Maximum length: 4. * @nullable */ roundingProfile?: 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 */ storageLocation?: DeserializedType | null; } export interface ProductPlantMrpAreaType { product: DeserializedType; plant: DeserializedType; mrpArea: DeserializedType; mrpType?: DeserializedType | null; mrpResponsible?: DeserializedType | null; mrpGroup?: DeserializedType | null; reorderThresholdQuantity?: DeserializedType | null; planningTimeFence?: DeserializedType | null; lotSizingProcedure?: DeserializedType | null; lotSizeRoundingQuantity?: DeserializedType | null; minimumLotSizeQuantity?: DeserializedType | null; maximumLotSizeQuantity?: DeserializedType | null; maximumStockQuantity?: DeserializedType | null; assemblyScrapPercent?: DeserializedType | null; procurementSubType?: DeserializedType | null; dfltStorageLocationExtProcmt?: DeserializedType | null; mrpPlanningCalendar?: DeserializedType | null; safetyStockQuantity?: DeserializedType | null; rangeOfCvrgPrflCode?: DeserializedType | null; safetyDuration?: DeserializedType | null; fixedLotSizeQuantity?: DeserializedType | null; lotSizeIndependentCosts?: DeserializedType | null; isStorageCosts?: DeserializedType | null; rqmtQtyRcptTaktTmeInWrkgDays?: DeserializedType | null; srvcLvl?: DeserializedType | null; isMarkedForDeletion?: DeserializedType | null; perdPrflForSftyTme?: DeserializedType | null; isMrpDependentRqmt?: DeserializedType | null; isSafetyTime?: DeserializedType | null; plannedDeliveryDurationInDays?: DeserializedType | null; isPlannedDeliveryTime?: DeserializedType | null; currency?: DeserializedType | null; baseUnit?: DeserializedType | null; planAndOrderDayDetermination?: DeserializedType | null; roundingProfile?: DeserializedType | null; storageLocation?: DeserializedType | null; } //# sourceMappingURL=ProductPlantMrpArea.d.ts.map