Create lots
post
/fscmRestApi/resources/11.13.18.05/receivingTransactions/{GroupId}/child/transactionLines/{UniqueTransactionId}/child/lotItemLots
Request
Path Parameters
-
GroupId(required): integer
Value that uniquely identifies the group of transactions from each service call. The application provides this value. It is recommended that you leave this attribute empty.
-
UniqueTransactionId(required): integer(int64)
Value that uniquely identifies the receiving transaction.
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-
ExpirationActionCode: string
Maximum Length:
32Abbreviation that identifies the expiration action. -
ExpirationActionDate: string
(date)
Date when the warehouse performed the expiration action.
-
GradeCode: string
Maximum Length:
150Abbreviation that identifies the grade. -
HoldDate: string
(date)
Date when the warehouse applied a hold on the lot.
-
LotExpirationDate: string
(date)
Date when the item of this lot expires.
-
lotItemLotAttributesDFF: array
Flexfields for Lot Attributes
Title:
Flexfields for Lot AttributesThe Flexfields for Lot Attributes resource manages details about lot attributes that the descriptive flexfield references. Use it when only the lot controls the item. -
lotItemLotsDFF: array
Flexfields for Lots
Title:
Flexfields for LotsThe Flexfields for Lots resource manages details about the lot that the descriptive flexfield references. Use it when only the lot controls the item. -
LotNumber(required): string
Maximum Length:
80Lot number for the item. Applies when the warehouse places the item under lot control. -
MaturityDate: string
(date)
Date when the lot matures.
-
OriginationDate: string
(date)
Date when this lot originated.
-
OriginationType: string
Maximum Length:
30Type of origination for the lot. -
ParentLotNumber: string
Maximum Length:
80Parent lot number of the lot. -
PrimaryQuantity: number
Transaction quantity for this lot in the primary unit of measure that the item uses.
-
ReasonId: integer
(int64)
Value that uniquely identifies the inventory transaction reason for the receiving transaction for this lot. Applies when the warehouse places the item under lot control.
-
ReasonName: string
Maximum Length:
30Name of the inventory transaction reason for the receiving transaction for this lot. Applies when the warehouse places the item under lot control. -
RetestDate: string
(date)
Date when the lot is retested. This attribute is based on the lot origination date and the retest interval.
-
SecondaryTransactionQuantity: number
Transaction quantity for this lot in the secondary unit of measure that the item uses.
-
StatusId: integer
(int64)
Value that uniquely identifies the material status.
-
TransactionQuantity(required): number
Transaction quantity of the item for this lot. Applies when the warehouse places the item under lot control.
-
VendorLotNumber: string
Maximum Length:
150Supplier lot number.
Nested Schema : Flexfields for Lot Attributes
Type:
arrayTitle:
Flexfields for Lot AttributesThe Flexfields for Lot Attributes resource manages details about lot attributes that the descriptive flexfield references. Use it when only the lot controls the item.
Show Source
Nested Schema : Flexfields for Lots
Type:
arrayTitle:
Flexfields for LotsThe Flexfields for Lots resource manages details about the lot that the descriptive flexfield references. Use it when only the lot controls the item.
Show Source
Nested Schema : schema
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Name of the context for the descriptive flexfield that contains details about each lot attribute. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDisplay value of the context for the descriptive flexfield that contains details about each lot attribute. -
LotNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
Nested Schema : schema
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Name of the context for the descriptive flexfield that contains details about each lot. Applies when the warehouse places the item under lot control. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDisplay value of the context for the descriptive flexfield that contains details about each lot. Applies when the warehouse places the item under lot control. -
LotNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
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.
Root Schema : receivingTransactions-transactionLines-lotItemLots-item-response
Type:
Show Source
object-
ExpirationActionCode: string
Maximum Length:
32Abbreviation that identifies the expiration action. -
ExpirationActionDate: string
(date)
Date when the warehouse performed the expiration action.
-
GradeCode: string
Maximum Length:
150Abbreviation that identifies the grade. -
HoldDate: string
(date)
Date when the warehouse applied a hold on the lot.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotExpirationDate: string
(date)
Date when the item of this lot expires.
-
lotItemLotAttributesDFF: array
Flexfields for Lot Attributes
Title:
Flexfields for Lot AttributesThe Flexfields for Lot Attributes resource manages details about lot attributes that the descriptive flexfield references. Use it when only the lot controls the item. -
lotItemLotsDFF: array
Flexfields for Lots
Title:
Flexfields for LotsThe Flexfields for Lots resource manages details about the lot that the descriptive flexfield references. Use it when only the lot controls the item. -
LotNumber: string
Maximum Length:
80Lot number for the item. Applies when the warehouse places the item under lot control. -
MaturityDate: string
(date)
Date when the lot matures.
-
OriginationDate: string
(date)
Date when this lot originated.
-
OriginationType: string
Maximum Length:
30Type of origination for the lot. -
ParentLotNumber: string
Maximum Length:
80Parent lot number of the lot. -
PrimaryQuantity: number
Transaction quantity for this lot in the primary unit of measure that the item uses.
-
ReasonId: integer
(int64)
Value that uniquely identifies the inventory transaction reason for the receiving transaction for this lot. Applies when the warehouse places the item under lot control.
-
ReasonName: string
Maximum Length:
30Name of the inventory transaction reason for the receiving transaction for this lot. Applies when the warehouse places the item under lot control. -
RetestDate: string
(date)
Date when the lot is retested. This attribute is based on the lot origination date and the retest interval.
-
SecondaryTransactionQuantity: number
Transaction quantity for this lot in the secondary unit of measure that the item uses.
-
StatusId: integer
(int64)
Value that uniquely identifies the material status.
-
TransactionQuantity: number
Transaction quantity of the item for this lot. Applies when the warehouse places the item under lot control.
-
VendorLotNumber: string
Maximum Length:
150Supplier lot number.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Flexfields for Lot Attributes
Type:
arrayTitle:
Flexfields for Lot AttributesThe Flexfields for Lot Attributes resource manages details about lot attributes that the descriptive flexfield references. Use it when only the lot controls the item.
Show Source
Nested Schema : Flexfields for Lots
Type:
arrayTitle:
Flexfields for LotsThe Flexfields for Lots resource manages details about the lot that the descriptive flexfield references. Use it when only the lot controls the item.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed 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 : receivingTransactions-transactionLines-lotItemLots-lotItemLotAttributesDFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Name of the context for the descriptive flexfield that contains details about each lot attribute. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDisplay value of the context for the descriptive flexfield that contains details about each lot attribute. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : receivingTransactions-transactionLines-lotItemLots-lotItemLotsDFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Name of the context for the descriptive flexfield that contains details about each lot. Applies when the warehouse places the item under lot control. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDisplay value of the context for the descriptive flexfield that contains details about each lot. Applies when the warehouse places the item under lot control. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80 -
TransactionInterfaceId: integer
(int64)
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- lotItemLotAttributesDFF
-
Parameters:
- GroupId:
$request.path.GroupId - UniqueTransactionId:
$request.path.UniqueTransactionId - lotItemLotsUniqID:
$request.path.lotItemLotsUniqID
The Flexfields for Lot Attributes resource manages details about lot attributes that the descriptive flexfield references. Use it when only the lot controls the item. - GroupId:
- lotItemLotsDFF
-
Parameters:
- GroupId:
$request.path.GroupId - UniqueTransactionId:
$request.path.UniqueTransactionId - lotItemLotsUniqID:
$request.path.lotItemLotsUniqID
The Flexfields for Lots resource manages details about the lot that the descriptive flexfield references. Use it when only the lot controls the item. - GroupId: