Create lots

post

/fscmRestApi/resources/11.13.18.05/materialTransactions/{materialTransactionsUniqID}/child/MaterialTransactionDetail/{MaterialTransactionDetailUniqID}/child/TransactionLot

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key for the Material Transaction Details resource and used to uniquely identify an instance of Material Transaction Details. The client should not generate the hash key value. Instead, the client should query on the Material Transaction Details collection resource in order to navigate to a specific instance of Material Transaction Details to get the hash key.
  • This is the hash key of the attributes which make up the composite key for the Work Order Material Transactions resource and used to uniquely identify an instance of Work Order Material Transactions. The client should not generate the hash key value. Instead, the client should query on the Work Order Material Transactions collection resource in order to navigate to a specific instance of Work Order Material Transactions to get the hash key.
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.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Title: Lot Expiration Date
    Date when the component of this lot expires. This attribute is required only for a new lot and is applicable only for orderless completions.
  • Title: Hold Until Date
    Date when the hold expires for the lot number. This attribute is associated with a feature that requires opt in.
  • Title: Lot Number
    Maximum Length: 80
    Lot number of the material (component) issued for the work order. This attribute is needed only if material is lot controlled.
  • Title: Lot Origination Date
    Date when the lot originated. This attribute is required only if the item is lot controlled and transaction type code is ORDERLESS_COMPLETION.
  • Title: Parent Lot Number
    Maximum Length: 80
    Number that identifies the parent lot of the lot number used for the work order material. This attribute is applicable if the material is lot controlled. This attribute is associated with a feature that requires opt in.
  • Title: Secondary Transaction Quantity
    Secondary quantity of the material lot transacted for the work order. This attribute is associated with a feature that requires opt in.
  • Flexfields for Material Transaction Lots
    Title: Flexfields for Material Transaction Lots
    The Flexfields for Material Transaction Lots resource manages descriptive flexfields for process manufacturing work order output transactions. It doesn???t manage descriptive flexfields for work order component transactions.
  • Title: Transaction Quantity
    Quantity of the material lot transacted for the work order.
Nested Schema : Flexfields for Material Transaction Lots
Type: array
Title: Flexfields for Material Transaction Lots
The Flexfields for Material Transaction Lots resource manages descriptive flexfields for process manufacturing work order output transactions. It doesn???t manage descriptive flexfields for work order component transactions.
Show Source
Nested Schema : schema
Type: object
Show Source
  • Title: Context Value
    Maximum Length: 30
    Descriptive flexfield context name for transaction lots.
  • Title: Context Value
    Descriptive flexfield display value for transaction lots.
  • This is a transient attribute. The value of this attribute will always be null. Ignore this attribute.
  • Value that identifies the transaction lot that a descriptive flexfield references. This attribute is a primary key. It is recommended that you not include this attribute in the request payload.
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 : materialTransactions-MaterialTransactionDetail-TransactionLot-item-response
Type: object
Show Source
  • Read Only: true
    Maximum Length: 255
    Name of the error message, if any, when processing the transaction lot. Each text string in the ErrorMessages attribute corresponds to one error message name in the ErrorMessageNames attribute. A comma ( , ) separates each message name.
  • Read Only: true
    Maximum Length: 2000
    Text of the error message, if any, when processing this transaction lot. Each text string in the ErrorMessages attribute corresponds to one error message name in the ErrorMessageNames attribute. A double dollar sign ($$) separates each message.
  • Links
  • Title: Lot Expiration Date
    Date when the component of this lot expires. This attribute is required only for a new lot and is applicable only for orderless completions.
  • Title: Hold Until Date
    Date when the hold expires for the lot number. This attribute is associated with a feature that requires opt in.
  • Title: Lot Number
    Maximum Length: 80
    Lot number of the material (component) issued for the work order. This attribute is needed only if material is lot controlled.
  • Title: Lot Origination Date
    Date when the lot originated. This attribute is required only if the item is lot controlled and transaction type code is ORDERLESS_COMPLETION.
  • Title: Parent Lot Number
    Maximum Length: 80
    Number that identifies the parent lot of the lot number used for the work order material. This attribute is applicable if the material is lot controlled. This attribute is associated with a feature that requires opt in.
  • Title: Secondary Transaction Quantity
    Secondary quantity of the material lot transacted for the work order. This attribute is associated with a feature that requires opt in.
  • Flexfields for Material Transaction Lots
    Title: Flexfields for Material Transaction Lots
    The Flexfields for Material Transaction Lots resource manages descriptive flexfields for process manufacturing work order output transactions. It doesn???t manage descriptive flexfields for work order component transactions.
  • Title: Transaction Quantity
    Quantity of the material lot transacted for the work order.
Nested Schema : Flexfields for Material Transaction Lots
Type: array
Title: Flexfields for Material Transaction Lots
The Flexfields for Material Transaction Lots resource manages descriptive flexfields for process manufacturing work order output transactions. It doesn???t manage descriptive flexfields for work order component transactions.
Show Source
Nested Schema : materialTransactions-MaterialTransactionDetail-TransactionLot-TransactionLotDFF-item-response
Type: object
Show Source
Back to Top