Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProductionOrderConf" of service "API_PROD_ORDER_CONFIRMATION". This service is part of the following communication scenarios: Production Planning Integration (SAP_COM_0104). See https://api.sap.com/api/API_PROD_ORDER_CONFIRMATION for more information.

Hierarchy

  • Entity
    • ProductionOrderConf

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • Returns ProductionOrderConf

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 capacityRequirementSplit

capacityRequirementSplit: number

Split number.

nullable

Optional confirmationReworkQuantity

confirmationReworkQuantity: BigNumber

Current Confirmation Rework Quantity. Indicates which rework quantity is currently to be confirmed. The rework quantity has the following effect:When you insert a reference operation set into the current order from the confirmation (using trigger points) the confirmed rework quantity is transferred as the operation quantity to the inserted rework operations.When you create a new order from the confirmation (using trigger points) the confirmed rework quantity is used as the order quantity for the rework order.A trigger point is not triggered when you enter a rework quantity; it is triggered when you set or reset a system status or when you set a user status.

nullable

Optional confirmationScrapQuantity

confirmationScrapQuantity: BigNumber

Scrap to Be Confirmed. Scrap that you want to confirm for this operation.

nullable

Optional confirmationText

confirmationText: string

Confirmation Text. Maximum length: 40.

nullable

Optional confirmationTotalQuantity

confirmationTotalQuantity: BigNumber

Total Rework.

nullable

Optional confirmationUnit

confirmationUnit: string

Confirmation Unit of Measure. Unit in which the yield/scrap is confirmed. Maximum length: 3.

nullable

Optional confirmationYieldQuantity

confirmationYieldQuantity: BigNumber

Yield to be Confirmed. Yield that you want to confirm for the operation.

nullable

Optional enteredByExternalUser

enteredByExternalUser: string

Created By. Maximum length: 12.

nullable

Optional enteredByUser

enteredByUser: string

Entered By. Maximum length: 12.

nullable

Optional isFinalConfirmation

isFinalConfirmation: boolean

Activation of Final Confirmation. Specifies that no further confirmations are required. The system assigns the 'finally confirmed' system status.

nullable

Optional isReversed

isReversed: boolean

Indicator: Document was reversed.

nullable

Optional lastChangedByUser

lastChangedByUser: string

Changed By. The user who made the change. Maximum length: 12.

nullable

Optional manufacturingOrderOperation

manufacturingOrderOperation: string

Operation/Phase Number. Key uniquely identifying an operation or phase. Maximum length: 4.

nullable

Optional manufacturingOrderSequence

manufacturingOrderSequence: string

Manufacturing Order Sequence. Maximum length: 6.

nullable

Optional manufacturingOrderType

manufacturingOrderType: string

Manufacturing Order Type. Maximum length: 4.

nullable

Optional material

material: string

Material Number for Order. Number of the material that is to be produced with this order. Maximum length: 40.

nullable

Optional materialName

materialName: string

Material Description. Text containing up to 40 characters that describes the material in more detail. You can enter one material description in each of any number of languages.In principle, you enter the material description on the data screen of the first user department for which you enter data, and in your logon language. You can overwrite the material description on the Basic Data screen. Maximum length: 40.

nullable

Optional mfgOrderConfirmationEntryDate

mfgOrderConfirmationEntryDate: Moment

Entry Date of Confirmation.

nullable

Optional mfgOrderConfirmationEntryTime

mfgOrderConfirmationEntryTime: Time

Confirmation Entry Time.

nullable

Optional mfgOrderPlannedTotalQty

mfgOrderPlannedTotalQty: BigNumber

Manufacturing Order Planned Total Quantity.

nullable

Optional opTotalConfirmedScrapQty

opTotalConfirmedScrapQty: BigNumber

Total Scrap Quantity Confirmed. Scrap previously confirmed for the operation.

nullable

Optional opTotalConfirmedYieldQty

opTotalConfirmedYieldQty: BigNumber

Total Confirmed Yield. Yield confirmed for the operation.

nullable

operationConfirmationCount

operationConfirmationCount: string

Identifier of Single Order Confirmation. Maximum length: 8.

Optional postingDate

postingDate: Moment

Posting Date.

nullable

Optional productionOrder

productionOrder: string

Manufacturing Order ID. Maximum length: 12.

nullable

productionOrderConfirmation

productionOrderConfirmation: string

Collective ID of Order Confirmations. Maximum length: 10.

Optional productionPlant

productionPlant: string

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

nullable

Optional productionUnit

productionUnit: string

Production Unit of Measure. Maximum length: 3.

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

versionIdentifier

versionIdentifier: string

ETag version identifier accessor.

returns

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

Optional workCenter

workCenter: string

Work Center. Indicates the work center or the resource that is used to generate a print request. Maximum length: 8.

nullable

Optional workCenterInternalId

workCenterInternalId: string

Work Center Internal ID. Maximum length: 8.

nullable

Optional workCenterTypeCode

workCenterTypeCode: string

Object types of the CIM resource. Internally used key which identifies the type of operating resource. For example, the following indicators represent: A - a work centerFH - a production resource/tool.The key is only used internally but it is displayed within matchcode selection on technical grounds. You do not have to make an entry. Maximum length: 2.

nullable

Static ALL_FIELDS

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

All fields selector.

Static CAPACITY_REQUIREMENT_SPLIT

CAPACITY_REQUIREMENT_SPLIT: NumberField<ProductionOrderConf> = new NumberField('CapacityRequirementSplit', ProductionOrderConf, 'Edm.Byte')

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

Static CONFIRMATION_REWORK_QUANTITY

CONFIRMATION_REWORK_QUANTITY: BigNumberField<ProductionOrderConf> = new BigNumberField('ConfirmationReworkQuantity', ProductionOrderConf, 'Edm.Decimal')

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

Static CONFIRMATION_SCRAP_QUANTITY

CONFIRMATION_SCRAP_QUANTITY: BigNumberField<ProductionOrderConf> = new BigNumberField('ConfirmationScrapQuantity', ProductionOrderConf, 'Edm.Decimal')

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

Static CONFIRMATION_TEXT

CONFIRMATION_TEXT: StringField<ProductionOrderConf> = new StringField('ConfirmationText', ProductionOrderConf, 'Edm.String')

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

Static CONFIRMATION_TOTAL_QUANTITY

CONFIRMATION_TOTAL_QUANTITY: BigNumberField<ProductionOrderConf> = new BigNumberField('ConfirmationTotalQuantity', ProductionOrderConf, 'Edm.Decimal')

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

Static CONFIRMATION_UNIT

CONFIRMATION_UNIT: StringField<ProductionOrderConf> = new StringField('ConfirmationUnit', ProductionOrderConf, 'Edm.String')

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

Static CONFIRMATION_YIELD_QUANTITY

CONFIRMATION_YIELD_QUANTITY: BigNumberField<ProductionOrderConf> = new BigNumberField('ConfirmationYieldQuantity', ProductionOrderConf, 'Edm.Decimal')

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

Static ENTERED_BY_EXTERNAL_USER

ENTERED_BY_EXTERNAL_USER: StringField<ProductionOrderConf> = new StringField('EnteredByExternalUser', ProductionOrderConf, 'Edm.String')

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

Static ENTERED_BY_USER

ENTERED_BY_USER: StringField<ProductionOrderConf> = new StringField('EnteredByUser', ProductionOrderConf, 'Edm.String')

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

Static IS_FINAL_CONFIRMATION

IS_FINAL_CONFIRMATION: BooleanField<ProductionOrderConf> = new BooleanField('IsFinalConfirmation', ProductionOrderConf, 'Edm.Boolean')

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

Static IS_REVERSED

IS_REVERSED: BooleanField<ProductionOrderConf> = new BooleanField('IsReversed', ProductionOrderConf, 'Edm.Boolean')

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

Static LAST_CHANGED_BY_USER

LAST_CHANGED_BY_USER: StringField<ProductionOrderConf> = new StringField('LastChangedByUser', ProductionOrderConf, 'Edm.String')

Static representation of the lastChangedByUser 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<ProductionOrderConf> = new StringField('ManufacturingOrderOperation', ProductionOrderConf, '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<ProductionOrderConf> = new StringField('ManufacturingOrderSequence', ProductionOrderConf, '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<ProductionOrderConf> = new StringField('ManufacturingOrderType', ProductionOrderConf, '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<ProductionOrderConf> = new StringField('Material', ProductionOrderConf, '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_NAME

MATERIAL_NAME: StringField<ProductionOrderConf> = new StringField('MaterialName', ProductionOrderConf, 'Edm.String')

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

Static MFG_ORDER_CONFIRMATION_ENTRY_DATE

MFG_ORDER_CONFIRMATION_ENTRY_DATE: DateField<ProductionOrderConf> = new DateField('MfgOrderConfirmationEntryDate', ProductionOrderConf, 'Edm.DateTime')

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

Static MFG_ORDER_CONFIRMATION_ENTRY_TIME

MFG_ORDER_CONFIRMATION_ENTRY_TIME: TimeField<ProductionOrderConf> = new TimeField('MfgOrderConfirmationEntryTime', ProductionOrderConf, 'Edm.Time')

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

Static MFG_ORDER_PLANNED_TOTAL_QTY

MFG_ORDER_PLANNED_TOTAL_QTY: BigNumberField<ProductionOrderConf> = new BigNumberField('MfgOrderPlannedTotalQty', ProductionOrderConf, 'Edm.Decimal')

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

Static OPERATION_CONFIRMATION_COUNT

OPERATION_CONFIRMATION_COUNT: StringField<ProductionOrderConf> = new StringField('OperationConfirmationCount', ProductionOrderConf, 'Edm.String')

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

Static OP_TOTAL_CONFIRMED_SCRAP_QTY

OP_TOTAL_CONFIRMED_SCRAP_QTY: BigNumberField<ProductionOrderConf> = new BigNumberField('OpTotalConfirmedScrapQty', ProductionOrderConf, 'Edm.Decimal')

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

Static OP_TOTAL_CONFIRMED_YIELD_QTY

OP_TOTAL_CONFIRMED_YIELD_QTY: BigNumberField<ProductionOrderConf> = new BigNumberField('OpTotalConfirmedYieldQty', ProductionOrderConf, 'Edm.Decimal')

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

Static POSTING_DATE

POSTING_DATE: DateField<ProductionOrderConf> = new DateField('PostingDate', ProductionOrderConf, 'Edm.DateTime')

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

Static PRODUCTION_ORDER

PRODUCTION_ORDER: StringField<ProductionOrderConf> = new StringField('ProductionOrder', ProductionOrderConf, 'Edm.String')

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

Static PRODUCTION_ORDER_CONFIRMATION

PRODUCTION_ORDER_CONFIRMATION: StringField<ProductionOrderConf> = new StringField('ProductionOrderConfirmation', ProductionOrderConf, 'Edm.String')

Static representation of the productionOrderConfirmation 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<ProductionOrderConf> = new StringField('ProductionPlant', ProductionOrderConf, '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 PRODUCTION_UNIT

PRODUCTION_UNIT: StringField<ProductionOrderConf> = new StringField('ProductionUnit', ProductionOrderConf, 'Edm.String')

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

Static WORK_CENTER

WORK_CENTER: StringField<ProductionOrderConf> = new StringField('WorkCenter', ProductionOrderConf, 'Edm.String')

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

Static WORK_CENTER_INTERNAL_ID

WORK_CENTER_INTERNAL_ID: StringField<ProductionOrderConf> = new StringField('WorkCenterInternalID', ProductionOrderConf, 'Edm.String')

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

Static WORK_CENTER_TYPE_CODE

WORK_CENTER_TYPE_CODE: StringField<ProductionOrderConf> = new StringField('WorkCenterTypeCode', ProductionOrderConf, 'Edm.String')

Static representation of the workCenterTypeCode 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<ProductionOrderConf> | BigNumberField<ProductionOrderConf> | NumberField<ProductionOrderConf> | BooleanField<ProductionOrderConf> | DateField<ProductionOrderConf> | TimeField<ProductionOrderConf>> = [ProductionOrderConf.PRODUCTION_ORDER_CONFIRMATION,ProductionOrderConf.OPERATION_CONFIRMATION_COUNT,ProductionOrderConf.PRODUCTION_ORDER,ProductionOrderConf.MANUFACTURING_ORDER_TYPE,ProductionOrderConf.MATERIAL,ProductionOrderConf.MATERIAL_NAME,ProductionOrderConf.MFG_ORDER_PLANNED_TOTAL_QTY,ProductionOrderConf.PRODUCTION_UNIT,ProductionOrderConf.MANUFACTURING_ORDER_OPERATION,ProductionOrderConf.MANUFACTURING_ORDER_SEQUENCE,ProductionOrderConf.CAPACITY_REQUIREMENT_SPLIT,ProductionOrderConf.WORK_CENTER,ProductionOrderConf.WORK_CENTER_INTERNAL_ID,ProductionOrderConf.WORK_CENTER_TYPE_CODE,ProductionOrderConf.PRODUCTION_PLANT,ProductionOrderConf.IS_FINAL_CONFIRMATION,ProductionOrderConf.MFG_ORDER_CONFIRMATION_ENTRY_DATE,ProductionOrderConf.MFG_ORDER_CONFIRMATION_ENTRY_TIME,ProductionOrderConf.POSTING_DATE,ProductionOrderConf.IS_REVERSED,ProductionOrderConf.ENTERED_BY_EXTERNAL_USER,ProductionOrderConf.LAST_CHANGED_BY_USER,ProductionOrderConf.ENTERED_BY_USER,ProductionOrderConf.CONFIRMATION_YIELD_QUANTITY,ProductionOrderConf.OP_TOTAL_CONFIRMED_YIELD_QTY,ProductionOrderConf.CONFIRMATION_SCRAP_QUANTITY,ProductionOrderConf.OP_TOTAL_CONFIRMED_SCRAP_QTY,ProductionOrderConf.CONFIRMATION_REWORK_QUANTITY,ProductionOrderConf.CONFIRMATION_TOTAL_QUANTITY,ProductionOrderConf.CONFIRMATION_UNIT,ProductionOrderConf.CONFIRMATION_TEXT]

All fields of the ProductionOrderConf entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProductionOrderConf"

Technical entity name for ProductionOrderConf.

Static _keyFields

_keyFields: Array<Selectable<ProductionOrderConf>> = [ProductionOrderConf.PRODUCTION_ORDER_CONFIRMATION, ProductionOrderConf.OPERATION_CONFIRMATION_COUNT]

All key fields of the ProductionOrderConf entity.

Static _keys

_keys: any = ProductionOrderConf._keyFields.reduce((acc: any, field) => {acc[field.fieldName] = field;return acc;}, {})

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

Static _serviceName

_serviceName: string = "API_PROD_ORDER_CONFIRMATION"
deprecated

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

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.

    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): this
  • Set the ETag version identifier of the retrieved entity.

    Parameters

    • etag: string

      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

  • Returns an entity builder to construct instances ProductionOrderConf.

    Returns EntityBuilderType<ProductionOrderConf, ProductionOrderConfType>

    A builder that constructs instances of entity type ProductionOrderConf.

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<ProductionOrderConf>

    A builder that constructs instances of entity type ProductionOrderConf.

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, JsonT>(entityConstructor: Constructable<EntityT>): EntityBuilderType<EntityT, JsonT>
  • Type parameters

    • EntityT: Entity

    • JsonT

    Parameters

    • entityConstructor: Constructable<EntityT>

    Returns EntityBuilderType<EntityT, JsonT>

Static requestBuilder

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

    Returns ProductionOrderConfRequestBuilder

    A ProductionOrderConf request builder.