Create materials

post

/fscmRestApi/resources/11.13.18.05/maintenanceWorkOrders/{WorkOrderId}/child/WorkOrderOperation/{WoOperationId}/child/WorkOrderOperationMaterial

Request

Path Parameters
  • Value that uniquely identifies the work order operation. This attribute is read-only. The value of this attribute is generated when the application creates the work order operation.
  • Value that uniquely identifies the work order. This attribute is read-only. The value of this attribute is derived from the work order number when the application creates the work order.
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
  • Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Title: Allocated Quantity
    Quantity of material allocated during the picking process when a movement request is created for a work order operation item.
  • Title: Include in planning
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then planning considers the material when it plans the supply. If false, then planning does not consider the material when it plans the supply. The default value is true.
  • Value that uniquely identifies the material component item to issue to the work order. You must provide either the item number or the item identifier to create a work order operation material.
  • Maximum Length: 255
    Number that uniquely identifies the material component item to issue to the work order. You must provide either the item number or the item identifier to create a work order operation material.
  • Title: Issued Quantity
    Net quantity of the material issued to the operation.
  • Title: Sequence
    Number that identifies the sequence of the material component assigned to the work order operation. The sequence is required to create an operation material. The last operation material sequence incremented by 10 is used as sequence to create an operation material.
  • Title: Picked Quantity
    Quantity of material picked when the pick slip is confirmed and is issued either directly to the work order or is moved to the supply subinventory for a work order operation item.
  • Quantity that the work order creates. This attribute is not applicable to maintenance work orders.
  • Title: Required Quantity
    Material component quantity required to complete the work order operation per asset. It's a required attribute to create an operation material. The value of the RequiredQuantity attribute is calculated based on this value and the option chosen for basis type.
  • Maximum Length: 255
    Abbreviation that identifies the reason for repair of the maintenance work order operation material. This attribute is read-only. The list of values comes from the user-defined condition event codes with the transaction type Reason for repair.
  • Title: Required Date
    Date when the plant requires the materials so it can perform the operation. This attribute is required. The default value is the operation start date. The required date must not occur before the operation start date, or after the operation completion date.
  • Title: Reserved Quantity
    Quantity of material that is reserved for a work order operation item.
  • Title: Supply Locator
    Value that uniquely identifies the supply subinventory locator from where the material is issued during an assembly or operation pull. The default value is the component item definition or the plant parameters.
  • Title: Supply Subinventory
    Maximum Length: 20
    Supply subinventory from where the material is issued during an assembly or operation pull. The default value is the component item definition or the plant parameters.
  • Title: Supply Type
    Maximum Length: 30
    Type of consumption of the material component. Valid values include 1: Push, 2: Assembly pull, 3: Operation pull, 4: Bulk, and 5: Supplier. This attribute is required to create an operation material. If the supply type is not provided the default value is material component item. If the work order was created with a work definition then the default value is based on the work definition.
  • Title: UOM
    Maximum Length: 3
    Abbreviation that identifies the unit of measure (UOM) of the operation material quantity.
  • Value that uniquely identifies the material for work order operation. This attribute is read-only. The value of this attribute is generated when the application creates the operation material.
  • Value that uniquely identifies the work order to which the operation material belongs. This attribute is read-only. The value of this attribute is derived from the work order.
  • Flexfields for Operation Materials
    Title: Flexfields for Operation Materials
    The Flexfields for Operation Materials resource manages descriptive flexfields that contain details about the materials that the work order operation processes.
Nested Schema : Flexfields for Operation Materials
Type: array
Title: Flexfields for Operation Materials
The Flexfields for Operation Materials resource manages descriptive flexfields that contain details about the materials that the work order operation processes.
Show Source
Nested Schema : schema
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : maintenanceWorkOrders-WorkOrderOperation-WorkOrderOperationMaterial-item-response
Type: object
Show Source
  • Title: Allocated Quantity
    Quantity of material allocated during the picking process when a movement request is created for a work order operation item.
  • Title: Include in planning
    Maximum Length: 1
    Contains one of the following values: true or false. If true, then planning considers the material when it plans the supply. If false, then planning does not consider the material when it plans the supply. The default value is true.
  • Value that uniquely identifies the material component item to issue to the work order. You must provide either the item number or the item identifier to create a work order operation material.
  • Maximum Length: 255
    Number that uniquely identifies the material component item to issue to the work order. You must provide either the item number or the item identifier to create a work order operation material.
  • Title: Issued Quantity
    Net quantity of the material issued to the operation.
  • Read Only: true
    Maximum Length: 300
    Number that identifies the material component item to issue to the work order. You must provide either the item number or the item identifier to create a work order operation material.
  • Links
  • Title: Sequence
    Number that identifies the sequence of the material component assigned to the work order operation. The sequence is required to create an operation material. The last operation material sequence incremented by 10 is used as sequence to create an operation material.
  • Title: Name
    Read Only: true
    Maximum Length: 120
    Name of the operation to which the operation material belongs. This attribute is read-only. The value of this attribute is derived from the work order operation.
  • Title: Operation Sequence
    Read Only: true
    Number that identifies the sequence to use when performing the work order operations to which the operation material belongs. This attribute is read-only. The value of this attribute is derived from the work order operation.
  • Title: Picked Quantity
    Quantity of material picked when the pick slip is confirmed and is issued either directly to the work order or is moved to the supply subinventory for a work order operation item.
  • Quantity that the work order creates. This attribute is not applicable to maintenance work orders.
  • Title: Required Quantity
    Material component quantity required to complete the work order operation per asset. It's a required attribute to create an operation material. The value of the RequiredQuantity attribute is calculated based on this value and the option chosen for basis type.
  • Maximum Length: 255
    Abbreviation that identifies the reason for repair of the maintenance work order operation material. This attribute is read-only. The list of values comes from the user-defined condition event codes with the transaction type Reason for repair.
  • Title: Name
    Read Only: true
    Maximum Length: 240
    Meaning of the repair transaction code.
  • Title: Required Date
    Date when the plant requires the materials so it can perform the operation. This attribute is required. The default value is the operation start date. The required date must not occur before the operation start date, or after the operation completion date.
  • Title: Reserved Quantity
    Quantity of material that is reserved for a work order operation item.
  • Title: Code
    Read Only: true
    Maximum Length: 30
    Abbreviation that identifies the standard operation the operation is referring to. This attribute is read-only. The value of this attribute is derived from the operation.
  • Read Only: true
    Value that uniquely identifies the standard operation the operation is referring to. This attribute is read-only. The value of this attribute is derived from the operation.
  • Read Only: true
    Maximum Length: 255
    Name of the supply locator from where the material component item is issued. This attribute is read-only. The value of this attribute is derived from the supply locator identifier.
  • Title: Supply Locator
    Value that uniquely identifies the supply subinventory locator from where the material is issued during an assembly or operation pull. The default value is the component item definition or the plant parameters.
  • Title: Supply Subinventory
    Maximum Length: 20
    Supply subinventory from where the material is issued during an assembly or operation pull. The default value is the component item definition or the plant parameters.
  • Title: Supply Type
    Maximum Length: 30
    Type of consumption of the material component. Valid values include 1: Push, 2: Assembly pull, 3: Operation pull, 4: Bulk, and 5: Supplier. This attribute is required to create an operation material. If the supply type is not provided the default value is material component item. If the work order was created with a work definition then the default value is based on the work definition.
  • Read Only: true
    Maximum Length: 80
    Description of the operation material supply type. This attribute is read-only. The value of this attribute is derived from the supply type code.
  • Title: UOM Name
    Read Only: true
    Maximum Length: 25
    Unit of measure of the material component quantity to be issued. It is the primary unit of measure of the item. This attribute is read-only. The value of this attribute is derived from the material component item.
  • Title: UOM
    Maximum Length: 3
    Abbreviation that identifies the unit of measure (UOM) of the operation material quantity.
  • Value that uniquely identifies the material for work order operation. This attribute is read-only. The value of this attribute is generated when the application creates the operation material.
  • Read Only: true
    Value that uniquely identifies the work area in which the operation is performed. This attribute is read-only. The value of this attribute is derived from the operation work center.
  • Title: Name
    Read Only: true
    Maximum Length: 80
    Name of the work area in which the operation is performed. This attribute is read-only. The value of this attribute is derived from the operation work center.
  • Read Only: true
    Value that uniquely identifies the work center in which the operation is performed. This attribute is read-only. The value of this attribute is derived from the operation.
  • Title: Name
    Read Only: true
    Maximum Length: 80
    Name of the work center in which the operation is performed. This attribute is read-only. The value of this attribute is derived from the operation.
  • Value that uniquely identifies the work order to which the operation material belongs. This attribute is read-only. The value of this attribute is derived from the work order.
  • Flexfields for Operation Materials
    Title: Flexfields for Operation Materials
    The Flexfields for Operation Materials resource manages descriptive flexfields that contain details about the materials that the work order operation processes.
Nested Schema : Flexfields for Operation Materials
Type: array
Title: Flexfields for Operation Materials
The Flexfields for Operation Materials resource manages descriptive flexfields that contain details about the materials that the work order operation processes.
Show Source
Nested Schema : maintenanceWorkOrders-WorkOrderOperation-WorkOrderOperationMaterial-WorkOrderOperationMaterialDFF-item-response
Type: object
Show Source
Back to Top