Create transaction lines
post
/fscmRestApi/resources/11.13.18.05/inventoryTransactions/{inventoryTransactionsUniqID}/child/transactionLines
Request
Path Parameters
-
inventoryTransactionsUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Inventory Transactions (Deprecated) resource and used to uniquely identify an instance of Inventory Transactions (Deprecated). The client should not generate the hash key value. Instead, the client should query on the Inventory Transactions (Deprecated) collection resource in order to navigate to a specific instance of Inventory Transactions (Deprecated) 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
-
AgingOnsetDate: string
(date)
Date when the inventory aging starts for the consigned item.
-
DistributionAccountId: integer
(int64)
Value that uniquely identifies the distribution account.
-
InventoryItemId: integer
(int64)
Value that uniquely identifies the item.
-
Item: string
Maximum Length:
300
Name of the item. -
LocationType: string
Maximum Length:
30
Type of ship-to location. -
Locator: string
Maximum Length:
2000
Name of the locator. -
LocatorId: integer
(int64)
Value that uniquely identifies the locator.
-
lotItemLots: array
Lots That Control Items
Title:
Lots That Control Items
The Lots That Control Items resource manages details about the lot. Use it when only the lot controls the item. -
lotSerialItemLots: array
Lots That Share Control
Title:
Lots That Share Control
The Lots That Share Control resource manages details about the lots that control the item. Use it when lots and serials control the item. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization.
-
OrganizationName: string
Maximum Length:
240
Name of the organization. -
OwningOrganizationId: integer
(int64)
Value that uniquely identifies the owning organization.
-
OwningOrganizationName: string
Maximum Length:
240
Name of the owning organization. -
OwningTpType: string
Maximum Length:
30
Type of owning party. -
PrimaryQuantity: number
Transaction quantity in the primary unit of measure.
-
ProcurementBU: string
Maximum Length:
240
Procurement business unit for a consigned item. -
ReasonId: integer
(int64)
Value that uniquely identifies the transaction reason.
-
ReasonName: string
Maximum Length:
80
Name of the transaction reason. -
Revision: string
Maximum Length:
18
Revision of the item. -
SecondaryTransactionQuantity: number
Secondary transaction quantity.
-
serialItemSerials: array
Serials That Control Items
Title:
Serials That Control Items
The Serials That Control Items resource manages details about the serial. Use it when only the serial controls the item. -
ShipmentNumber: string
Maximum Length:
30
Value that uniquely identifies the shipment. -
SourceHeaderId: integer
(int64)
Default Value:
-999
Value that uniquely identifies the transaction source header. -
SourceLineId: integer
(int64)
Default Value:
-999
Value that uniquely identifies the transaction source line. -
Subinventory: string
Maximum Length:
10
Name of the subinventory. -
TransactionAction: string
Maximum Length:
80
Name of the transaction action. -
TransactionActionId: string
Maximum Length:
30
Value that uniquely identifies the transaction action. -
TransactionDate(required): string
(date-time)
Date when the transaction occurred.
-
TransactionHeaderId: integer
(int64)
Value that uniquely identifies the transaction header.
-
transactionLinesDFF: array
Flexfields for Transaction Lines
Title:
Flexfields for Transaction Lines
The Flexfields for Transaction Lines resource manages the descriptive flexfield that modifies transaction lines. -
TransactionQuantity(required): number
Transaction quantity.
-
TransactionSourceId: integer
(int64)
Value that uniquely identifies the transaction source.
-
TransactionSourceName: string
Maximum Length:
120
Name of the transaction source. -
TransactionSourceTypeId: integer
(int64)
Value that uniquely identifies the transaction source type.
-
TransactionSourceTypeName: string
Maximum Length:
30
Name of the transaction source type. -
TransactionType: string
Maximum Length:
80
Name of the transaction type. -
TransactionTypeId: integer
(int64)
Value that uniquely identifies the transaction type.
-
TransactionUnitOfMeasure: string
Maximum Length:
25
Unit of measure for the transaction. -
TransactionUOM: string
Maximum Length:
3
Abbreviation that identifies the unit of measure for the transaction. -
TransferLocator: integer
(int64)
Destination locator identifier for a transfer transaction.
-
TransferLocatorName: string
Maximum Length:
2000
Name of the destination locator for a transfer transaction. -
TransferOrganizationId: integer
(int64)
Value that uniquely identifies the destination organization for transfer transactions.
-
TransferOrganizationName: string
Maximum Length:
240
Name of the transfer organization. -
TransferOwningOrganizationId: integer
(int64)
Value that uniquely identifies the transfer owning organization.
-
TransferOwningOrganizationName: string
Maximum Length:
240
Name of the transfer owning organization. -
TransferOwningTpType: string
Maximum Length:
30
Type of the transfer owning party. -
TransferSubinventory: string
Maximum Length:
10
Name of the destination subinventory for a transfer transaction. -
UniqueTransactionId: integer
(int64)
Value that uniquely identifies the transaction line.
-
VendorName: string
Maximum Length:
240
Supplier name for the consigned item. -
VendorNumber: string
Maximum Length:
30
Supplier number for the consigned item.
Nested Schema : Lots That Control Items
Type:
array
Title:
Lots That Control Items
The Lots That Control Items resource manages details about the lot. Use it when only the lot controls the item.
Show Source
Nested Schema : Lots That Share Control
Type:
array
Title:
Lots That Share Control
The Lots That Share Control resource manages details about the lots that control the item. Use it when lots and serials control the item.
Show Source
Nested Schema : Serials That Control Items
Type:
array
Title:
Serials That Control Items
The Serials That Control Items resource manages details about the serial. Use it when only the serial controls the item.
Show Source
Nested Schema : Flexfields for Transaction Lines
Type:
array
Title:
Flexfields for Transaction Lines
The Flexfields for Transaction Lines resource manages the descriptive flexfield that modifies transaction lines.
Show Source
Nested Schema : schema
Type:
Show Source
object
-
LotExpirationDate: string
(date)
Date when the lot expires. Applies when the item is lot controlled.
-
lotItemLotAttributesDFF: array
Flexfields for Lot Attributes
Title:
Flexfields for Lot Attributes
The Flexfields for Lot Attributes resource manages the descriptive flexfields in inventory transactions when an item is lot controlled. -
lotItemLotsDFF: array
Flexfields for Lots
Title:
Flexfields for Lots
The Flexfields for Lots resource manages the descriptive flexfields in inventory transactions when an item is lot controlled. -
LotNumber(required): string
Maximum Length:
80
Number that identifies the lot. Applies when the item is lot controlled. -
ParentLotNumber: string
Maximum Length:
80
Number that identifies the parent lot . Applies when the item is lot controlled. -
PrimaryQuantity: number
Transaction quantity of the lot in the primary unit of measure. Applies when the item is lot controlled.
-
ReasonId: integer
(int64)
Value that uniquely identifies the reason for the lot. Applies when the item is lot controlled.
-
ReasonName: string
Maximum Length:
30
Name of the reason for the lot. Applies when the item is lot controlled. -
SecondaryTransactionQuantity: number
Secondary transaction quantity of the lot. Applies when the item is lot controlled.
-
TransactionQuantity(required): number
Transaction quantity of the lot. Applies when the item is lot controlled.
-
VendorLotNumber: string
Maximum Length:
150
Number that identifies the vendor. Applies when the item is lot controlled.
Nested Schema : Flexfields for Lot Attributes
Type:
array
Title:
Flexfields for Lot Attributes
The Flexfields for Lot Attributes resource manages the descriptive flexfields in inventory transactions when an item is lot controlled.
Show Source
Nested Schema : Flexfields for Lots
Type:
array
Title:
Flexfields for Lots
The Flexfields for Lots resource manages the descriptive flexfields in inventory transactions when an item is lot controlled.
Show Source
Nested Schema : schema
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for an attribute of the lot. Applies when the item is lot controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for an attribute of the lot. Applies when the item is lot controlled. -
LotNumber: string
Maximum Length:
80
Number that identifies the lot of the inventory item that references an attribute of the lot. Applies when the item is lot controlled. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references an attribute of the lot. Applies when the item is lot controlled.
Nested Schema : schema
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for lots. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for lots. Applies when the item is both lot and serial controlled. -
LotNumber: string
Maximum Length:
80
Number that identifies the lot of the inventory item that references the lot. Applies when the item is both lot and serial controlled. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references the lot. Applies when the item is both lot and serial controlled.
Nested Schema : schema
Type:
Show Source
object
-
LotExpirationDate: string
(date)
Date when the lot expires. Applies when the lot and serial control the item.
-
LotNumber(required): string
Maximum Length:
80
Lot number. Applies when the lot and serial control the item. -
lotSerialItemLotAttributesDFF: array
Flexfields for Lot Attributes That Share Control
Title:
Flexfields for Lot Attributes That Share Control
The Flexfields for Lot Attributes That Share Control resource manages the descriptive flexfields in inventory transactions when an item is both lot and serial controlled. -
lotSerialItemLotsDFF: array
Flexfields for Lots That Share Control
Title:
Flexfields for Lots That Share Control
The Flexfields for Lots That Share Control resource manages the descriptive flexfields in inventory transactions when an item is both lot and serial controlled. -
lotSerialItemSerials: array
Serials That Share Control
Title:
Serials That Share Control
The Serials That Share Control resource manages details about the serials that control the item. Use it when lots and serials control the item. -
ParentLotNumber: string
Maximum Length:
80
Number that identifies the parent lot. Applies when the lot and serial control the item. -
PrimaryQuantity: number
Transaction quantity of the lot in the primary unit of measure. Applies when the item is both lot and serial controlled.
-
ReasonId: integer
(int64)
Value that uniquely identifies the reason for the lot. Applies when the item is both lot and serial controlled.
-
ReasonName: string
Maximum Length:
30
Name of the reason for the lot. Applies when the lot and serial control the item. -
SecondaryTransactionQuantity: number
Secondary transaction quantity of the lot. Applies when the item is both lot and serial controlled.
-
TransactionQuantity(required): number
Transaction quantity of the lot. Applies when the item is both lot and serial controlled.
-
VendorLotNumber: string
Maximum Length:
150
Number that identifies the supplier of the lot. Applies when the lot and serial control the item.
Nested Schema : Flexfields for Lot Attributes That Share Control
Type:
array
Title:
Flexfields for Lot Attributes That Share Control
The Flexfields for Lot Attributes That Share Control resource manages the descriptive flexfields in inventory transactions when an item is both lot and serial controlled.
Show Source
Nested Schema : Flexfields for Lots That Share Control
Type:
array
Title:
Flexfields for Lots That Share Control
The Flexfields for Lots That Share Control resource manages the descriptive flexfields in inventory transactions when an item is both lot and serial controlled.
Show Source
Nested Schema : Serials That Share Control
Type:
array
Title:
Serials That Share Control
The Serials That Share Control resource manages details about the serials that control the item. Use it when lots and serials control the item.
Show Source
Nested Schema : schema
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for an attribute of the lot. Applies when the item is lot controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for an attribute of the lot. Applies when the item is lot controlled. -
LotNumber: string
Maximum Length:
80
Number that identifies the lot of the inventory item that references an attribute of the lot. Applies when the item is lot controlled. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references an attribute of the lot. Applies when the item is lot controlled.
Nested Schema : schema
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for lots. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for lots. Applies when the item is both lot and serial controlled. -
LotNumber: string
Maximum Length:
80
Number that identifies the lot of the inventory item that references the lot. Applies when the item is both lot and serial controlled. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references the lot. Applies when the item is both lot and serial controlled.
Nested Schema : schema
Type:
Show Source
object
-
FromSerialNumber(required): string
Maximum Length:
80
Starting serial number in a range. Applies when the lot and serial control the item. -
lotSerialItemSerialAttributesDFF: array
Flexfields for Serials That Share Control
Title:
Flexfields for Serials That Share Control
The Flexfields for Serials That Share Control resource manages the descriptive flexfields in inventory transactions when an item is both lot and serial controlled. -
lotSerialItemSerialsDFF: array
Flexfields for Serial Attributes That Share Control
Title:
Flexfields for Serial Attributes That Share Control
The Flexfields for Serial Attributes That Share Control resource manages the descriptive flexfields in inventory transactions when an item is both lot and serial controlled. -
ToSerialNumber: string
Maximum Length:
80
Ending serial number in a range. Applies when the lot and serial control the item. -
VendorSerialNumber: string
Maximum Length:
80
Supplier serial number. Applies when the lot and serial control the item.
Nested Schema : Flexfields for Serials That Share Control
Type:
array
Title:
Flexfields for Serials That Share Control
The Flexfields for Serials That Share Control resource manages the descriptive flexfields in inventory transactions when an item is both lot and serial controlled.
Show Source
Nested Schema : Flexfields for Serial Attributes That Share Control
Type:
array
Title:
Flexfields for Serial Attributes That Share Control
The Flexfields for Serial Attributes That Share Control resource manages the descriptive flexfields in inventory transactions when an item is both lot and serial controlled.
Show Source
Nested Schema : schema
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for an attribute of the serial. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for an attribute of the serial. Applies when the item is both lot and serial controlled. -
FromSerialNumber: string
Maximum Length:
80
Starting serial number in a range of serial numbers that references an attribute of the serial. Applies when the item is both lot and serial controlled. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references the attribute of the serial. Applies when the item is both lot and serial controlled.
Nested Schema : schema
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for serials. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context name for serials. Applies when the item is both lot and serial controlled. -
FromSerialNumber: string
Maximum Length:
80
Starting serial number in a range of serial numbers that references the serial. Applies when the item is both lot and serial controlled. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references the serial. Applies when the item is both lot and serial controlled.
Nested Schema : schema
Type:
Show Source
object
-
FromSerialNumber(required): string
Maximum Length:
80
Starting serial number in a range. Applies when the item is serial controlled. -
serialItemSerialAttributesDFF: array
Flexfields for Serial Attributes
Title:
Flexfields for Serial Attributes
The Flexfields for Serial Attributes resource manages the descriptive flexfields in inventory transactions when an item is serial controlled. -
serialItemSerialsDFF: array
Flexfields for Serials
Title:
Flexfields for Serials
The Flexfields for Serials resource manages the descriptive flexfields in inventory transactions when an item is serial controlled. -
ToSerialNumber: string
Maximum Length:
80
Ending serial number in a range. Applies when the item is serial controlled.. -
VendorSerialNumber: string
Maximum Length:
80
Supplier serial number. Applies when only the serial controls the item.
Nested Schema : Flexfields for Serial Attributes
Type:
array
Title:
Flexfields for Serial Attributes
The Flexfields for Serial Attributes resource manages the descriptive flexfields in inventory transactions when an item is serial controlled.
Show Source
Nested Schema : Flexfields for Serials
Type:
array
Title:
Flexfields for Serials
The Flexfields for Serials resource manages the descriptive flexfields in inventory transactions when an item is serial controlled.
Show Source
Nested Schema : schema
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for an attribute of the serial. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for an attribute of the serial. Applies when the item is both lot and serial controlled. -
FromSerialNumber: string
Maximum Length:
80
Starting serial number in a range of serial numbers that references an attribute of the serial. Applies when the item is both lot and serial controlled. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references the attribute of the serial. Applies when the item is both lot and serial controlled.
Nested Schema : schema
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for serials. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context name for serials. Applies when the item is both lot and serial controlled. -
FromSerialNumber: string
Maximum Length:
80
Starting serial number in a range of serial numbers that references the serial. Applies when the item is both lot and serial controlled. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references the serial. Applies when the item is both lot and serial controlled.
Nested Schema : schema
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context
Maximum Length:30
Context value of the descriptive flexfield that references the transaction line. -
__FLEX_Context_DisplayValue: string
Title:
Context
Display value of the descriptive flexfield that references the transaction line. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references the transaction line.
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 : inventoryTransactions-transactionLines-item-response
Type:
Show Source
object
-
AgingOnsetDate: string
(date)
Date when the inventory aging starts for the consigned item.
-
DistributionAccountId: integer
(int64)
Value that uniquely identifies the distribution account.
-
InventoryItemId: integer
(int64)
Value that uniquely identifies the item.
-
Item: string
Maximum Length:
300
Name of the item. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LocationType: string
Maximum Length:
30
Type of ship-to location. -
Locator: string
Maximum Length:
2000
Name of the locator. -
LocatorId: integer
(int64)
Value that uniquely identifies the locator.
-
lotItemLots: array
Lots That Control Items
Title:
Lots That Control Items
The Lots That Control Items resource manages details about the lot. Use it when only the lot controls the item. -
lotSerialItemLots: array
Lots That Share Control
Title:
Lots That Share Control
The Lots That Share Control resource manages details about the lots that control the item. Use it when lots and serials control the item. -
OrganizationId: integer
(int64)
Value that uniquely identifies the organization.
-
OrganizationName: string
Maximum Length:
240
Name of the organization. -
OwningOrganizationId: integer
(int64)
Value that uniquely identifies the owning organization.
-
OwningOrganizationName: string
Maximum Length:
240
Name of the owning organization. -
OwningTpType: string
Maximum Length:
30
Type of owning party. -
PrimaryQuantity: number
Transaction quantity in the primary unit of measure.
-
ProcurementBU: string
Maximum Length:
240
Procurement business unit for a consigned item. -
ReasonId: integer
(int64)
Value that uniquely identifies the transaction reason.
-
ReasonName: string
Maximum Length:
80
Name of the transaction reason. -
Revision: string
Maximum Length:
18
Revision of the item. -
SecondaryTransactionQuantity: number
Secondary transaction quantity.
-
serialItemSerials: array
Serials That Control Items
Title:
Serials That Control Items
The Serials That Control Items resource manages details about the serial. Use it when only the serial controls the item. -
ShipmentNumber: string
Maximum Length:
30
Value that uniquely identifies the shipment. -
SourceHeaderId: integer
(int64)
Default Value:
-999
Value that uniquely identifies the transaction source header. -
SourceLineId: integer
(int64)
Default Value:
-999
Value that uniquely identifies the transaction source line. -
Subinventory: string
Maximum Length:
10
Name of the subinventory. -
TransactionAction: string
Maximum Length:
80
Name of the transaction action. -
TransactionActionId: string
Maximum Length:
30
Value that uniquely identifies the transaction action. -
TransactionDate: string
(date-time)
Date when the transaction occurred.
-
TransactionHeaderId: integer
(int64)
Value that uniquely identifies the transaction header.
-
transactionLinesDFF: array
Flexfields for Transaction Lines
Title:
Flexfields for Transaction Lines
The Flexfields for Transaction Lines resource manages the descriptive flexfield that modifies transaction lines. -
TransactionQuantity: number
Transaction quantity.
-
TransactionSourceId: integer
(int64)
Value that uniquely identifies the transaction source.
-
TransactionSourceName: string
Maximum Length:
120
Name of the transaction source. -
TransactionSourceTypeId: integer
(int64)
Value that uniquely identifies the transaction source type.
-
TransactionSourceTypeName: string
Maximum Length:
30
Name of the transaction source type. -
TransactionType: string
Maximum Length:
80
Name of the transaction type. -
TransactionTypeId: integer
(int64)
Value that uniquely identifies the transaction type.
-
TransactionUnitOfMeasure: string
Maximum Length:
25
Unit of measure for the transaction. -
TransactionUOM: string
Maximum Length:
3
Abbreviation that identifies the unit of measure for the transaction. -
TransferLocator: integer
(int64)
Destination locator identifier for a transfer transaction.
-
TransferLocatorName: string
Maximum Length:
2000
Name of the destination locator for a transfer transaction. -
TransferOrganizationId: integer
(int64)
Value that uniquely identifies the destination organization for transfer transactions.
-
TransferOrganizationName: string
Maximum Length:
240
Name of the transfer organization. -
TransferOwningOrganizationId: integer
(int64)
Value that uniquely identifies the transfer owning organization.
-
TransferOwningOrganizationName: string
Maximum Length:
240
Name of the transfer owning organization. -
TransferOwningTpType: string
Maximum Length:
30
Type of the transfer owning party. -
TransferSubinventory: string
Maximum Length:
10
Name of the destination subinventory for a transfer transaction. -
UniqueTransactionId: integer
(int64)
Value that uniquely identifies the transaction line.
-
VendorName: string
Maximum Length:
240
Supplier name for the consigned item. -
VendorNumber: string
Maximum Length:
30
Supplier number for the consigned item.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Lots That Control Items
Type:
array
Title:
Lots That Control Items
The Lots That Control Items resource manages details about the lot. Use it when only the lot controls the item.
Show Source
Nested Schema : Lots That Share Control
Type:
array
Title:
Lots That Share Control
The Lots That Share Control resource manages details about the lots that control the item. Use it when lots and serials control the item.
Show Source
Nested Schema : Serials That Control Items
Type:
array
Title:
Serials That Control Items
The Serials That Control Items resource manages details about the serial. Use it when only the serial controls the item.
Show Source
Nested Schema : Flexfields for Transaction Lines
Type:
array
Title:
Flexfields for Transaction Lines
The Flexfields for Transaction Lines resource manages the descriptive flexfield that modifies transaction lines.
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 : inventoryTransactions-transactionLines-lotItemLots-item-response
Type:
Show Source
object
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotExpirationDate: string
(date)
Date when the lot expires. Applies when the item is lot controlled.
-
lotItemLotAttributesDFF: array
Flexfields for Lot Attributes
Title:
Flexfields for Lot Attributes
The Flexfields for Lot Attributes resource manages the descriptive flexfields in inventory transactions when an item is lot controlled. -
lotItemLotsDFF: array
Flexfields for Lots
Title:
Flexfields for Lots
The Flexfields for Lots resource manages the descriptive flexfields in inventory transactions when an item is lot controlled. -
LotNumber: string
Maximum Length:
80
Number that identifies the lot. Applies when the item is lot controlled. -
ParentLotNumber: string
Maximum Length:
80
Number that identifies the parent lot . Applies when the item is lot controlled. -
PrimaryQuantity: number
Transaction quantity of the lot in the primary unit of measure. Applies when the item is lot controlled.
-
ReasonId: integer
(int64)
Value that uniquely identifies the reason for the lot. Applies when the item is lot controlled.
-
ReasonName: string
Maximum Length:
30
Name of the reason for the lot. Applies when the item is lot controlled. -
SecondaryTransactionQuantity: number
Secondary transaction quantity of the lot. Applies when the item is lot controlled.
-
TransactionQuantity: number
Transaction quantity of the lot. Applies when the item is lot controlled.
-
VendorLotNumber: string
Maximum Length:
150
Number that identifies the vendor. Applies when the item is lot controlled.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Flexfields for Lot Attributes
Type:
array
Title:
Flexfields for Lot Attributes
The Flexfields for Lot Attributes resource manages the descriptive flexfields in inventory transactions when an item is lot controlled.
Show Source
Nested Schema : Flexfields for Lots
Type:
array
Title:
Flexfields for Lots
The Flexfields for Lots resource manages the descriptive flexfields in inventory transactions when an item is lot controlled.
Show Source
Nested Schema : inventoryTransactions-transactionLines-lotItemLots-lotItemLotAttributesDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for an attribute of the lot. Applies when the item is lot controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for an attribute of the lot. Applies when the item is lot controlled. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80
Number that identifies the lot of the inventory item that references an attribute of the lot. Applies when the item is lot controlled. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references an attribute of the lot. Applies when the item is lot controlled.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : inventoryTransactions-transactionLines-lotItemLots-lotItemLotsDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for lots. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for lots. Applies when the item is both lot and serial controlled. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80
Number that identifies the lot of the inventory item that references the lot. Applies when the item is both lot and serial controlled. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references the lot. Applies when the item is both lot and serial controlled.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : inventoryTransactions-transactionLines-lotSerialItemLots-item-response
Type:
Show Source
object
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotExpirationDate: string
(date)
Date when the lot expires. Applies when the lot and serial control the item.
-
LotNumber: string
Maximum Length:
80
Lot number. Applies when the lot and serial control the item. -
lotSerialItemLotAttributesDFF: array
Flexfields for Lot Attributes That Share Control
Title:
Flexfields for Lot Attributes That Share Control
The Flexfields for Lot Attributes That Share Control resource manages the descriptive flexfields in inventory transactions when an item is both lot and serial controlled. -
lotSerialItemLotsDFF: array
Flexfields for Lots That Share Control
Title:
Flexfields for Lots That Share Control
The Flexfields for Lots That Share Control resource manages the descriptive flexfields in inventory transactions when an item is both lot and serial controlled. -
lotSerialItemSerials: array
Serials That Share Control
Title:
Serials That Share Control
The Serials That Share Control resource manages details about the serials that control the item. Use it when lots and serials control the item. -
ParentLotNumber: string
Maximum Length:
80
Number that identifies the parent lot. Applies when the lot and serial control the item. -
PrimaryQuantity: number
Transaction quantity of the lot in the primary unit of measure. Applies when the item is both lot and serial controlled.
-
ReasonId: integer
(int64)
Value that uniquely identifies the reason for the lot. Applies when the item is both lot and serial controlled.
-
ReasonName: string
Maximum Length:
30
Name of the reason for the lot. Applies when the lot and serial control the item. -
SecondaryTransactionQuantity: number
Secondary transaction quantity of the lot. Applies when the item is both lot and serial controlled.
-
TransactionQuantity: number
Transaction quantity of the lot. Applies when the item is both lot and serial controlled.
-
VendorLotNumber: string
Maximum Length:
150
Number that identifies the supplier of the lot. Applies when the lot and serial control the item.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Flexfields for Lot Attributes That Share Control
Type:
array
Title:
Flexfields for Lot Attributes That Share Control
The Flexfields for Lot Attributes That Share Control resource manages the descriptive flexfields in inventory transactions when an item is both lot and serial controlled.
Show Source
Nested Schema : Flexfields for Lots That Share Control
Type:
array
Title:
Flexfields for Lots That Share Control
The Flexfields for Lots That Share Control resource manages the descriptive flexfields in inventory transactions when an item is both lot and serial controlled.
Show Source
Nested Schema : Serials That Share Control
Type:
array
Title:
Serials That Share Control
The Serials That Share Control resource manages details about the serials that control the item. Use it when lots and serials control the item.
Show Source
Nested Schema : inventoryTransactions-transactionLines-lotSerialItemLots-lotSerialItemLotAttributesDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for an attribute of the lot. Applies when the item is lot controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for an attribute of the lot. Applies when the item is lot controlled. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80
Number that identifies the lot of the inventory item that references an attribute of the lot. Applies when the item is lot controlled. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references an attribute of the lot. Applies when the item is lot controlled.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : inventoryTransactions-transactionLines-lotSerialItemLots-lotSerialItemLotsDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for lots. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for lots. Applies when the item is both lot and serial controlled. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80
Number that identifies the lot of the inventory item that references the lot. Applies when the item is both lot and serial controlled. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references the lot. Applies when the item is both lot and serial controlled.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : inventoryTransactions-transactionLines-lotSerialItemLots-lotSerialItemSerials-item-response
Type:
Show Source
object
-
FromSerialNumber: string
Maximum Length:
80
Starting serial number in a range. Applies when the lot and serial control the item. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
lotSerialItemSerialAttributesDFF: array
Flexfields for Serials That Share Control
Title:
Flexfields for Serials That Share Control
The Flexfields for Serials That Share Control resource manages the descriptive flexfields in inventory transactions when an item is both lot and serial controlled. -
lotSerialItemSerialsDFF: array
Flexfields for Serial Attributes That Share Control
Title:
Flexfields for Serial Attributes That Share Control
The Flexfields for Serial Attributes That Share Control resource manages the descriptive flexfields in inventory transactions when an item is both lot and serial controlled. -
ToSerialNumber: string
Maximum Length:
80
Ending serial number in a range. Applies when the lot and serial control the item. -
VendorSerialNumber: string
Maximum Length:
80
Supplier serial number. Applies when the lot and serial control the item.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Flexfields for Serials That Share Control
Type:
array
Title:
Flexfields for Serials That Share Control
The Flexfields for Serials That Share Control resource manages the descriptive flexfields in inventory transactions when an item is both lot and serial controlled.
Show Source
Nested Schema : Flexfields for Serial Attributes That Share Control
Type:
array
Title:
Flexfields for Serial Attributes That Share Control
The Flexfields for Serial Attributes That Share Control resource manages the descriptive flexfields in inventory transactions when an item is both lot and serial controlled.
Show Source
Nested Schema : inventoryTransactions-transactionLines-lotSerialItemLots-lotSerialItemSerials-lotSerialItemSerialAttributesDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for an attribute of the serial. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for an attribute of the serial. Applies when the item is both lot and serial controlled. -
FromSerialNumber: string
Maximum Length:
80
Starting serial number in a range of serial numbers that references an attribute of the serial. Applies when the item is both lot and serial controlled. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references the attribute of the serial. Applies when the item is both lot and serial controlled.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : inventoryTransactions-transactionLines-lotSerialItemLots-lotSerialItemSerials-lotSerialItemSerialsDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for serials. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context name for serials. Applies when the item is both lot and serial controlled. -
FromSerialNumber: string
Maximum Length:
80
Starting serial number in a range of serial numbers that references the serial. Applies when the item is both lot and serial controlled. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references the serial. Applies when the item is both lot and serial controlled.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : inventoryTransactions-transactionLines-serialItemSerials-item-response
Type:
Show Source
object
-
FromSerialNumber: string
Maximum Length:
80
Starting serial number in a range. Applies when the item is serial controlled. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
serialItemSerialAttributesDFF: array
Flexfields for Serial Attributes
Title:
Flexfields for Serial Attributes
The Flexfields for Serial Attributes resource manages the descriptive flexfields in inventory transactions when an item is serial controlled. -
serialItemSerialsDFF: array
Flexfields for Serials
Title:
Flexfields for Serials
The Flexfields for Serials resource manages the descriptive flexfields in inventory transactions when an item is serial controlled. -
ToSerialNumber: string
Maximum Length:
80
Ending serial number in a range. Applies when the item is serial controlled.. -
VendorSerialNumber: string
Maximum Length:
80
Supplier serial number. Applies when only the serial controls the item.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Flexfields for Serial Attributes
Type:
array
Title:
Flexfields for Serial Attributes
The Flexfields for Serial Attributes resource manages the descriptive flexfields in inventory transactions when an item is serial controlled.
Show Source
Nested Schema : Flexfields for Serials
Type:
array
Title:
Flexfields for Serials
The Flexfields for Serials resource manages the descriptive flexfields in inventory transactions when an item is serial controlled.
Show Source
Nested Schema : inventoryTransactions-transactionLines-serialItemSerials-serialItemSerialAttributesDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for an attribute of the serial. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for an attribute of the serial. Applies when the item is both lot and serial controlled. -
FromSerialNumber: string
Maximum Length:
80
Starting serial number in a range of serial numbers that references an attribute of the serial. Applies when the item is both lot and serial controlled. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references the attribute of the serial. Applies when the item is both lot and serial controlled.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : inventoryTransactions-transactionLines-serialItemSerials-serialItemSerialsDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for serials. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context name for serials. Applies when the item is both lot and serial controlled. -
FromSerialNumber: string
Maximum Length:
80
Starting serial number in a range of serial numbers that references the serial. Applies when the item is both lot and serial controlled. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references the serial. Applies when the item is both lot and serial controlled.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : inventoryTransactions-transactionLines-transactionLinesDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context
Maximum Length:30
Context value of the descriptive flexfield that references the transaction line. -
__FLEX_Context_DisplayValue: string
Title:
Context
Display value of the descriptive flexfield that references the transaction line. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references the transaction line.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Links
- lotItemLots
-
Parameters:
- UniqueTransactionId:
$request.path.UniqueTransactionId
- inventoryTransactionsUniqID:
$request.path.inventoryTransactionsUniqID
The Lots That Control Items resource manages details about the lot. Use it when only the lot controls the item. - UniqueTransactionId:
- lotSerialItemLots
-
Parameters:
- UniqueTransactionId:
$request.path.UniqueTransactionId
- inventoryTransactionsUniqID:
$request.path.inventoryTransactionsUniqID
The Lots That Share Control resource manages details about the lots that control the item. Use it when lots and serials control the item. - UniqueTransactionId:
- serialItemSerials
-
Parameters:
- UniqueTransactionId:
$request.path.UniqueTransactionId
- inventoryTransactionsUniqID:
$request.path.inventoryTransactionsUniqID
The Serials That Control Items resource manages details about the serial. Use it when only the serial controls the item. - UniqueTransactionId:
- transactionLinesDFF
-
Parameters:
- UniqueTransactionId:
$request.path.UniqueTransactionId
- inventoryTransactionsUniqID:
$request.path.inventoryTransactionsUniqID
The Flexfields for Transaction Lines resource manages the descriptive flexfield that modifies transaction lines. - UniqueTransactionId:
Examples
This example describes how to create one transaction line for one inventory transaction.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.action+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/inventoryTransactions"
Example Request Body
The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates.
{ "transactionLines": [ { "OrganizationId" : 207, "TransactionType": "Miscellaneous Receipt", "Item": "INV-101", "TransactionQuantity": 2, "TransactionUnitOfMeasure": "Each", "TransactionDate": "2016-06-06", "Subinventory": "Stores", "lotItemLots" : [ { "LotNumber" : "PLot1", "TransactionQuantity" : 2 }] }] }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "ReturnStatus" : "SUCCESS", "ErrorCode" : null, "ErrorExplanation" : null, "ErrorUniqueTransactionId" : "0", "transactionLines" : [ { "UniqueTransactionId" : 300100090016074, "TransactionHeaderId" : 300100090016075, "OrganizationId" : 207, "OrganizationName" : null, "InventoryItemId" : null, "Item" : "INV-101", "Revision" : null, "Subinventory" : "Stores", "LocatorId" : null, "Locator" : null, "LocationType" : null, "PrimaryQuantity" : null, "TransactionQuantity" : 2, "TransactionUOM" : null, "TransactionUnitOfMeasure" : "Each", "SecondaryTransactionQuantity" : null, "SourceLineId" : -999, "SourceHeaderId" : 22234550, "TransactionDate" : "2016-06-06", "TransactionSourceId" : null, "TransactionSourceName" : null, "ReasonId" : null, "ReasonName" : null, "DistributionAccountId" : null, "OwningOrganizationId" : null, "OwningOrganizationName" : null, "OwningTpType" : null, "TransferOrganizationId" : null, "TransferOrganizationName" : null, "TransferOwningOrganizationId" : null, "TransferOwningOrganizationName" : null, "TransferOwningTpType" : null, "TransferSubinventory" : null, "TransferLocator" : null, "TransferLocatorName" : null, "ProcurementBU" : null, "VendorName" : null, "VendorNumber" : null, "AgingOnsetDate" : null, "TransactionSourceTypeId" : null, "TransactionSourceTypeName" : null, "TransactionActionId" : null, "TransactionAction" : null, "TransactionTypeId" : null, "TransactionType" : "Miscellaneous Receipt", "ShipmentNumber" : null, "lotItemLots" : [ { "LotNumber" : "PLot1", "TransactionQuantity" : 2, "PrimaryQuantity" : null, "SecondaryTransactionQuantity" : null, "LotExpirationDate" : null, "ReasonId" : null, "ReasonName" : null, "ParentLotNumber" : null, "VendorLotNumber" : null } ] } ] }