Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProcessOrderComponent" of service "API_PROCESS_ORDERS". This service is part of the following communication scenarios: Production Planning Integration (SAP_COM_0104), Manufacturing Execution - Order and Confirmation Integration (SAP_COM_0522). See https://api.sap.com/api/API_PROCESS_ORDERS for more information.

Hierarchy

  • Entity
    • ProcessOrderComponent

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Protected _customFields

_customFields: MapType<any>

A mapper representing custom fields in an entity. Custom fields are represented by their field names and the corresponding values. A custom field can be added or updated using setCustomField method.

Protected _versionIdentifier

_versionIdentifier: string

The current ETag version of the entity in the remote system. The ETag identified the version of the in the remote system. It will be automatically set in the "if-match" header of update requests and can be set as a custom header for delete requests. When no ETag is provided by the remote system the value of this variable defaults to "*".

Optional baseUnit

baseUnit: undefined | string

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

Optional batch

batch: undefined | string

Batch Number. Assigns a material that is manufactured in batches or production lots to a specific batch. Maximum length: 10.

nullable

Optional batchSplitType

batchSplitType: undefined | string

Batch key. If a material is to be processed in batches, the component in the order is given a batch key. The key can have the following characteristics:X - batch permittedThis key indicates that the material component is processed in batches. However, no batch split takes place.1 - Batch totals recordThis key indicates that a batch split was carried out for the material component.On the component overview screen, a line with this key contains the total requirements quantity of the component or the quantity not yet assigned.2 - Individual batch recordThis key indicates that a batch split was carried out for the material component.On the component overview screen, a line with this key displays the proportion of the requirements quantity that was assigned to a particular batch. Maximum length: 1.

nullable

Optional billOfMaterialCategory

billOfMaterialCategory: undefined | string

Bill of Material Category Code. Maximum length: 1.

nullable

Optional billOfMaterialItemNumber

billOfMaterialItemNumber: undefined | string

BOM item number. Item number of the BOM components copied into the order. Maximum length: 4.

nullable

Optional bomItem

bomItem: undefined | string

Bill of Material Item. Maximum length: 8.

nullable

Optional bomItemCategory

bomItemCategory: undefined | string

Bill of Material Item Category. Maximum length: 1.

nullable

Optional bomItemDescription

bomItemDescription: undefined | string

BOM Item Text (Line 1). Text of up to 40 characters, which forms the first of two lines of text describing the item. If this text length (two lines of 40 characters each) is not sufficient, you can also enter a long text by choosing menu option Extras -> Long text -> Item.When you create an item long text, the first 80 characters of the BOM item text are copied to the long text.If you change the BOM item text, the first 80 characters of long text are automatically changed, too. If you change the first two lines of the BOM item long text, the short text is automatically changed.Note:For text items, this text is copied to the component description field on the item overview. Maximum length: 40.

nullable

Optional bomItemText2

bomItemText2: undefined | string

BOM Item Text (Line 2). Text of up to 40 characters, which forms the second of two lines of text describing the item. You can also enter a long text by choosing menu option Details --> Long text --> Item long text.If the text comprises less than three lines, it is stored in the BOM item. Otherwise, it is stored as a long text in the text database. Maximum length: 40.

nullable

Optional componentScrapInPercent

componentScrapInPercent: BigNumber

Component Scrap in Percent. Percentage of scrap that occurs during production of the material if the material is a component. Component scrap is used in material requirements planning (MRP) to determine the quantities of components required. When exploding the bill of material (BOM), the system increases the required quantities of the components by the calculated scrap quantity.ExampleRequired quantity 200 piecesComponent scrap 10%Scrap quantity 20 piecesTherefore, 220 pieces are required.For examples of calculation in connection with the indicator for net scrap, see the documentation for this indicator.If there is also assembly scrap for a higher-level assembly, the system adds together the two types of scrap.If component scrap has been entered in the BOM, this value applies. Otherwise, the value specified in the material master record is used.

nullable

Optional confirmedAvailableQuantity

confirmedAvailableQuantity: BigNumber

Available Quantity.

nullable

Optional currency

currency: undefined | string

Currency Key. Currency key for amounts in the system. Maximum length: 5.

nullable

Optional goodsMovementType

goodsMovementType: undefined | string

Goods Movement Type (Inventory Management). Specifies a key for the type of goods movement. Each goods movement (for example, purchase order to warehouse) is allocated to a movement type in the system. Maximum length: 3.

nullable

Optional goodsRecipientName

goodsRecipientName: undefined | string

Goods Recipient. Maximum length: 12.

nullable

Optional isBulkMaterialComponent

isBulkMaterialComponent: undefined | false | true

Indicator: Bulk Material. This indicator defines a BOM item as a bulk material, which is available directly at the work center (for example, washers or grease). The dependent requirements of bulk materials are not relevant to materials planning. This means they are not taken into account for net requirements calculation. Therefore planning for bulk materials should be consumption-based.If bulk materials are subject to material requirements planning, you must create planned independent requirements for them.Dependent requirements are only created in the planned order for information purposes and they can be displayed there. Dependent requirements for bulk material are not shown in the MRP list or the stock/req. list.You can maintain this indicator in both the material master record an the BOM item. The indicator in the material master record has higher priority.If a material is always used as a bulk material, set the indicator in the material master record.In this case, the Bulk material indicator in material master record is automatically set in the BOM item.If a material is only used as a bulk material in individual cases, set the indicator in the BOM item.To improve system performance, you can define in the IMG for MRP that no dependent requirements are to be created for bulk material items. However, this also means that you see no information on bulk material components in the planned order or production order.

nullable

Optional isNetScrap

isNetScrap: undefined | false | true

Net Scrap Indicator. This indicator determines whether scrap for the component is calculated on the basis of the net required quantity (the required quantity without assembly scrap from the material master record). You must set this indicator if you want assembly scrap to be ignored.You must set this indicator if you enter operation scrap.You can set this indicator if you only enter component scrap, to calculate scrap on the basis of the net required quantity for the assembly.Bill of material:Assembly MAT-1:Required quantity 100 piecesAssembly scrap 2%Component MAT-2:Component quantity 100 piecesDepending on the applicable scrap and the net indicator, the following 6 quantities are required for component MAT-2 for a required quantity of 100 pieces of MAT-1:1 2 3 4 5 6 Comp 5% - 5% 5% - -Op. 6% 6% - - - -Net ind X X X - - X---------------------------------------------------------------------Qty 11130 10600 10500 10710 10200 10000KeyComp Component scrapOp. Operation scrapNet ind Net indicatorQty Quantity calculated for component MAT-2 in pieces.

nullable

Optional leadTimeOffset

leadTimeOffset: BigNumber

Lead-Time Offset.

nullable

Optional manufacturingOrder

manufacturingOrder: undefined | string

Manufacturing Order ID. Maximum length: 12.

nullable

Optional manufacturingOrderCategory

manufacturingOrderCategory: undefined | string

Manufacturing Order Category. Maximum length: 2.

nullable

Optional manufacturingOrderOperation

manufacturingOrderOperation: undefined | string

Manufacturing Order Operation. Maximum length: 4.

nullable

Optional manufacturingOrderSequence

manufacturingOrderSequence: undefined | string

Sequence. Key which identifies a sequence of operations within a routing. Maximum length: 6.

nullable

Optional manufacturingOrderType

manufacturingOrderType: undefined | string

Manufacturing Order Type. Maximum length: 4.

nullable

Optional material

material: undefined | string

Material Number. Alphanumeric key uniquely identifying the material. Maximum length: 40.

nullable

Optional materialCompIsCostRelevant

materialCompIsCostRelevant: undefined | string

Indicator for Relevancy to Costing. Controls the extent to which a BOM item, operation, or suboperation in the routing is included in costing. For the Standard Cost Estimate and the calculation of planned costs for a Work Order, this indicator specifies whether the item is included in costing.A BOM item or operation for which the indicator for relevancy to costing is X is fully relevant to costing.A BOM item or operation without an indicator for relevancy to costing is not relevant to costing at all.For Inventory Costing, you can link relevancy to costing indicators to factors for the fixed and variable costs so that the item values can be adjusted in costing depending on the valuation variant. You do this in Customizing for Product Cost Controlling.A BOM item or operation has the indicator for relevancy to costing A, which you have linked in Customizing for Product Cost Controlling to a fixed factor of 0.8 and a variable factor of 0.8. The BOM item or operation is costed in inventory costing at 80% of the fixed costs and 80% of the variable costs.For output materials (that is, materials for which the co-product indicator has been set in the material master and that have a negative BOM item), the relevance to costing indicator has no effect on the BOM item.The BOM usage that you selected on the initial screen determines whether this field is ready for input. For more information, see Customizing under Production -> Basic Data -> Bill of Material -> General Data -> BOM Usage -> Define BOM Usages. Maximum length: 1.

nullable

Optional materialCompOriginalQuantity

materialCompOriginalQuantity: BigNumber

Original Quantity of a Material Component.

nullable

Optional materialComponentIsPhantomItem

materialComponentIsPhantomItem: undefined | false | true

Phantom Item Indicator.

nullable

Optional materialGroup

materialGroup: undefined | string

Material Group. Key that you use to group together several materials or services with the same attributes, and to assign them to a particular material group. You can use material groups to:Restrict the scope of analysesSearch specifically for material master records via search helps. Maximum length: 9.

nullable

Optional matlCompIsMarkedForBackflush

matlCompIsMarkedForBackflush: undefined | false | true

Indicator: Backflush. Indicator specifying that the material component is backflushed. Each material component is assigned to an operation in the production order. If a material component is backflushed, the system posts the withdrawal only upon confirmation of the operation. The withdrawal is then posted automatically.

nullable

Optional matlCompRequirementDate

matlCompRequirementDate: Moment

Material Component Requirement Date.

nullable

Optional matlCompRequirementTime

matlCompRequirementTime: Time

Material Component Requirement Time.

nullable

Optional operationScrapInPercent

operationScrapInPercent: BigNumber

Operation Scrap. Scrap that is expected in one operation for the quantity of a component to be processed. This entry is used to override the assembly scrap for materials of high value.If operation scrap is maintained, you avoid the situation whereby too much of the material is planned in MRP for the components of subsequent operations.If you make an entry for operation scrap, you must also select the operation scrap net indicator (Net field).You can find examples of scrap under net scrap.

nullable

Optional orderInternalBillOfOperations

orderInternalBillOfOperations: undefined | string

Order Internal ID. Maximum length: 10.

nullable

Optional plant

plant: undefined | string

Plant. Key uniquely identifying a plant. Maximum length: 4.

nullable

Optional productionPlant

productionPlant: undefined | string

Production Plant in Planned Order. Plant in which the order quantity of the internally produced material is to be produced according to the planned order. Maximum length: 4.

nullable

Optional quantityIsFixed

quantityIsFixed: undefined | false | true

Quantity is fixed. Determines that the quantity of an item is constant. Set this indicator if the quantity in a relational system does not change.If an item of a BOM is marked as being fixed and the quantity of the finished product to be manufactured is changed, the quantity of this item does not change.If a "materials to be provided" item is not marked as being fixed, and the quantity of the subcontracted item is changed, the quantity of the material to be provided to the subcontractor changes proportionately.

nullable

Protected remoteState

remoteState: object

The remote state of the entity. Remote state refers to the last known state of the entity on the remote system from which it has been retrieved or to which it has been posted. It is stored as map, where the keys are stored in the format of VDM properties.

Type declaration

  • [keys: string]: any

Optional requiredQuantity

requiredQuantity: BigNumber

Requirement Quantity. Specifies the quantity in the base unit of measure, which can have various meanings, depending on the situation: In the case of a planned order or a production order, this is the quantity of the material component required to manufacture the planned order quantity.In the case of a reservation, this is the quantity reserved.

nullable

reservation

reservation: string

Number of reservation/dependent requirements. Alphanumeric key uniquely identifying the document. Maximum length: 10.

Optional reservationIsFinallyIssued

reservationIsFinallyIssued: undefined | false | true

Final Issue for Reservation. Indicates that a reservation item is completed. Further goods movements in respect of this reservation item are not anticipated, although they are still possible.The indicator is set automatically for a goods movement when the total reserved quantity has been withdrawn or delivered. In the case of a partial delivery, you can manually set the indicator if no further goods movements are expected in respect of the relevant reservation item.

nullable

reservationItem

reservationItem: string

Reservation Item. Maximum length: 4.

Optional salesOrder

salesOrder: undefined | string

Sales Order. Number of the sales order to which the order is to be settled. Maximum length: 10.

nullable

Optional salesOrderItem

salesOrderItem: undefined | string

Sales Order Item. Item in the sales order to which the order is to be settled. Maximum length: 6.

nullable

Optional sortField

sortField: undefined | string

Sort String. String which can be defined as required for sorting components for display. Maximum length: 10.

nullable

Optional storageLocation

storageLocation: undefined | string

Storage Location. Maximum length: 4.

nullable

Optional supplyArea

supplyArea: undefined | string

Production Supply Area. Maximum length: 10.

nullable

Optional unloadingPointName

unloadingPointName: undefined | string

Unloading Point. Specifies the point at which the material is to be unloaded (for example, ramp 1). Maximum length: 25.

nullable

Optional withdrawnQuantity

withdrawnQuantity: BigNumber

Withdrawn Quantity.

nullable

Optional withdrawnQuantityAmount

withdrawnQuantityAmount: BigNumber

Value Withdrawn. Indicates the value of the quantity withdrawn from storage.

nullable

Static ALL_FIELDS

ALL_FIELDS: AllFields<ProcessOrderComponent> = new AllFields('*', ProcessOrderComponent)

All fields selector.

Static BASE_UNIT

BASE_UNIT: StringField<ProcessOrderComponent> = new StringField('BaseUnit', ProcessOrderComponent, 'Edm.String')

Static representation of the baseUnit property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static BATCH

BATCH: StringField<ProcessOrderComponent> = new StringField('Batch', ProcessOrderComponent, 'Edm.String')

Static representation of the batch property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static BATCH_SPLIT_TYPE

BATCH_SPLIT_TYPE: StringField<ProcessOrderComponent> = new StringField('BatchSplitType', ProcessOrderComponent, 'Edm.String')

Static representation of the batchSplitType property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static BILL_OF_MATERIAL_CATEGORY

BILL_OF_MATERIAL_CATEGORY: StringField<ProcessOrderComponent> = new StringField('BillOfMaterialCategory', ProcessOrderComponent, 'Edm.String')

Static representation of the billOfMaterialCategory property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static BILL_OF_MATERIAL_ITEM_NUMBER

BILL_OF_MATERIAL_ITEM_NUMBER: StringField<ProcessOrderComponent> = new StringField('BillOfMaterialItemNumber', ProcessOrderComponent, 'Edm.String')

Static representation of the billOfMaterialItemNumber property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static BOM_ITEM

BOM_ITEM: StringField<ProcessOrderComponent> = new StringField('BOMItem', ProcessOrderComponent, 'Edm.String')

Static representation of the bomItem property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static BOM_ITEM_CATEGORY

BOM_ITEM_CATEGORY: StringField<ProcessOrderComponent> = new StringField('BOMItemCategory', ProcessOrderComponent, 'Edm.String')

Static representation of the bomItemCategory property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static BOM_ITEM_DESCRIPTION

BOM_ITEM_DESCRIPTION: StringField<ProcessOrderComponent> = new StringField('BOMItemDescription', ProcessOrderComponent, 'Edm.String')

Static representation of the bomItemDescription property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static BOM_ITEM_TEXT_2

BOM_ITEM_TEXT_2: StringField<ProcessOrderComponent> = new StringField('BOMItemText2', ProcessOrderComponent, 'Edm.String')

Static representation of the bomItemText2 property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static COMPONENT_SCRAP_IN_PERCENT

COMPONENT_SCRAP_IN_PERCENT: BigNumberField<ProcessOrderComponent> = new BigNumberField('ComponentScrapInPercent', ProcessOrderComponent, 'Edm.Decimal')

Static representation of the componentScrapInPercent property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static CONFIRMED_AVAILABLE_QUANTITY

CONFIRMED_AVAILABLE_QUANTITY: BigNumberField<ProcessOrderComponent> = new BigNumberField('ConfirmedAvailableQuantity', ProcessOrderComponent, 'Edm.Decimal')

Static representation of the confirmedAvailableQuantity property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static CURRENCY

CURRENCY: StringField<ProcessOrderComponent> = new StringField('Currency', ProcessOrderComponent, 'Edm.String')

Static representation of the currency property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static GOODS_MOVEMENT_TYPE

GOODS_MOVEMENT_TYPE: StringField<ProcessOrderComponent> = new StringField('GoodsMovementType', ProcessOrderComponent, 'Edm.String')

Static representation of the goodsMovementType property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static GOODS_RECIPIENT_NAME

GOODS_RECIPIENT_NAME: StringField<ProcessOrderComponent> = new StringField('GoodsRecipientName', ProcessOrderComponent, 'Edm.String')

Static representation of the goodsRecipientName property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static IS_BULK_MATERIAL_COMPONENT

IS_BULK_MATERIAL_COMPONENT: BooleanField<ProcessOrderComponent> = new BooleanField('IsBulkMaterialComponent', ProcessOrderComponent, 'Edm.Boolean')

Static representation of the isBulkMaterialComponent property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static IS_NET_SCRAP

IS_NET_SCRAP: BooleanField<ProcessOrderComponent> = new BooleanField('IsNetScrap', ProcessOrderComponent, 'Edm.Boolean')

Static representation of the isNetScrap property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static LEAD_TIME_OFFSET

LEAD_TIME_OFFSET: BigNumberField<ProcessOrderComponent> = new BigNumberField('LeadTimeOffset', ProcessOrderComponent, 'Edm.Decimal')

Static representation of the leadTimeOffset property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static MANUFACTURING_ORDER

MANUFACTURING_ORDER: StringField<ProcessOrderComponent> = new StringField('ManufacturingOrder', ProcessOrderComponent, 'Edm.String')

Static representation of the manufacturingOrder property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static MANUFACTURING_ORDER_CATEGORY

MANUFACTURING_ORDER_CATEGORY: StringField<ProcessOrderComponent> = new StringField('ManufacturingOrderCategory', ProcessOrderComponent, 'Edm.String')

Static representation of the manufacturingOrderCategory property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static MANUFACTURING_ORDER_OPERATION

MANUFACTURING_ORDER_OPERATION: StringField<ProcessOrderComponent> = new StringField('ManufacturingOrderOperation', ProcessOrderComponent, 'Edm.String')

Static representation of the manufacturingOrderOperation property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static MANUFACTURING_ORDER_SEQUENCE

MANUFACTURING_ORDER_SEQUENCE: StringField<ProcessOrderComponent> = new StringField('ManufacturingOrderSequence', ProcessOrderComponent, 'Edm.String')

Static representation of the manufacturingOrderSequence property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static MANUFACTURING_ORDER_TYPE

MANUFACTURING_ORDER_TYPE: StringField<ProcessOrderComponent> = new StringField('ManufacturingOrderType', ProcessOrderComponent, 'Edm.String')

Static representation of the manufacturingOrderType property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static MATERIAL

MATERIAL: StringField<ProcessOrderComponent> = new StringField('Material', ProcessOrderComponent, 'Edm.String')

Static representation of the material property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static MATERIAL_COMPONENT_IS_PHANTOM_ITEM

MATERIAL_COMPONENT_IS_PHANTOM_ITEM: BooleanField<ProcessOrderComponent> = new BooleanField('MaterialComponentIsPhantomItem', ProcessOrderComponent, 'Edm.Boolean')

Static representation of the materialComponentIsPhantomItem property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static MATERIAL_COMP_IS_COST_RELEVANT

MATERIAL_COMP_IS_COST_RELEVANT: StringField<ProcessOrderComponent> = new StringField('MaterialCompIsCostRelevant', ProcessOrderComponent, 'Edm.String')

Static representation of the materialCompIsCostRelevant property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static MATERIAL_COMP_ORIGINAL_QUANTITY

MATERIAL_COMP_ORIGINAL_QUANTITY: BigNumberField<ProcessOrderComponent> = new BigNumberField('MaterialCompOriginalQuantity', ProcessOrderComponent, 'Edm.Decimal')

Static representation of the materialCompOriginalQuantity property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static MATERIAL_GROUP

MATERIAL_GROUP: StringField<ProcessOrderComponent> = new StringField('MaterialGroup', ProcessOrderComponent, 'Edm.String')

Static representation of the materialGroup property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static MATL_COMP_IS_MARKED_FOR_BACKFLUSH

MATL_COMP_IS_MARKED_FOR_BACKFLUSH: BooleanField<ProcessOrderComponent> = new BooleanField('MatlCompIsMarkedForBackflush', ProcessOrderComponent, 'Edm.Boolean')

Static representation of the matlCompIsMarkedForBackflush property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static MATL_COMP_REQUIREMENT_DATE

MATL_COMP_REQUIREMENT_DATE: DateField<ProcessOrderComponent> = new DateField('MatlCompRequirementDate', ProcessOrderComponent, 'Edm.DateTime')

Static representation of the matlCompRequirementDate property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static MATL_COMP_REQUIREMENT_TIME

MATL_COMP_REQUIREMENT_TIME: TimeField<ProcessOrderComponent> = new TimeField('MatlCompRequirementTime', ProcessOrderComponent, 'Edm.Time')

Static representation of the matlCompRequirementTime property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static OPERATION_SCRAP_IN_PERCENT

OPERATION_SCRAP_IN_PERCENT: BigNumberField<ProcessOrderComponent> = new BigNumberField('OperationScrapInPercent', ProcessOrderComponent, 'Edm.Decimal')

Static representation of the operationScrapInPercent property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static ORDER_INTERNAL_BILL_OF_OPERATIONS

ORDER_INTERNAL_BILL_OF_OPERATIONS: StringField<ProcessOrderComponent> = new StringField('OrderInternalBillOfOperations', ProcessOrderComponent, 'Edm.String')

Static representation of the orderInternalBillOfOperations property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PLANT

PLANT: StringField<ProcessOrderComponent> = new StringField('Plant', ProcessOrderComponent, 'Edm.String')

Static representation of the plant property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PRODUCTION_PLANT

PRODUCTION_PLANT: StringField<ProcessOrderComponent> = new StringField('ProductionPlant', ProcessOrderComponent, 'Edm.String')

Static representation of the productionPlant property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static QUANTITY_IS_FIXED

QUANTITY_IS_FIXED: BooleanField<ProcessOrderComponent> = new BooleanField('QuantityIsFixed', ProcessOrderComponent, 'Edm.Boolean')

Static representation of the quantityIsFixed property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static REQUIRED_QUANTITY

REQUIRED_QUANTITY: BigNumberField<ProcessOrderComponent> = new BigNumberField('RequiredQuantity', ProcessOrderComponent, 'Edm.Decimal')

Static representation of the requiredQuantity property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RESERVATION

RESERVATION: StringField<ProcessOrderComponent> = new StringField('Reservation', ProcessOrderComponent, 'Edm.String')

Static representation of the reservation property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RESERVATION_IS_FINALLY_ISSUED

RESERVATION_IS_FINALLY_ISSUED: BooleanField<ProcessOrderComponent> = new BooleanField('ReservationIsFinallyIssued', ProcessOrderComponent, 'Edm.Boolean')

Static representation of the reservationIsFinallyIssued property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RESERVATION_ITEM

RESERVATION_ITEM: StringField<ProcessOrderComponent> = new StringField('ReservationItem', ProcessOrderComponent, 'Edm.String')

Static representation of the reservationItem property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static SALES_ORDER

SALES_ORDER: StringField<ProcessOrderComponent> = new StringField('SalesOrder', ProcessOrderComponent, 'Edm.String')

Static representation of the salesOrder property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static SALES_ORDER_ITEM

SALES_ORDER_ITEM: StringField<ProcessOrderComponent> = new StringField('SalesOrderItem', ProcessOrderComponent, 'Edm.String')

Static representation of the salesOrderItem property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static SORT_FIELD

SORT_FIELD: StringField<ProcessOrderComponent> = new StringField('SortField', ProcessOrderComponent, 'Edm.String')

Static representation of the sortField property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static STORAGE_LOCATION

STORAGE_LOCATION: StringField<ProcessOrderComponent> = new StringField('StorageLocation', ProcessOrderComponent, 'Edm.String')

Static representation of the storageLocation property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static SUPPLY_AREA

SUPPLY_AREA: StringField<ProcessOrderComponent> = new StringField('SupplyArea', ProcessOrderComponent, 'Edm.String')

Static representation of the supplyArea property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static UNLOADING_POINT_NAME

UNLOADING_POINT_NAME: StringField<ProcessOrderComponent> = new StringField('UnloadingPointName', ProcessOrderComponent, 'Edm.String')

Static representation of the unloadingPointName property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static WITHDRAWN_QUANTITY

WITHDRAWN_QUANTITY: BigNumberField<ProcessOrderComponent> = new BigNumberField('WithdrawnQuantity', ProcessOrderComponent, 'Edm.Decimal')

Static representation of the withdrawnQuantity property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static WITHDRAWN_QUANTITY_AMOUNT

WITHDRAWN_QUANTITY_AMOUNT: BigNumberField<ProcessOrderComponent> = new BigNumberField('WithdrawnQuantityAmount', ProcessOrderComponent, 'Edm.Decimal')

Static representation of the withdrawnQuantityAmount property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static _allFields

_allFields: Array<StringField<ProcessOrderComponent> | DateField<ProcessOrderComponent> | BigNumberField<ProcessOrderComponent> | BooleanField<ProcessOrderComponent> | TimeField<ProcessOrderComponent>> = [ProcessOrderComponent.RESERVATION,ProcessOrderComponent.RESERVATION_ITEM,ProcessOrderComponent.BILL_OF_MATERIAL_ITEM_NUMBER,ProcessOrderComponent.BOM_ITEM_DESCRIPTION,ProcessOrderComponent.MATERIAL,ProcessOrderComponent.PLANT,ProcessOrderComponent.PRODUCTION_PLANT,ProcessOrderComponent.MATL_COMP_REQUIREMENT_DATE,ProcessOrderComponent.BASE_UNIT,ProcessOrderComponent.REQUIRED_QUANTITY,ProcessOrderComponent.WITHDRAWN_QUANTITY,ProcessOrderComponent.BOM_ITEM,ProcessOrderComponent.STORAGE_LOCATION,ProcessOrderComponent.SUPPLY_AREA,ProcessOrderComponent.MANUFACTURING_ORDER_SEQUENCE,ProcessOrderComponent.MANUFACTURING_ORDER,ProcessOrderComponent.MANUFACTURING_ORDER_OPERATION,ProcessOrderComponent.MANUFACTURING_ORDER_CATEGORY,ProcessOrderComponent.MANUFACTURING_ORDER_TYPE,ProcessOrderComponent.ORDER_INTERNAL_BILL_OF_OPERATIONS,ProcessOrderComponent.BOM_ITEM_TEXT_2,ProcessOrderComponent.BOM_ITEM_CATEGORY,ProcessOrderComponent.BILL_OF_MATERIAL_CATEGORY,ProcessOrderComponent.SORT_FIELD,ProcessOrderComponent.GOODS_RECIPIENT_NAME,ProcessOrderComponent.UNLOADING_POINT_NAME,ProcessOrderComponent.BATCH,ProcessOrderComponent.BATCH_SPLIT_TYPE,ProcessOrderComponent.MATERIAL_COMP_ORIGINAL_QUANTITY,ProcessOrderComponent.MATL_COMP_IS_MARKED_FOR_BACKFLUSH,ProcessOrderComponent.IS_BULK_MATERIAL_COMPONENT,ProcessOrderComponent.MATERIAL_COMPONENT_IS_PHANTOM_ITEM,ProcessOrderComponent.MATERIAL_COMP_IS_COST_RELEVANT,ProcessOrderComponent.CONFIRMED_AVAILABLE_QUANTITY,ProcessOrderComponent.GOODS_MOVEMENT_TYPE,ProcessOrderComponent.MATL_COMP_REQUIREMENT_TIME,ProcessOrderComponent.SALES_ORDER,ProcessOrderComponent.SALES_ORDER_ITEM,ProcessOrderComponent.COMPONENT_SCRAP_IN_PERCENT,ProcessOrderComponent.OPERATION_SCRAP_IN_PERCENT,ProcessOrderComponent.QUANTITY_IS_FIXED,ProcessOrderComponent.IS_NET_SCRAP,ProcessOrderComponent.RESERVATION_IS_FINALLY_ISSUED,ProcessOrderComponent.WITHDRAWN_QUANTITY_AMOUNT,ProcessOrderComponent.CURRENCY,ProcessOrderComponent.LEAD_TIME_OFFSET,ProcessOrderComponent.MATERIAL_GROUP]

All fields of the ProcessOrderComponent entity.

Static _defaultServicePath

_defaultServicePath: string = "/sap/opu/odata/sap/API_PROCESS_ORDERS"

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProcessOrderComponent"

Technical entity name for ProcessOrderComponent.

Static _keyFields

_keyFields: Array<Selectable<ProcessOrderComponent>> = [ProcessOrderComponent.RESERVATION, ProcessOrderComponent.RESERVATION_ITEM]

All key fields of the ProcessOrderComponent entity.

Static _keys

_keys: object = ProcessOrderComponent._keyFields.reduce((acc: { [keys: string]: Selectable<ProcessOrderComponent> }, field: Selectable<ProcessOrderComponent>) => {acc[field._fieldName] = field;return acc;}, {})

Mapping of all key field names to the respective static field property ProcessOrderComponent.

Type declaration

Static _serviceName

_serviceName: string = "API_PROCESS_ORDERS"
deprecated

Since v1.0.1 Use _defaultServicePath instead. Technical service name for ProcessOrderComponent.

Accessors

versionIdentifier

  • get versionIdentifier(): string
  • ETag version identifier accessor.

    Returns string

    The ETag version identifier of the retrieved entity, returns undefined if not retrieved

Methods

Protected getCurrentMapKeys

  • getCurrentMapKeys(): Entity
  • Returns a map of all defined fields in entity to their current values.

    Returns Entity

    Entity with all defined entity fields

getCustomField

  • getCustomField(fieldName: string): any
  • Custom field value getter.

    Parameters

    • fieldName: string

      The name of the custom field

    Returns any

    The value of the corresponding custom field

getCustomFields

  • getCustomFields(): MapType<any>
  • Returns a map that contains all entity custom fields.

    Returns MapType<any>

    A map of all defined custom fields in the entity

getUpdatedCustomFields

  • getUpdatedCustomFields(): MapType<any>
  • Returns all updated custom field properties compared to the last known remote state.

    Returns MapType<any>

    A map containing all updated custom properties, with their new values

getUpdatedProperties

  • getUpdatedProperties(): Entity
  • Returns all changed properties compared to the last known remote state. The returned properties does not include custom fields. Use getUpdatedCustomFields, if updated custom fields are needed.

    Returns Entity

    Entity with all properties that changed

hasCustomField

  • hasCustomField(fieldName: string): boolean
  • Validates whether a custom field exists in the entity.

    Parameters

    • fieldName: string

      The name of the custom field to update

    Returns boolean

    A boolean value, that indicates whether a custom field is defined in entity

initializeCustomFields

  • initializeCustomFields(customFields: MapType<any>): this
  • Sets all retrieved custom fields in entity.

    Parameters

    • customFields: MapType<any>

      Extracted custom fields from a retrieved entity

    Returns this

    A boolean value, that indicates the existence of the field in entity

Protected isConflictingCustomField

  • isConflictingCustomField(customFieldName: string): boolean
  • Validates whether a field name does not conflict with an original field name and thus can be defined as custom fields.

    Parameters

    • customFieldName: string

      Field name to check

    Returns boolean

    Boolean value that describes whether a field name can be defined as custom field

setCustomField

  • setCustomField(fieldName: string, value: any): this
  • Sets a new custom field in the entity or updates it. Throws an error, if the provided custom field name is already defined by an original field in entity.

    Parameters

    • fieldName: string

      The name of the custom field to update

    • value: any

      The value of the field

    Returns this

    The entity itself, to facilitate method chaining

setOrInitializeRemoteState

  • setOrInitializeRemoteState(state?: MapType<any>): this
  • Initializes or sets the remoteState of the entity. This function is called on all read, create and update requests. This function should be called after initializeCustomFields, if custom fields are defined.

    deprecated

    Since 1.12.0. Will be removed in version 2.0.

    Parameters

    • Optional state: MapType<any>

      State to be set as remote state

    Returns this

    The entity itself, to facilitate method chaining

setVersionIdentifier

  • setVersionIdentifier(etag: string | undefined): this
  • Set the ETag version identifier of the retrieved entity.

    Parameters

    • etag: string | undefined

      The returned ETag version of the entity

    Returns this

    The entity itself, to facilitate method chaining

toJSON

  • toJSON(): object
  • Overwrites the default toJSON method so that all instance variables as well as all custom fields of the entity are returned.

    Returns object

    An object containing all instance variables + custom fields.

    • [key: string]: any

Static builder

Static customField

  • Returns a selectable object that allows the selection of custom field in a get request for the entity ProcessOrderComponent.

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<ProcessOrderComponent>

    A builder that constructs instances of entity type ProcessOrderComponent.

Static Protected customFieldSelector

  • customFieldSelector<EntityT>(fieldName: string, entityConstructor: Constructable<EntityT>): CustomField<EntityT>
  • Type parameters

    • EntityT: Entity

    Parameters

    • fieldName: string
    • entityConstructor: Constructable<EntityT>

    Returns CustomField<EntityT>

Static Protected entityBuilder

  • entityBuilder<EntityT, EntityTypeForceMandatoryT>(entityConstructor: Constructable<EntityT, EntityTypeForceMandatoryT>): EntityBuilderType<EntityT, EntityTypeForceMandatoryT>
  • Type parameters

    • EntityT: Entity

    • EntityTypeForceMandatoryT

    Parameters

    • entityConstructor: Constructable<EntityT, EntityTypeForceMandatoryT>

    Returns EntityBuilderType<EntityT, EntityTypeForceMandatoryT>

Static requestBuilder

  • Returns a request builder to construct requests for operations on the ProcessOrderComponent entity type.

    Returns ProcessOrderComponentRequestBuilder

    A ProcessOrderComponent request builder.