Create transactions
/fscmRestApi/resources/11.13.18.05/inventoryBalanceTransactions
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-
FailedRecordsCount: integer
Number of balance transactions that failed.
-
ReturnMessageCode: string
Abbreviation that identifies the error that occurred when calling the service. If the call is successful, then this attribute is empty.
-
ReturnMessageText: string
Text of the error message, if any, that occurred when calling the service. If the call is successful, then this attribute is empty.
-
ReturnStatus: string
Status of the current service call. Values include SUCCESS or FAILURE.
-
SubmitForProcessing: string
Contains one of the following values: Yes or No. If Yes, then process the inventory balance records. If No, then don't process these records. This attribute doesn't have a default value.
-
SuccessRecordsCount: integer
Number of balance transactions that the application successfully processed.
-
TotalRecordsCount: integer
Total number of balance records.
-
transactionLines: array
Transaction Lines
Title:
Transaction LinesThe Transaction Lines resource manages details about the inventory balance.
arrayTransaction Linesobject-
AccountAliasId: integer
(int64)
Value that uniquely identifies the account to use for the adjustment transaction.
-
AccountAliasName: string
Title:
Account AliasMaximum Length:255Name of the account alias to use for the adjustment transaction. -
AgingOnsetDate: string
(date)
Title:
Aging Start DateDate when the aging period starts for the balance record in consigned inventory. -
ConsignmentAgreementNumber: string
Title:
Purchase AgreementMaximum Length:30Number that identifies the consignment agreement for the consigned quantity. -
dffForTransactionLines: array
dffForTransactionLines
-
inventoryAttributesDFF: array
inventoryAttributesDFF
-
InventoryItemId: integer
(int64)
Title:
Item IDValue that uniquely identifies the inventory item. -
itemLots: array
Lot Details for Items
Title:
Lot Details for ItemsThe Lot Details for Items resource manages details about the lot that the inventory balance references when a lot controls the item. -
ItemNumber: string
Title:
ItemMaximum Length:300Number of the item. -
itemSerials: array
Serial Details for Items
Title:
Serial Details for ItemsThe Serial Details for Items resource manages details about the serial that the inventory balance references when a serial controls the item. -
LocatorId: integer
(int64)
Value that uniquely identifies the locator.
-
LocatorName: string
Title:
LocatorMaximum Length:255Name of the locator for the balance transaction line. -
LPNId: integer
(int64)
Value that uniquely identifies the license plate number.
-
LPNNumber: string
Maximum Length:
30License plate number associated to the item. -
OrganizationCode: string
Title:
Organization CodeMaximum Length:18Abbreviation that identifies the organization. -
OrganizationId: integer
(int64)
Title:
Organization IDValue that uniquely identifies the organization. -
OrganizationName: string
Title:
Organization NameMaximum Length:240Name of the organization. -
OwningOrganizationCode: string
Title:
Owning Party SiteMaximum Length:240Site of the owning organization. -
OwningOrganizationId: integer
(int64)
Value that uniquely identifies the owning organization.
-
OwningTradingPartnerType: string
Title:
Transfer Owning Party TypeMaximum Length:30Contains one of the following values: 1 or 2. If 1, then the balance record is a consigned quantity. If 2, then the balance record is an owned item quantity. The default value is 2. -
PrcBUName: string
Title:
Procurement BUMaximum Length:240Name of the procuring business unit. Applies only for a consigned quantity. -
PrimaryUnitOfMeasure: string
Title:
New On-Hand Quantity UOMMaximum Length:25Primary unit of measure for the item in the current organization. -
PrimaryUOMCode: string
Maximum Length:
3Abbreviation that identifies the primary unit of measure for the item in the current organization. -
PrimaryUOMQuantity: number
Title:
New On-Hand QuantityBalance quantity in the primary unit of measure for the item. -
Revision: string
Title:
RevisionMaximum Length:18Contains one of the following values. Revision: the warehouse placed the item under revision control. Empty: revisions don't control the item. -
SecondaryUnitOfMeasure: string
Title:
New Secondary On-Hand Quantity UOMMaximum Length:25Secondary unit of measure for the item in the current organization. -
SecondaryUOMCode: string
Maximum Length:
3Abbreviation that identifies the secondary unit of measure for the item in the current organization. -
SecondaryUOMQuantity: number
Title:
New Secondary On-Hand QuantityBalance quantity in the secondary unit of measure for the item. -
Subinventory: string
Title:
SubinventoryMaximum Length:10Name of the subinventory that the balance transaction line uses to fulfill the request. -
TransactionSourceCode: string
Title:
SourceMaximum Length:30Abbreviation that identifies the source of the transaction. -
VendorName: string
Title:
SupplierMaximum Length:240Name of the supplier who supplies the consigned quantity. -
VendorNumber: string
Title:
Supplier NumberMaximum Length:30Value that uniquely identifies the supplier who supplies the consigned quantity.
arrayLot Details for ItemsarraySerial Details for Itemsobject-
__FLEX_Context: string
Title:
ContextMaximum Length:30Context -
__FLEX_Context_DisplayValue: string
Title:
ContextContext -
TransactionInterfaceId: integer
(int64)
Title:
Interface ID
object-
__FLEX_Context: string
Title:
Context SegmentMaximum Length:40Context Segment -
__FLEX_Context_DisplayValue: string
Title:
Context SegmentContext Segment -
countryOfOriginCode: string
Title:
Country of OriginMaximum Length:2Country of Origin -
countryOfOriginCode_Display: string
Title:
Country of OriginCountry of Origin -
projectId: integer
(int64)
Title:
ProjectProject -
projectId_Display: string
Title:
ProjectProject -
taskId: integer
(int64)
Title:
TaskTask -
taskId_Display: string
Title:
TaskTask -
TransactionInterfaceId: integer
(int64)
Title:
Interface ID
object-
Age: number
Age of the lot.
-
dffForItemLots: array
dffForItemLots
-
ExpirationActionCode: string
Title:
Expiration ActionMaximum Length:32Abbreviation that identifies the action taken to expire the lot. -
ExpirationActionDate: string
(date)
Title:
Expiration Action DateDate when the lot expiration action occurred. -
ExpirationActionName: string
Title:
DescriptionMaximum Length:80Description of the action taken to expire the lot. -
GradeCode: string
Title:
GradeMaximum Length:150Abbreviation that identifies the lot grade. -
HoldDate: string
(date)
Title:
Hold Until DateDate when the hold will release for the lot. -
itemSerialsForLot: array
Serial and Lot Details for Items
Title:
Serial and Lot Details for ItemsThe Serial and Lot Details for Items resource manages details that the inventory balance references when a serial and a lot control the item. -
LotExpirationDate: string
(date)
Title:
Lot Expiration DateDate when the lot expires. -
LotNumber(required): string
Title:
LotMaximum Length:80Lot number of the item when the warehouse places the item under lot control. -
OriginationDate: string
(date)
Title:
Origination DateDate when the lot originated. -
OriginationType: string
Title:
Origination TypeMaximum Length:30Origination type of the lot. -
ParentLotNumber: string
Title:
Parent LotMaximum Length:80Lot number of the parent lot. -
PlaceOfOrigin: string
Maximum Length:
150Place of origin of the lot. -
PrimaryQuantity: number
Title:
New On-Hand QuantityTransaction quantity for this lot in the primary unit of measure for the item. -
PrimaryUnitOfMeasure: string
Title:
New On-Hand Quantity UOMMaximum Length:25Primary unit of measure for the item in the current organization. -
PrimaryUOMCode: string
Maximum Length:
3Abbreviation that identifies the primary unit of measure for the item in the current organization. -
SecondaryQuantity: number
Title:
New Secondary On-Hand QuantityTransaction quantity for this lot in the secondary unit of measure for the item. -
SecondaryUnitOfMeasure: string
Title:
New Secondary On-Hand Quantity UOMMaximum Length:25Secondary unit of measure for the item in the current organization. -
SecondaryUOMCode: string
Maximum Length:
3Abbreviation that identifies the secondary unit of measure for the item in the current organization. -
StatusCode: string
Title:
Material StatusMaximum Length:80Abbreviation that identifies the status of the material that the lot references. -
StatusId: integer
(int64)
Value that uniquely identifies the lot status.
-
StatusName: string
Title:
DescriptionMaximum Length:240Description of the lot status. -
SupplierLotNumber: string
Title:
Supplier LotMaximum Length:150Supplier lot number. -
TerritoryCode: string
Maximum Length:
3Abbreviation that identifies the territory. -
TerritoryShortName: string
Maximum Length:
80Name of the territory. -
VendorId: integer
(int64)
Value that uniquely identifies the supplier who supplies the material.
-
VendorName: string
Title:
SupplierMaximum Length:240Name of the supplier who supplies the material.
arraySerial and Lot Details for Itemsobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
TxnLotInterfaceId: integer
(int64)
object-
dffForItemSerialsForLot: array
dffForItemSerialsForLot
-
FromSerialNumber(required): string
Title:
From Serial NumberMaximum Length:80Starting serial number in a range of serial numbers. This attribute is used when the warehouse places the item under lot and serial control. -
FromVendorSerialNumber: string
Title:
Supplier Serial NumberMaximum Length:80Starting supplier serial number in a range of serial numbers. This attribute is used when the warehouse places the item under lot and serial control. -
OriginationDate: string
(date)
Title:
Origination DateDate when the serial originated. -
StatusCode: string
Title:
Material StatusMaximum Length:80Abbreviation that identifies the serial status. -
StatusId: integer
(int64)
Value that uniquely identifies the serial status.
-
StatusName: string
Title:
DescriptionMaximum Length:240Name of the serial status. -
TerritoryCode: string
Maximum Length:
30Value that uniquely identifies the territory. -
TerritoryShortName: string
Maximum Length:
80Name of the territory. -
ToSerialNumber(required): string
Title:
To Serial NumberMaximum Length:80Ending serial number in a range of serial numbers. This attribute is used when the warehouse places the item under lot and serial control. -
ToVendorSerialNumber: string
Title:
Supplier Serial NumberMaximum Length:80Ending supplier serial number in a range of serial numbers. This attribute is used when the warehouse places the item under lot and serial control.
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
SerialTxnInterfaceId: integer
(int64)
object-
dffForItemSerials: array
dffForItemSerials
-
FromSerialNumber(required): string
Title:
From Serial NumberMaximum Length:80Starting serial number in a range of serial. This attribute is used when the warehouse places the item under serial control. -
FromVendorSerialNumber: string
Title:
Supplier Serial NumberMaximum Length:80Starting supplier serial number in a range of serial numbers. This attribute is used when the warehouse places the item under serial control. -
OriginationDate: string
(date)
Title:
Origination DateDate when the serial originated. -
StatusCode: string
Title:
Material StatusMaximum Length:80Abbreviation that identifies the serial status. -
StatusId: integer
(int64)
Value that uniquely identifies the serial status.
-
StatusName: string
Title:
DescriptionMaximum Length:240Name of the serial status. -
TerritoryCode: string
Maximum Length:
30Value that uniquely identifies the territory. -
TerritoryShortName: string
Maximum Length:
80Name of the territory. -
ToSerialNumber(required): string
Title:
To Serial NumberMaximum Length:80Ending serial number in a range of serial numbers. This attribute is used when the warehouse places the item under serial control. -
ToVendorSerialNumber: string
Title:
Supplier Serial NumberMaximum Length:80Ending supplier serial number in a range of serial numbers. This attribute is used when the warehouse places the item under serial control.
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
SerialTxnInterfaceId: integer
(int64)
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-
FailedRecordsCount: integer
Number of balance transactions that failed.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ReturnMessageCode: string
Abbreviation that identifies the error that occurred when calling the service. If the call is successful, then this attribute is empty.
-
ReturnMessageText: string
Text of the error message, if any, that occurred when calling the service. If the call is successful, then this attribute is empty.
-
ReturnStatus: string
Status of the current service call. Values include SUCCESS or FAILURE.
-
SubmitForProcessing: string
Contains one of the following values: Yes or No. If Yes, then process the inventory balance records. If No, then don't process these records. This attribute doesn't have a default value.
-
SuccessRecordsCount: integer
Number of balance transactions that the application successfully processed.
-
TotalRecordsCount: integer
Total number of balance records.
-
transactionLines: array
Transaction Lines
Title:
Transaction LinesThe Transaction Lines resource manages details about the inventory balance.
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-
AccountAliasId: integer
(int64)
Value that uniquely identifies the account to use for the adjustment transaction.
-
AccountAliasName: string
Title:
Account AliasMaximum Length:255Name of the account alias to use for the adjustment transaction. -
AgingOnsetDate: string
(date)
Title:
Aging Start DateDate when the aging period starts for the balance record in consigned inventory. -
ConsignmentAgreementNumber: string
Title:
Purchase AgreementMaximum Length:30Number that identifies the consignment agreement for the consigned quantity. -
dffForTransactionLines: array
dffForTransactionLines
-
inventoryAttributesDFF: array
inventoryAttributesDFF
-
InventoryItemId: integer
(int64)
Title:
Item IDValue that uniquely identifies the inventory item. -
itemLots: array
Lot Details for Items
Title:
Lot Details for ItemsThe Lot Details for Items resource manages details about the lot that the inventory balance references when a lot controls the item. -
ItemNumber: string
Title:
ItemMaximum Length:300Number of the item. -
itemSerials: array
Serial Details for Items
Title:
Serial Details for ItemsThe Serial Details for Items resource manages details about the serial that the inventory balance references when a serial controls the item. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LocatorId: integer
(int64)
Value that uniquely identifies the locator.
-
LocatorName: string
Title:
LocatorMaximum Length:255Name of the locator for the balance transaction line. -
LPNId: integer
(int64)
Value that uniquely identifies the license plate number.
-
LPNNumber: string
Maximum Length:
30License plate number associated to the item. -
OrganizationCode: string
Title:
Organization CodeMaximum Length:18Abbreviation that identifies the organization. -
OrganizationId: integer
(int64)
Title:
Organization IDValue that uniquely identifies the organization. -
OrganizationName: string
Title:
Organization NameMaximum Length:240Name of the organization. -
OwningOrganizationCode: string
Title:
Owning Party SiteMaximum Length:240Site of the owning organization. -
OwningOrganizationId: integer
(int64)
Value that uniquely identifies the owning organization.
-
OwningTradingPartnerType: string
Title:
Transfer Owning Party TypeMaximum Length:30Contains one of the following values: 1 or 2. If 1, then the balance record is a consigned quantity. If 2, then the balance record is an owned item quantity. The default value is 2. -
PrcBUName: string
Title:
Procurement BUMaximum Length:240Name of the procuring business unit. Applies only for a consigned quantity. -
PrimaryUnitOfMeasure: string
Title:
New On-Hand Quantity UOMMaximum Length:25Primary unit of measure for the item in the current organization. -
PrimaryUOMCode: string
Maximum Length:
3Abbreviation that identifies the primary unit of measure for the item in the current organization. -
PrimaryUOMQuantity: number
Title:
New On-Hand QuantityBalance quantity in the primary unit of measure for the item. -
Revision: string
Title:
RevisionMaximum Length:18Contains one of the following values. Revision: the warehouse placed the item under revision control. Empty: revisions don't control the item. -
SecondaryUnitOfMeasure: string
Title:
New Secondary On-Hand Quantity UOMMaximum Length:25Secondary unit of measure for the item in the current organization. -
SecondaryUOMCode: string
Maximum Length:
3Abbreviation that identifies the secondary unit of measure for the item in the current organization. -
SecondaryUOMQuantity: number
Title:
New Secondary On-Hand QuantityBalance quantity in the secondary unit of measure for the item. -
Subinventory: string
Title:
SubinventoryMaximum Length:10Name of the subinventory that the balance transaction line uses to fulfill the request. -
TransactionSourceCode: string
Title:
SourceMaximum Length:30Abbreviation that identifies the source of the transaction. -
VendorName: string
Title:
SupplierMaximum Length:240Name of the supplier who supplies the consigned quantity. -
VendorNumber: string
Title:
Supplier NumberMaximum Length:30Value that uniquely identifies the supplier who supplies the consigned quantity.
arrayLot Details for ItemsarraySerial Details for ItemsarrayLinksobject-
__FLEX_Context: string
Title:
ContextMaximum Length:30Context -
__FLEX_Context_DisplayValue: string
Title:
ContextContext -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
TransactionInterfaceId: integer
(int64)
Title:
Interface ID
arrayLinksobject-
__FLEX_Context: string
Title:
Context SegmentMaximum Length:40Context Segment -
__FLEX_Context_DisplayValue: string
Title:
Context SegmentContext Segment -
countryOfOriginCode: string
Title:
Country of OriginMaximum Length:2Country of Origin -
countryOfOriginCode_Display: string
Title:
Country of OriginCountry of Origin -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
projectId: integer
(int64)
Title:
ProjectProject -
projectId_Display: string
Title:
ProjectProject -
taskId: integer
(int64)
Title:
TaskTask -
taskId_Display: string
Title:
TaskTask -
TransactionInterfaceId: integer
(int64)
Title:
Interface ID
arrayLinksobject-
Age: number
Age of the lot.
-
dffForItemLots: array
dffForItemLots
-
ExpirationActionCode: string
Title:
Expiration ActionMaximum Length:32Abbreviation that identifies the action taken to expire the lot. -
ExpirationActionDate: string
(date)
Title:
Expiration Action DateDate when the lot expiration action occurred. -
ExpirationActionName: string
Title:
DescriptionMaximum Length:80Description of the action taken to expire the lot. -
GradeCode: string
Title:
GradeMaximum Length:150Abbreviation that identifies the lot grade. -
HoldDate: string
(date)
Title:
Hold Until DateDate when the hold will release for the lot. -
itemSerialsForLot: array
Serial and Lot Details for Items
Title:
Serial and Lot Details for ItemsThe Serial and Lot Details for Items resource manages details that the inventory balance references when a serial and a lot control the item. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LotExpirationDate: string
(date)
Title:
Lot Expiration DateDate when the lot expires. -
LotNumber: string
Title:
LotMaximum Length:80Lot number of the item when the warehouse places the item under lot control. -
OriginationDate: string
(date)
Title:
Origination DateDate when the lot originated. -
OriginationType: string
Title:
Origination TypeMaximum Length:30Origination type of the lot. -
ParentLotNumber: string
Title:
Parent LotMaximum Length:80Lot number of the parent lot. -
PlaceOfOrigin: string
Maximum Length:
150Place of origin of the lot. -
PrimaryQuantity: number
Title:
New On-Hand QuantityTransaction quantity for this lot in the primary unit of measure for the item. -
PrimaryUnitOfMeasure: string
Title:
New On-Hand Quantity UOMMaximum Length:25Primary unit of measure for the item in the current organization. -
PrimaryUOMCode: string
Maximum Length:
3Abbreviation that identifies the primary unit of measure for the item in the current organization. -
SecondaryQuantity: number
Title:
New Secondary On-Hand QuantityTransaction quantity for this lot in the secondary unit of measure for the item. -
SecondaryUnitOfMeasure: string
Title:
New Secondary On-Hand Quantity UOMMaximum Length:25Secondary unit of measure for the item in the current organization. -
SecondaryUOMCode: string
Maximum Length:
3Abbreviation that identifies the secondary unit of measure for the item in the current organization. -
StatusCode: string
Title:
Material StatusMaximum Length:80Abbreviation that identifies the status of the material that the lot references. -
StatusId: integer
(int64)
Value that uniquely identifies the lot status.
-
StatusName: string
Title:
DescriptionMaximum Length:240Description of the lot status. -
SupplierLotNumber: string
Title:
Supplier LotMaximum Length:150Supplier lot number. -
TerritoryCode: string
Maximum Length:
3Abbreviation that identifies the territory. -
TerritoryShortName: string
Maximum Length:
80Name of the territory. -
VendorId: integer
(int64)
Value that uniquely identifies the supplier who supplies the material.
-
VendorName: string
Title:
SupplierMaximum Length:240Name of the supplier who supplies the material.
arraySerial and Lot Details for ItemsarrayLinksobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
TxnLotInterfaceId: integer
(int64)
arrayLinksobject-
dffForItemSerialsForLot: array
dffForItemSerialsForLot
-
FromSerialNumber: string
Title:
From Serial NumberMaximum Length:80Starting serial number in a range of serial numbers. This attribute is used when the warehouse places the item under lot and serial control. -
FromVendorSerialNumber: string
Title:
Supplier Serial NumberMaximum Length:80Starting supplier serial number in a range of serial numbers. This attribute is used when the warehouse places the item under lot and serial control. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
OriginationDate: string
(date)
Title:
Origination DateDate when the serial originated. -
StatusCode: string
Title:
Material StatusMaximum Length:80Abbreviation that identifies the serial status. -
StatusId: integer
(int64)
Value that uniquely identifies the serial status.
-
StatusName: string
Title:
DescriptionMaximum Length:240Name of the serial status. -
TerritoryCode: string
Maximum Length:
30Value that uniquely identifies the territory. -
TerritoryShortName: string
Maximum Length:
80Name of the territory. -
ToSerialNumber: string
Title:
To Serial NumberMaximum Length:80Ending serial number in a range of serial numbers. This attribute is used when the warehouse places the item under lot and serial control. -
ToVendorSerialNumber: string
Title:
Supplier Serial NumberMaximum Length:80Ending supplier serial number in a range of serial numbers. This attribute is used when the warehouse places the item under lot and serial control.
arrayLinksobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
SerialTxnInterfaceId: integer
(int64)
arrayLinksobject-
dffForItemSerials: array
dffForItemSerials
-
FromSerialNumber: string
Title:
From Serial NumberMaximum Length:80Starting serial number in a range of serial. This attribute is used when the warehouse places the item under serial control. -
FromVendorSerialNumber: string
Title:
Supplier Serial NumberMaximum Length:80Starting supplier serial number in a range of serial numbers. This attribute is used when the warehouse places the item under serial control. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
OriginationDate: string
(date)
Title:
Origination DateDate when the serial originated. -
StatusCode: string
Title:
Material StatusMaximum Length:80Abbreviation that identifies the serial status. -
StatusId: integer
(int64)
Value that uniquely identifies the serial status.
-
StatusName: string
Title:
DescriptionMaximum Length:240Name of the serial status. -
TerritoryCode: string
Maximum Length:
30Value that uniquely identifies the territory. -
TerritoryShortName: string
Maximum Length:
80Name of the territory. -
ToSerialNumber: string
Title:
To Serial NumberMaximum Length:80Ending serial number in a range of serial numbers. This attribute is used when the warehouse places the item under serial control. -
ToVendorSerialNumber: string
Title:
Supplier Serial NumberMaximum Length:80Ending supplier serial number in a range of serial numbers. This attribute is used when the warehouse places the item under serial control.
arrayLinksobject-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
SerialTxnInterfaceId: integer
(int64)
arrayLinks- transactionLines
-
Parameters:
- inventoryBalanceTransactionsUniqID:
$request.path.inventoryBalanceTransactionsUniqID
The Transaction Lines resource manages details about the inventory balance. - inventoryBalanceTransactionsUniqID:
Examples
This example describes how to update the inventory balance transactions for one item that resides in one organization and in one subinventory.
Example cURL Command
Use the following cURL command to submit a request on the REST resource. This example updates the inventory balance transactions for item INV-100 that resides in organization M1 and in subinventory ABCSUB01:
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions?onlyData=true"
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.
{
"SubmitForProcessing": "No",
"transactionLines": [
{
"OrganizationCode": "M1",
"ItemNumber": "INV-102",
"Subinventory": "Stores",
"PrimaryUOMQuantity": 3,
"PrimaryUnitOfMeasure": "Each",
"OwningTradingPartnerType": 2,
"OwningOrganizationCode": "M1",
"itemSerials": [
{
"FromSerialNumber": "AAANEWSER103",
"ToSerialNumber": "AAANEWSER105"
}
],
"inventoryAttributesDFF": [
{
"projectId_Display": "P6004",
"taskId_Display": "1.1",
"countryOfOriginCode_Display": "Argentina"
}
]
}
]
}Example Response Body
The following example includes the contents of the response body in JSON format:
{
"ReturnStatus": "SUCCESS",
"ReturnMessageCode": "INV_OUT_COMPL_MSG_SCC",
"ReturnMessageText": "The process successfully completed.",
"TotalRecordsCount": 1,
"SuccessRecordsCount": null,
"FailedRecordsCount": null,
"SubmitForProcessing": "No",
"transactionLines": [
{
"OrganizationId": 207,
"OrganizationCode": "M1",
"OrganizationName": null,
"InventoryItemId": null,
"ItemNumber": "INV-102",
"Revision": null,
"Subinventory": "Stores",
"LocatorId": null,
"LocatorName": null,
"PrimaryUOMQuantity": 3,
"PrimaryUOMCode": null,
"PrimaryUnitOfMeasure": "Each",
"SecondaryUOMQuantity": null,
"SecondaryUOMCode": null,
"SecondaryUnitOfMeasure": null,
"OwningTradingPartnerType": "2",
"OwningOrganizationId": null,
"OwningOrganizationCode": "M1",
"PrcBUName": null,
"VendorName": null,
"VendorNumber": null,
"ConsignmentAgreementNumber": null,
"AccountAliasId": null,
"AccountAliasName": null,
"AgingOnsetDate": null,
"TransactionSourceCode": null,
"inventoryAttributesDFF": [
{
"TransactionInterfaceId": 300100188027054,
"projectId": 100000015590866,
"projectId_Display": "P6004",
"taskId": 100000015590911,
"taskId_Display": "1.1",
"countryOfOriginCode": "AR",
"countryOfOriginCode_Display": "Argentina",
"__FLEX_Context": null,
"__FLEX_Context_DisplayValue": null,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines/300100188027054/child/inventoryAttributesDFF/300100188027054",
"name": "inventoryAttributesDFF",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines/300100188027054/child/inventoryAttributesDFF/300100188027054",
"name": "inventoryAttributesDFF",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines/300100188027054",
"name": "transactionLines",
"kind": "item"
},
{
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines/300100188027054/child/inventoryAttributesDFF/300100188027054/lov/LVVO___FLEX_Context",
"name": "LVVO___FLEX_Context",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines/300100188027054/child/inventoryAttributesDFF/300100188027054/lov/LVVO_taskId",
"name": "LVVO_taskId",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines/300100188027054/child/inventoryAttributesDFF/300100188027054/lov/LVVO_projectId",
"name": "LVVO_projectId",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines/300100188027054/child/inventoryAttributesDFF/300100188027054/lov/LVVO_countryOfOriginCode",
"name": "LVVO_countryOfOriginCode",
"kind": "collection"
}
]
}
],
"itemSerials": [
{
"FromSerialNumber": "AAANEWSER103",
"ToSerialNumber": "AAANEWSER105",
"FromVendorSerialNumber": null,
"ToVendorSerialNumber": null,
"TerritoryCode": null,
"OriginationDate": null,
"StatusId": null,
"StatusCode": null,
"StatusName": null,
"TerritoryShortName": null,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines/300100188027054/child/itemSerials/300100188027055",
"name": "itemSerials",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines/300100188027054/child/itemSerials/300100188027055",
"name": "itemSerials",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines/300100188027054",
"name": "transactionLines",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines/300100188027054/child/itemSerials/300100188027055/child/dffForItemSerials",
"name": "dffForItemSerials",
"kind": "collection"
}
]
}
],
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines/300100188027054",
"name": "transactionLines",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines/300100188027054",
"name": "transactionLines",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003",
"name": "inventoryBalanceTransactions",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines/300100188027054/child/dffForTransactionLines",
"name": "dffForTransactionLines",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines/300100188027054/child/inventoryAttributesDFF",
"name": "inventoryAttributesDFF",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines/300100188027054/child/itemLots",
"name": "itemLots",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines/300100188027054/child/itemSerials",
"name": "itemSerials",
"kind": "collection"
}
]
}
],
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003",
"name": "inventoryBalanceTransactions",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003",
"name": "inventoryBalanceTransactions",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inventoryBalanceTransactions/3003/child/transactionLines",
"name": "transactionLines",
"kind": "collection"
}
]
}