Create lots
post
/fscmRestApi/resources/11.13.18.05/materialTransactions/{materialTransactionsUniqID}/child/MaterialTransactionDetail/{MaterialTransactionDetailUniqID}/child/TransactionLot
Request
Path Parameters
-
MaterialTransactionDetailUniqID(required): string
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.
-
materialTransactionsUniqID(required): string
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
-
Metadata-Context:
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".
-
REST-Framework-Version:
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
- application/json
Root Schema : schema
Type:
Show Source
object
-
LotExpirationDate: string
(date)
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. -
LotHoldUntilDate: string
(date-time)
Title:
Hold Until Date
Date when the hold expires for the lot number. This attribute is associated with a feature that requires opt in. -
LotNumber(required): string
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. -
LotOriginationDate: string
(date-time)
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. -
ParentLotNumber: string
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. -
SecondaryTransactionQuantity: number
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. -
TransactionLotDFF: array
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. -
TransactionQuantity(required): number
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:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for transaction lots. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield display value for transaction lots. -
Discriminator: string
This is a transient attribute. The value of this attribute will always be null. Ignore this attribute.
-
InterfaceRowId: integer
(int64)
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.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context(required):
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".
-
REST-Framework-Version(required):
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.
Root Schema : materialTransactions-MaterialTransactionDetail-TransactionLot-item-response
Type:
Show Source
object
-
ErrorMessageNames: string
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. -
ErrorMessages: string
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: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotExpirationDate: string
(date)
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. -
LotHoldUntilDate: string
(date-time)
Title:
Hold Until Date
Date when the hold expires for the lot number. This attribute is associated with a feature that requires opt in. -
LotNumber: string
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. -
LotOriginationDate: string
(date-time)
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. -
ParentLotNumber: string
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. -
SecondaryTransactionQuantity: number
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. -
TransactionLotDFF: array
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. -
TransactionQuantity: number
Title:
Transaction Quantity
Quantity of the material lot transacted for the work order.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
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 : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : materialTransactions-MaterialTransactionDetail-TransactionLot-TransactionLotDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for transaction lots. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield display value for transaction lots. -
Discriminator: string
This is a transient attribute. The value of this attribute will always be null. Ignore this attribute.
-
InterfaceRowId: integer
(int64)
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.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Links
- TransactionLotDFF
-
Parameters:
- MaterialTransactionDetailUniqID:
$request.path.MaterialTransactionDetailUniqID
- TransactionLotUniqID:
$request.path.TransactionLotUniqID
- materialTransactionsUniqID:
$request.path.materialTransactionsUniqID
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. - MaterialTransactionDetailUniqID: