import { Entity, DefaultDeSerializers, DeSerializers, DeserializedType } from '@sap-cloud-sdk/odata-v2'; /** * This class represents the entity "A_ProductPlantCosting" of service "API_PRODUCT_SRV". */ export declare class ProductPlantCosting extends Entity implements ProductPlantCostingType { /** * Technical entity name for ProductPlantCosting. */ static _entityName: string; /** * Default url path for the according service. */ static _defaultServicePath: string; /** * All key fields of the ProductPlantCosting entity */ static _keys: string[]; /** * Product Number. * Alphanumeric key uniquely identifying the product. * Maximum length: 40. */ product: DeserializedType; /** * Plant. * Key uniquely identifying a plant. * Maximum length: 4. */ plant: DeserializedType; /** * 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; /** * Lot Size for Product Costing. * Lot size of the costed object (such as a material or sales order) used in the product cost estimate as the basis for costing. * The costing lot size in the material master record is usually used as a basis for costing all materials within one low-level code. If these materials (such as semi-finished products) are used in materials (such as finished products) in the next-highest low-level code, the costing results are converted to the costing lot size of the material costed (in this case, the finished product) to calculate the material costs for the finished product.In material costing and sales order costing, you can make a setting in the costing variant to have the system use the costing lot size of the highest material as a basis for costing the materials below it. * @nullable */ costingLotSize?: DeserializedType | null; /** * Variance Key. * Key that controls variance calculation. * Variances can only be calculated for the orders for which a variance key has been entered. This key is defaulted through the costing view in the material master record.If you have activated variance calculation in the variance key, the value of the scrap is calculated at target cost and subtracted from the actual costs before the variances are determined.If you are working with cost object hierarchies, the cost object category determines how variances are calculated.If the costs collected at hierarchy level are distributed to the assigned orders (product cost collectors or manufacturing orders), you must enter a variance key in each order so that the R/3 System can calculate variances for the assigned orders.If the costs collected at the hierarchy level are settled as price differences, you must store a variance key in the cost object nodes and calculate variances for the entire cost object hierarchy.You select the control parameters for variance calculation through the variance key in the order or in the cost object hierarchy and a target version. * Maximum length: 6. * @nullable */ varianceKey?: 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; /** * Group Counter. * This key and the task list group uniquely identify a task list. * In Production Planning and Control, for example, it serves to identify alternative production processes in task lists and is used to make a distinction between similar task lists.The group counter can be used to identify different lot-size ranges, for example. * Maximum length: 2. * @nullable */ taskListGroupCounter?: DeserializedType | null; /** * Key for Task List Group. * Key identifying a group. * You can use groups, for example, to identify two routings that have different production steps for one material.Enter the group to which you want to restrict the selection. * Maximum length: 8. * @nullable */ taskListGroup?: DeserializedType | null; /** * Task List Type. * Key which classifies task lists according to their functionality. * Routings are defined under the following task list types:RoutingsReference operation setsMaster recipeGeneral maintenance task listEquipment task listInspection planTask list for funct. location. * Maximum length: 1. * @nullable */ taskListType?: DeserializedType | null; /** * Production Version To Be Costed. * Key that determines the production version which is used to determine the quantity structure for the cost estimate. * With joint production, you can here enter an apportionment structure for a leading co-product, or for a differenct co-product the reference to a leading co-product or process material through which the quantity structure is to be determined.So that the quantity structure can be determined automatically using the production version, you must have selected the setting 2 (selection by production version) or 3 (selection only by production version) in the material master record in MRP view 4 under selection method. This is unnecessary if you entered the production version direct when you created the cost estimate or if it was entered direct in the material master record in costing view 1 under production version. * Maximum length: 4. * @nullable */ costingProductionVersion?: DeserializedType | null; /** * Fixed-Price Co-Product. * indicates the material as a fixed price co-product. * A material marked as a fixed price co-product is not costed using a joint production process.If the material is an output material of a process with several co-products, the costs for the fixed price co-product are taken from the process costs using the net realizable-value method.Set this indicator if the material is a co-product, but the costs are not to be determined using an apportionment method; instead, a preset price is to be used for the material.The price for the fixed price co-product is taken from a cost estimate without quantity structure; alternatively, a price from the material master is used.You can only set this indicator if you have also set the co-product indicator for the material.Fixed-price co-products are shown in the itemization as items of category M (not A, as is the case with normal co-products), albeit with negative quantities and values. * @nullable */ isFixedPriceCoProduct?: DeserializedType | null; /** * Special Procurement Type for Costing. * Key that you use to specify the material's procurement type predetermined by the material type in more detail for costing. * If you enter a special procurement type in the Costing view of the material master record, it is used in costing.If you do not enter a special procurement type in the costing view of the material master record, the system uses the special procurement type in the MRP view.If you want to cost a material as externally procured by ignoring the existing quantity structure in the system when costing, the following options are available:· In the MRP view of the material master record, enter procurement type F and no special procurement type (neither in the MRP view nor in the Costing view).· In Customizing for Product Cost Planning, create a new special procurement type (procurement type: F and special procurement type: blank) and enter this special procurement type in the material's Costing view.If you want to cost a material by ignoring the BOM but including the routing, go to Customizing for Product Cost Planning and create a new special procurement type (procurement type: E; special procurement type: E) and enter this special procurement type in the material's Costing view. * Maximum length: 2. * @nullable */ costingSpecialProcurementType?: DeserializedType | null; /** * Alternative BOM. * Identifies one BOM in a BOM group. * One product or assembly can be described by a number of (alternative) BOMs that represent, for example, different manufacturing processes for different lot sizes. These alternative BOMs are grouped together as one multiple BOM.Alternatives are maintained separately for each BOM usage. * Maximum length: 2. * @nullable */ sourceBomAlternative?: DeserializedType | null; /** * BOM Usage. * This key defines the area (such as engineering/design or production) where a BOM can be used. * By setting various indicators, you can define the maximum configuration of the item status and define whether an item must be or cannot be processed in a particular area (such as production).A material is used in the areas production and costing in a company. For each area, you maintain a separate BOM with different items:Production BOM:This BOM contains items that are relevant to production. These items are copied to the planned order. Dependent requirements are generated for them, and they are copied to the production order.Costing BOM:This BOM contains items that are relevant to determining the material costs of a product.When you calculate production costs using a quantity structure, the system automatically determines the BOM and all the BOM items that are relevant to costing, in order to calculate manufacturing costs. * Maximum length: 1. * @nullable */ productBomUsage?: DeserializedType | null; /** * Do Not Cost. * Controls whether a cost estimate or a procurement alternative can be created for a material. * If you select this indicator, you cannot create any of the following for this material:Material cost estimate (with and without quantity structure)Sales order costingProcurement alternativesThe material is excluded from selection and BOM explosion, so that no cost component split will be created by the costing process. If the material is included in another cost estimate as a component to be valuated, the valuation price is determined through the valuation variant if no cost estimate with the same key exists for the material. * @nullable */ productIsCostingRelevant?: DeserializedType | null; } export interface ProductPlantCostingType { product: DeserializedType; plant: DeserializedType; isCoProduct?: DeserializedType | null; costingLotSize?: DeserializedType | null; varianceKey?: DeserializedType | null; baseUnit?: DeserializedType | null; taskListGroupCounter?: DeserializedType | null; taskListGroup?: DeserializedType | null; taskListType?: DeserializedType | null; costingProductionVersion?: DeserializedType | null; isFixedPriceCoProduct?: DeserializedType | null; costingSpecialProcurementType?: DeserializedType | null; sourceBomAlternative?: DeserializedType | null; productBomUsage?: DeserializedType | null; productIsCostingRelevant?: DeserializedType | null; } //# sourceMappingURL=ProductPlantCosting.d.ts.map