Create inventory transactions
/fscmRestApi/resources/11.13.18.05/inventoryTransactions
Request
-
Metadata-Context: string
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: string
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.
- application/json
object-
ErrorCode: string
Contains a value or is empty. Value: error message name of the failed request. Empty: the request succeeded.
-
ErrorExplanation: string
Contains a value or is empty. Value: error explanation of the failed request. Empty: the request succeeded.
-
ErrorUniqueTransactionId: string
Contains a value or is empty. Value: transaction identifier of the failed request. Empty: the request succeeded.
-
ReturnStatus: string
Status that indicates whether or not the request finished successfully.
-
transactionLines: array
Transaction Lines
Title:
Transaction LinesThe Transaction Lines resource manages details about each transaction line.
arrayTransaction Linesobject-
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:
300Name of the item. -
LocationType: string
Maximum Length:
30Type of ship-to location. -
Locator: string
Maximum Length:
2000Name of the locator. -
LocatorId: integer
(int64)
Value that uniquely identifies the locator.
-
lotItemLots: array
Lots That Control Items
Title:
Lots That Control ItemsThe 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 ControlThe 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:
240Name of the organization. -
OwningOrganizationId: integer
(int64)
Value that uniquely identifies the owning organization.
-
OwningOrganizationName: string
Maximum Length:
240Name of the owning organization. -
OwningTpType: string
Maximum Length:
30Type of owning party. -
PrimaryQuantity: number
Transaction quantity in the primary unit of measure.
-
ProcurementBU: string
Maximum Length:
240Procurement business unit for a consigned item. -
ReasonId: integer
(int64)
Value that uniquely identifies the transaction reason.
-
ReasonName: string
Maximum Length:
80Name of the transaction reason. -
Revision: string
Maximum Length:
18Revision of the item. -
SecondaryTransactionQuantity: number
Secondary transaction quantity.
-
serialItemSerials: array
Serials That Control Items
Title:
Serials That Control ItemsThe Serials That Control Items resource manages details about the serial. Use it when only the serial controls the item. -
ShipmentNumber: string
Maximum Length:
30Value that uniquely identifies the shipment. -
SourceHeaderId: integer
(int64)
Default Value:
-999Value that uniquely identifies the transaction source header. -
SourceLineId: integer
(int64)
Default Value:
-999Value that uniquely identifies the transaction source line. -
Subinventory: string
Maximum Length:
10Name of the subinventory. -
TransactionAction: string
Maximum Length:
80Name of the transaction action. -
TransactionActionId: string
Maximum Length:
30Value 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 LinesThe 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:
120Name of the transaction source. -
TransactionSourceTypeId: integer
(int64)
Value that uniquely identifies the transaction source type.
-
TransactionSourceTypeName: string
Maximum Length:
30Name of the transaction source type. -
TransactionType: string
Maximum Length:
80Name of the transaction type. -
TransactionTypeId: integer
(int64)
Value that uniquely identifies the transaction type.
-
TransactionUnitOfMeasure: string
Maximum Length:
25Unit of measure for the transaction. -
TransactionUOM: string
Maximum Length:
3Abbreviation that identifies the unit of measure for the transaction. -
TransferLocator: integer
(int64)
Destination locator identifier for a transfer transaction.
-
TransferLocatorName: string
Maximum Length:
2000Name 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:
240Name of the transfer organization. -
TransferOwningOrganizationId: integer
(int64)
Value that uniquely identifies the transfer owning organization.
-
TransferOwningOrganizationName: string
Maximum Length:
240Name of the transfer owning organization. -
TransferOwningTpType: string
Maximum Length:
30Type of the transfer owning party. -
TransferSubinventory: string
Maximum Length:
10Name of the destination subinventory for a transfer transaction. -
UniqueTransactionId: integer
(int64)
Value that uniquely identifies the transaction line.
-
VendorName: string
Maximum Length:
240Supplier name for the consigned item. -
VendorNumber: string
Maximum Length:
30Supplier number for the consigned item.
arrayLots That Control ItemsarrayLots That Share ControlarraySerials That Control ItemsarrayFlexfields for Transaction Linesobject-
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 AttributesThe 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 LotsThe Flexfields for Lots resource manages the descriptive flexfields in inventory transactions when an item is lot controlled. -
LotNumber(required): string
Maximum Length:
80Number that identifies the lot. Applies when the item is lot controlled. -
ParentLotNumber: string
Maximum Length:
80Number 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:
30Name 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:
150Number that identifies the vendor. Applies when the item is lot controlled.
arrayFlexfields for Lot AttributesarrayFlexfields for Lotsobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for an attribute of the lot. Applies when the item is lot controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDescriptive flexfield context display value for an attribute of the lot. Applies when the item is lot controlled. -
LotNumber: string
Maximum Length:
80Number 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.
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for lots. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDescriptive flexfield context display value for lots. Applies when the item is both lot and serial controlled. -
LotNumber: string
Maximum Length:
80Number 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.
object-
LotExpirationDate: string
(date)
Date when the lot expires. Applies when the lot and serial control the item.
-
LotNumber(required): string
Maximum Length:
80Lot 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 ControlThe 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 ControlThe 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 ControlThe 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:
80Number 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:
30Name 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:
150Number that identifies the supplier of the lot. Applies when the lot and serial control the item.
arrayFlexfields for Lot Attributes That Share ControlarrayFlexfields for Lots That Share ControlarraySerials That Share Controlobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for an attribute of the lot. Applies when the item is lot controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDescriptive flexfield context display value for an attribute of the lot. Applies when the item is lot controlled. -
LotNumber: string
Maximum Length:
80Number 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.
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for lots. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDescriptive flexfield context display value for lots. Applies when the item is both lot and serial controlled. -
LotNumber: string
Maximum Length:
80Number 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.
object-
FromSerialNumber(required): string
Maximum Length:
80Starting 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 ControlThe 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 ControlThe 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:
80Ending serial number in a range. Applies when the lot and serial control the item. -
VendorSerialNumber: string
Maximum Length:
80Supplier serial number. Applies when the lot and serial control the item.
arrayFlexfields for Serials That Share ControlarrayFlexfields for Serial Attributes That Share Controlobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive 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 ValueDescriptive flexfield context display value for an attribute of the serial. Applies when the item is both lot and serial controlled. -
FromSerialNumber: string
Maximum Length:
80Starting 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.
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for serials. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDescriptive flexfield context name for serials. Applies when the item is both lot and serial controlled. -
FromSerialNumber: string
Maximum Length:
80Starting 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.
object-
FromSerialNumber(required): string
Maximum Length:
80Starting serial number in a range. Applies when the item is serial controlled. -
serialItemSerialAttributesDFF: array
Flexfields for Serial Attributes
Title:
Flexfields for Serial AttributesThe 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 SerialsThe Flexfields for Serials resource manages the descriptive flexfields in inventory transactions when an item is serial controlled. -
ToSerialNumber: string
Maximum Length:
80Ending serial number in a range. Applies when the item is serial controlled.. -
VendorSerialNumber: string
Maximum Length:
80Supplier serial number. Applies when only the serial controls the item.
arrayFlexfields for Serial AttributesarrayFlexfields for Serialsobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive 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 ValueDescriptive flexfield context display value for an attribute of the serial. Applies when the item is both lot and serial controlled. -
FromSerialNumber: string
Maximum Length:
80Starting 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.
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for serials. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDescriptive flexfield context name for serials. Applies when the item is both lot and serial controlled. -
FromSerialNumber: string
Maximum Length:
80Starting 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.
object-
__FLEX_Context: string
Title:
ContextMaximum Length:30Context value of the descriptive flexfield that references the transaction line. -
__FLEX_Context_DisplayValue: string
Title:
ContextDisplay 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
- application/json
Default Response
-
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.
object-
ErrorCode: string
Contains a value or is empty. Value: error message name of the failed request. Empty: the request succeeded.
-
ErrorExplanation: string
Contains a value or is empty. Value: error explanation of the failed request. Empty: the request succeeded.
-
ErrorUniqueTransactionId: string
Contains a value or is empty. Value: transaction identifier of the failed request. Empty: the request succeeded.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ReturnStatus: string
Status that indicates whether or not the request finished successfully.
-
transactionLines: array
Transaction Lines
Title:
Transaction LinesThe Transaction Lines resource manages details about each transaction line.
arrayLinksarrayTransaction Linesobject-
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.
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
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:
300Name of the item. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LocationType: string
Maximum Length:
30Type of ship-to location. -
Locator: string
Maximum Length:
2000Name of the locator. -
LocatorId: integer
(int64)
Value that uniquely identifies the locator.
-
lotItemLots: array
Lots That Control Items
Title:
Lots That Control ItemsThe 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 ControlThe 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:
240Name of the organization. -
OwningOrganizationId: integer
(int64)
Value that uniquely identifies the owning organization.
-
OwningOrganizationName: string
Maximum Length:
240Name of the owning organization. -
OwningTpType: string
Maximum Length:
30Type of owning party. -
PrimaryQuantity: number
Transaction quantity in the primary unit of measure.
-
ProcurementBU: string
Maximum Length:
240Procurement business unit for a consigned item. -
ReasonId: integer
(int64)
Value that uniquely identifies the transaction reason.
-
ReasonName: string
Maximum Length:
80Name of the transaction reason. -
Revision: string
Maximum Length:
18Revision of the item. -
SecondaryTransactionQuantity: number
Secondary transaction quantity.
-
serialItemSerials: array
Serials That Control Items
Title:
Serials That Control ItemsThe Serials That Control Items resource manages details about the serial. Use it when only the serial controls the item. -
ShipmentNumber: string
Maximum Length:
30Value that uniquely identifies the shipment. -
SourceHeaderId: integer
(int64)
Default Value:
-999Value that uniquely identifies the transaction source header. -
SourceLineId: integer
(int64)
Default Value:
-999Value that uniquely identifies the transaction source line. -
Subinventory: string
Maximum Length:
10Name of the subinventory. -
TransactionAction: string
Maximum Length:
80Name of the transaction action. -
TransactionActionId: string
Maximum Length:
30Value 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 LinesThe 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:
120Name of the transaction source. -
TransactionSourceTypeId: integer
(int64)
Value that uniquely identifies the transaction source type.
-
TransactionSourceTypeName: string
Maximum Length:
30Name of the transaction source type. -
TransactionType: string
Maximum Length:
80Name of the transaction type. -
TransactionTypeId: integer
(int64)
Value that uniquely identifies the transaction type.
-
TransactionUnitOfMeasure: string
Maximum Length:
25Unit of measure for the transaction. -
TransactionUOM: string
Maximum Length:
3Abbreviation that identifies the unit of measure for the transaction. -
TransferLocator: integer
(int64)
Destination locator identifier for a transfer transaction.
-
TransferLocatorName: string
Maximum Length:
2000Name 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:
240Name of the transfer organization. -
TransferOwningOrganizationId: integer
(int64)
Value that uniquely identifies the transfer owning organization.
-
TransferOwningOrganizationName: string
Maximum Length:
240Name of the transfer owning organization. -
TransferOwningTpType: string
Maximum Length:
30Type of the transfer owning party. -
TransferSubinventory: string
Maximum Length:
10Name of the destination subinventory for a transfer transaction. -
UniqueTransactionId: integer
(int64)
Value that uniquely identifies the transaction line.
-
VendorName: string
Maximum Length:
240Supplier name for the consigned item. -
VendorNumber: string
Maximum Length:
30Supplier number for the consigned item.
arrayLinksarrayLots That Control ItemsarrayLots That Share ControlarraySerials That Control ItemsarrayFlexfields for Transaction Linesobject-
links: array
Links
Title:
LinksThe 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 AttributesThe 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 LotsThe Flexfields for Lots resource manages the descriptive flexfields in inventory transactions when an item is lot controlled. -
LotNumber: string
Maximum Length:
80Number that identifies the lot. Applies when the item is lot controlled. -
ParentLotNumber: string
Maximum Length:
80Number 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:
30Name 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:
150Number that identifies the vendor. Applies when the item is lot controlled.
arrayLinksarrayFlexfields for Lot AttributesarrayFlexfields for Lotsobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for an attribute of the lot. Applies when the item is lot controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDescriptive flexfield context display value for an attribute of the lot. Applies when the item is lot controlled. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80Number 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.
arrayLinksobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for lots. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDescriptive flexfield context display value for lots. Applies when the item is both lot and serial controlled. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80Number 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.
arrayLinksobject-
links: array
Links
Title:
LinksThe 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:
80Lot 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 ControlThe 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 ControlThe 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 ControlThe 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:
80Number 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:
30Name 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:
150Number that identifies the supplier of the lot. Applies when the lot and serial control the item.
arrayLinksarrayFlexfields for Lot Attributes That Share ControlarrayFlexfields for Lots That Share ControlarraySerials That Share Controlobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for an attribute of the lot. Applies when the item is lot controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDescriptive flexfield context display value for an attribute of the lot. Applies when the item is lot controlled. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80Number 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.
arrayLinksobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for lots. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDescriptive flexfield context display value for lots. Applies when the item is both lot and serial controlled. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotNumber: string
Maximum Length:
80Number 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.
arrayLinksobject-
FromSerialNumber: string
Maximum Length:
80Starting serial number in a range. Applies when the lot and serial control the item. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
lotSerialItemSerialAttributesDFF: array
Flexfields for Serials That Share Control
Title:
Flexfields for Serials That Share ControlThe 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 ControlThe 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:
80Ending serial number in a range. Applies when the lot and serial control the item. -
VendorSerialNumber: string
Maximum Length:
80Supplier serial number. Applies when the lot and serial control the item.
arrayLinksarrayFlexfields for Serials That Share ControlarrayFlexfields for Serial Attributes That Share Controlobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive 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 ValueDescriptive flexfield context display value for an attribute of the serial. Applies when the item is both lot and serial controlled. -
FromSerialNumber: string
Maximum Length:
80Starting 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:
LinksThe 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.
arrayLinksobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for serials. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDescriptive flexfield context name for serials. Applies when the item is both lot and serial controlled. -
FromSerialNumber: string
Maximum Length:
80Starting 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:
LinksThe 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.
arrayLinksobject-
FromSerialNumber: string
Maximum Length:
80Starting serial number in a range. Applies when the item is serial controlled. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
serialItemSerialAttributesDFF: array
Flexfields for Serial Attributes
Title:
Flexfields for Serial AttributesThe 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 SerialsThe Flexfields for Serials resource manages the descriptive flexfields in inventory transactions when an item is serial controlled. -
ToSerialNumber: string
Maximum Length:
80Ending serial number in a range. Applies when the item is serial controlled.. -
VendorSerialNumber: string
Maximum Length:
80Supplier serial number. Applies when only the serial controls the item.
arrayLinksarrayFlexfields for Serial AttributesarrayFlexfields for Serialsobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive 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 ValueDescriptive flexfield context display value for an attribute of the serial. Applies when the item is both lot and serial controlled. -
FromSerialNumber: string
Maximum Length:
80Starting 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:
LinksThe 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.
arrayLinksobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Descriptive flexfield context name for serials. Applies when the item is both lot and serial controlled. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueDescriptive flexfield context name for serials. Applies when the item is both lot and serial controlled. -
FromSerialNumber: string
Maximum Length:
80Starting 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:
LinksThe 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.
arrayLinksobject-
__FLEX_Context: string
Title:
ContextMaximum Length:30Context value of the descriptive flexfield that references the transaction line. -
__FLEX_Context_DisplayValue: string
Title:
ContextDisplay value of the descriptive flexfield that references the transaction line. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
TransactionInterfaceId: integer
(int64)
Value that uniquely identifies the interface transaction line that references the transaction line.
arrayLinks- transactionLines
-
Parameters:
- inventoryTransactionsUniqID:
$request.path.inventoryTransactionsUniqID
The Transaction Lines resource manages details about each transaction line. - inventoryTransactionsUniqID:
Examples
This example describes how to process inventory transactions.
Example cURL Command
Use the following cURL command to submit a request on the REST resource. This example processes inventory transactions for item INV-100, that occur on 2016-06-06, in subinventory Stores, in organization 207, for miscellaneous receipts:
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/inventoryTransactions"
Example 1 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,
"Item" : "INV-100",
"Subinventory" : "Stores",
"TransactionType" : "Miscellaneous Receipt",
"TransactionUnitOfMeasure" : "Each",
"TransactionQuantity" : 500,
"TransactionDate" : "2016-06-06"
}]
}
Example 1 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" : 300100090016070,
"TransactionHeaderId" : 300100090016071,
"OrganizationId" : 207,
"OrganizationName" : null,
"InventoryItemId" : null,
"Item" : "INV-100",
"Revision" : null,
"Subinventory" : "Stores",
"LocatorId" : null,
"Locator" : null,
"LocationType" : null,
"PrimaryQuantity" : null,
"TransactionQuantity" : 500,
"TransactionUOM" : null,
"TransactionUnitOfMeasure" : "Each",
"SecondaryTransactionQuantity" : null,
"SourceLineId" : -999,
"SourceHeaderId" : 22234542,
"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
} ]
}
Example 2 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":[
{
"OrganizationName" : "Fusion Denver",
"Item" : "NJ_FG_ITEM",
"Subinventory" : "FG DENV",
"TransactionType" : "Miscellaneous Receipt",
"TransactionUnitOfMeasure" : "Each",
"TransactionQuantity" : 21 ,
"TransactionDate" : "2021-01-25",
"transactionLinesDFF":[{
"gseg1":"Test",
"__FLEX_Context" : "DFFCON",
"csegment1" : "TestPRP"
}]
}]
}
Example 2 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": 300000122922871,
"TransactionHeaderId": 300000122922872,
"OrganizationId": null,
"OrganizationName": "PennyPack Systems",
"InventoryItemId": null,
"Item": "NJ_FG_ITEM",
"Revision": null,
"Subinventory": "FG DENV",
"LocatorId": null,
"Locator": null,
"LocationType": null,
"PrimaryQuantity": null,
"TransactionQuantity": 21,
"TransactionUOM": null,
"TransactionUnitOfMeasure": "Each",
"SecondaryTransactionQuantity": null,
"SourceLineId": -999,
"SourceHeaderId": 364017,
"TransactionDate": "2021-01-25T00:00:00+00:00",
"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,
"transactionLinesDFF": [
{
"TransactionInterfaceId": 300000122922871,
"gseg1": "Test",
"__FLEX_Context": "DFFCON",
"__FLEX_Context_DisplayValue": "DFFCONTEXT",
"csegment1": "TestPRP",
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871/child/transactionLinesDFF/300000122922871",
"name": "transactionLinesDFF",
"kind": "item",
"properties": {
"changeIndicator":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871/child/transactionLinesDFF/300000122922871",
"name": "transactionLinesDFF",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871",
"name": "transactionLines",
"kind": "item"
},
{
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871/child/transactionLinesDFF/300000122922871/lov/LVVO___FLEX_Context",
"name": "LVVO___FLEX_Context",
"kind": "collection"
}
]
}
],
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871",
"name": "transactionLines",
"kind": "item",
"properties": {
"changeIndicator":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871",
"name": "transactionLines",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017",
"name": "inventoryTransactions",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871/child/lotItemLots",
"name": "lotItemLots",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871/child/lotSerialItemLots",
"name": "lotSerialItemLots",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871/child/serialItemSerials",
"name": "serialItemSerials",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines/300000122922871/child/transactionLinesDFF",
"name": "transactionLinesDFF",
"kind": "collection"
}
]
}
],
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017",
"name": "inventoryTransactions",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017",
"name": "inventoryTransactions",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inventoryTransactions/364017/child/transactionLines",
"name": "transactionLines",
"kind": "collection"
}
]
}