Create transactions
/fscmRestApi/resources/11.13.18.05/materialTransactions
Request
-
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.
- application/json
object
-
MaterialTransactionDetail: array
Material Transaction Details
Title:
Material Transaction Details
The Material Transaction Details resource manages the details of the following: - materials issued to or returned from both a discrete and a process manufacturing work order - outputs completed or returned from a process manufacturing work order - product transaction detail for Orderless transactions. -
SourceSystemCode: string
Title:
Source System Code
Maximum Length:30
Abbreviation that identifies the source system that interfaces the material transaction. Values include INTERNAL or EXTERNAL. -
SourceSystemType: string
Title:
Source System Type
Maximum Length:30
Default Value:EXTERNAL
Type of source system that interfaces this material transaction. You must register this type in Oracle Manufacturing Cloud.
array
Material Transaction Details
object
-
AssemblySerialNumber: string
Maximum Length:
80
Work order assembly serial number for which the material transaction is performed. This attribute is required only if the work order operation is serial tracked. -
ComponentTransactionDetail: array
Component Transaction Details
Title:
Component Transaction Details
The Component Transaction Details resource manages the component that the application issued to an assembly in an orderless transaction. -
CountryOfOriginCode: string
Title:
Country of Origin
Maximum Length:2
Abbreviation that identifies the country of origin associated with the product. -
ExternalSystemPackingUnit: string
Maximum Length:
150
Value that uniquely identifies a container or package of products that are completed in manufacturing and maintenance. -
InventoryItemNumber: string
Title:
Item
Maximum Length:300
Item number for the material transaction. -
InvTransactionId: integer
(int64)
Value that uniquely identifies the transaction. If the transaction completes successfully, then this attribute contains a value that identifies the transaction. If the transaction does not complete successfully, then this attribute contains 0 (zero), the ErrorsExistFlag attribute contains true, and the ErrorMessages and ErrorMessageNames attributes contain error details.
-
ItemRevision: string
Title:
Item Revision
Maximum Length:18
Item revision number for the transacted item. -
Locator: string
Maximum Length:
800
Locator where the material is issued from or returned to. -
OrderlessTransactionDFF: array
Flexfields for Orderless Transactions
Title:
Flexfields for Orderless Transactions
The Flexfields for Orderless Transactions resource manages descriptive flexfields that contain details about the orderless transaction. -
OrganizationCode: string
Title:
Organization Code
Maximum Length:30
Abbreviation that identifies the organization as a manufacturing plant. Review and update the value for this attribute using the Setup and Maintenance work area, and the Define Manufacturing Plants (Organizations) task. -
OutputTypeCode: string
Title:
Output Type
Maximum Length:30
Type of output item. Valid values are PRODUCT or BY-PRODUCT. A list of accepted values is defined in the lookup type ORA_WIS_WD_OUTPUT_MATERIAL. -
POLineNumber: number
Title:
Purchase Order Line Number
Value that uniquely identifies the line on the purchase order document. Use this attribute only if the plant is a contract manufacturing plant. -
PONumber: string
Title:
Purchase Order Header Number
Maximum Length:30
Number of the purchase order document. Use this attribute only if the plant is a contract manufacturing plant. -
ProjectNumber: string
Title:
Project Number
Maximum Length:25
Number that identifies the project. This attribute is associated with a feature that requires opt in. -
ReasonCode: string
Title:
Reason Code
Maximum Length:30
Abbreviation that identifies the reason that you specify for the orderless scrap and orderless return from a scrap transaction. -
SecondaryTransactionQuantity: number
Title:
Secondary Transaction Quantity
Secondary quantity transacted for the material. If the transaction type code is MATERIAL_NEGATIVE_ISSUE or MATERIAL_NEGATIVE_RETURN, then the secondary transaction quantity is negative. This attribute is associated with a feature that requires opt in. -
SoldToLegalEntityName: string
Title:
Sold-to Legal Entity Name
Maximum Length:240
Value that represents the Sold to legal entity name as per the contract manufacturing purchase order. Use this attribute only if the plant is a contract manufacturing plant. -
SourceHeaderReference: string
Title:
Source Header Reference
Maximum Length:240
Reference to the object header in the source system. -
SourceHeaderReferenceId: integer
(int64)
Title:
Source Header Reference ID
Value that uniquely identifies the object header in the source system. -
SourceLineReference: string
Title:
Source Line Reference
Maximum Length:240
Reference to the object line in the source system. -
SourceLineReferenceId: integer
(int64)
Title:
Source Line Reference ID
Value that uniquely identifies the object line in the source system. -
SourceSystemCode: string
Title:
Source System Code
Maximum Length:30
Abbreviation that identifies the source system that started the material transaction. Source system code as defined in the Trading Community Model for external systems or the application product code for internal systems (Fusion applications). If the Source System Type is INTERNAL, the Source System Code value is WIE. If the Source System Type is EXTERNAL, then review and update the value for this attribute using the Setup and Maintenance work area, and the Manage Trading Community Source Systems task. -
SubinventoryCode: string
Title:
Subinventory Code
Maximum Length:18
Abbreviation that identifies the subinventory where the material is issued from or returned to. -
TaskNumber: string
Title:
Task Number
Maximum Length:100
Number that identifies the task. This attribute is associated with a feature that requires opt in. -
TransactionDate: string
(date-time)
Title:
Transaction Date
Date time when the transaction was executed. -
TransactionItemDFF: array
Flexfields for Item in Material Transactions
Title:
Flexfields for Item in Material Transactions
A flexible data field that includes work order components, products, and output transactions. -
TransactionLot: array
Transaction Lots
Title:
Transaction Lots
The Transaction Lots resource manages details of the lot of the component issued to or returned from the work order. -
TransactionNote: string
Title:
Transaction Note
Maximum Length:4000
Text instructions for the production supervisor for an orderless transaction. -
TransactionQuantity(required): number
Title:
Transaction Quantity
Quantity transacted for the material. If the transaction type code is MATERIAL_NEGATIVE_ISSUE or MATERIAL_NEGATIVE_RETURN, then the transaction quantity is negative. -
TransactionSerial: array
Transaction Serials
Title:
Transaction Serials
The Transaction Serials resource manages details of the serial of the component issued to or returned from the work order. -
TransactionTypeCode(required): string
Title:
Transaction Type Code
Maximum Length:30
Abbreviation that identifies the material transaction type. A list of accepted values is defined in the lookup type ORA_WIE_MTL_TXN_TYPE. -
TransactionUnitOfMeasure: string
Title:
Unit of Measure
Maximum Length:25
Unit of measure to use when reporting the transacted quantity. -
TransactionUOMCode: string
Title:
Unit of Measure
Maximum Length:3
Abbreviation that identifies the unit of measure to use when reporting the transacted quantity. -
UseCommonInventoryFlag: boolean
Title:
Use Common Inventory
Maximum Length:1
Contains one of the following values: true or false. If true, then material should be issued from or returned to the common inventory. If false, then material should be issued from or returned to the project associated with the work order. This attribute does not have a default value. This attribute is associated with a feature that requires opt in. -
WoOperationSequenceNumber: number
Title:
Operation Sequence
Sequence number of the operation as defined in the work order operations. This attribute takes only whole numbers as valid values. -
WorkDefinitionCode: string
Title:
Work Definition
Maximum Length:30
Abbreviation that identifies the work definition. Use this attribute only if the transaction type code is either ORDERLESS_COMPLETION, ORDERLESS_RETURN, ORDERLESS_RETURN_SCRAP, or ORDERLESS_SCRAP. -
WorkOrderNumber: string
Title:
Work Order
Maximum Length:120
Number that uniquely identifies the work order within a plant. Do not populate this attribute if the TransactionTypeCode is either ORDERLESS_COMPLETION, ORDERLESS_RETURN, ORDERLESS_RETURN_SCRAP, or ORDERLESS_SCRAP. -
WorkOrderSubType: string
Title:
Subtype
Maximum Length:30
Value that indicates the nature of work for an orderless transaction. Use this attribute only with an orderless transaction. A list of accepted values is defined in the lookup type ORA_WIE_WO_SUB_TYPE. -
WorkOrderType: string
Title:
Type
Maximum Length:30
Value that indicates the nature of work for an orderless transaction. Use this attribute only with an orderless transaction.
array
Component Transaction Details
array
Flexfields for Orderless Transactions
array
Flexfields for Item in Material Transactions
array
Transaction Lots
array
Transaction Serials
object
-
ComponentTransactionLot: array
Lot Details for Component Transactions
Title:
Lot Details for Component Transactions
The Lot Details for Component Transactions resource manages the component lot that the application issued to an assembly in an orderless transaction. -
ComponentTransactionSerial: array
Serial Details for Component Transactions
Title:
Serial Details for Component Transactions
The Serial Details for Component Transactions resource manages the component serial that the application issued to an assembly in an orderless transaction. -
CountryOfOriginCode: string
Title:
Country of Origin
Maximum Length:2
Abbreviation that identifies the country of origin associated to the product. -
InventoryItemNumber: string
Title:
Item
Maximum Length:300
Number that identifies the component of the assembly. Use this attribute only for an orderless transaction. -
ItemRevision: string
Title:
Item Revision
Maximum Length:18
Revision of the component that the application issued for the assembly in an orderless transaction. -
Locator: string
Maximum Length:
800
Locator that the application uses to issue the component to the assembly. -
SecondaryTransactionQuantity: number
Title:
Secondary Quantity
Secondary quantity of the transacted material issued to the assembly in an orderless transaction. This attribute is associated with a feature that requires opt in. -
SubinventoryCode: string
Title:
Subinventory Code
Maximum Length:18
Abbreviation that identifies the subinventory that the application uses to issue the component to the assembly. -
TransactionQuantity(required): number
Title:
Transaction Quantity
Quantity of the transacted material issued to the assembly in an orderless transaction. -
TransactionUnitOfMeasure: string
Title:
Unit of Measure
Maximum Length:25
Unit of measure to use when reporting the transacted quantity. -
TransactionUOMCode: string
Title:
Unit of Measure
Maximum Length:3
Abbreviation that identifies the unit of measure for the transacted quantity. -
UseCommonInventoryFlag: boolean
Maximum Length:
1
Contains one of the following values: true or false. If true, then material should be issued from or returned to the common inventory. If false, then material should be issued from or returned to the project associated with the work order. This attribute does not have a default value. This attribute is associated with a feature that requires opt in. -
WoOperationSequenceNumber: number
Title:
Operation Sequence
Operation sequence number of the work definition that the orderless transaction references. The application issues the component according to this sequence.
array
Lot Details for Component Transactions
array
Serial Details for Component Transactions
object
-
LotNumber: string
Title:
Lot Number
Maximum Length:80
Lot number of the component that the application issued to the assembly in an orderless transaction. -
SecondaryTransactionQuantity: number
Title:
Secondary Transaction Quantity
Secondary quantity of the material lot issued to the assembly in an orderless transaction. This attribute is associated with a feature that requires opt in. -
TransactionQuantity: number
Title:
Transaction Quantity
Quantity of the material lot issued to the assembly in an orderless transaction.
object
-
LotNumber: string
Title:
Lot Number
Maximum Length:18
Lot number of the serial for the component that the application issued to the assembly in an orderless transaction. This attribute is optional. -
SerialNumber: string
Title:
Serial Number
Maximum Length:80
Starting serial number that identifies the component that the application issued to the assembly in an orderless transaction. -
SerialNumberTo: string
Title:
To Serial Number
Maximum Length:80
Ending serial number that identifies the component that the application issued to the assembly in an orderless transaction. This attribute is optional.
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:80
Descriptive flexfield context name for orderless transactions. -
__FLEX_Context_DisplayValue: string
Title:
Context Segment
-
Discriminator: string
This is a transient attribute. The value of this attribute will always be null. Ignore this attribute.
-
InterfaceRowId: integer
(int64)
Value that uniquely identifies the material transaction detail that a descriptive flexfield references. This attribute should not be included in the request payload. The value of this attribute in the response payload includes the primary key of the material transaction detail.
object
-
__FLEX_Context: string
Title:
Context
Maximum Length:30
Descriptive flexfield context name for items in the transactions. -
__FLEX_Context_DisplayValue: string
Title:
Context
Descriptive flexfield context display value for items in the transactions. -
Discriminator: string
This is a transient attribute. The value of this attribute is always null. Ignore this attribute.
-
InterfaceRowId: integer
(int64)
Value that uniquely identifies the item of the transaction that a descriptive flexfield references. This attribute shouldn't be included in the request payload. The value of this attribute in the response payload includes the primary key of the item of the transaction.
object
-
LotExpirationDate: string
(date)
Title:
Lot Expiration Date
Date when the component of this lot expires. This attribute is required only for a new lot and is applicable only for orderless completions. -
LotHoldUntilDate: string
(date-time)
Title:
Hold Until Date
Date when the hold expires for the lot number. This attribute is associated with a feature that requires opt in. -
LotNumber(required): string
Title:
Lot Number
Maximum Length:80
Lot number of the material (component) issued for the work order. This attribute is needed only if material is lot controlled. -
LotOriginationDate: string
(date-time)
Title:
Lot Origination Date
Date when the lot originated. This attribute is required only if the item is lot controlled and transaction type code is ORDERLESS_COMPLETION. -
ParentLotNumber: string
Title:
Parent Lot Number
Maximum Length:80
Number that identifies the parent lot of the lot number used for the work order material. This attribute is applicable if the material is lot controlled. This attribute is associated with a feature that requires opt in. -
SecondaryTransactionQuantity: number
Title:
Secondary Transaction Quantity
Secondary quantity of the material lot transacted for the work order. This attribute is associated with a feature that requires opt in. -
TransactionLotDFF: array
Flexfields for Material Transaction Lots
Title:
Flexfields for Material Transaction Lots
The Flexfields for Material Transaction Lots resource manages descriptive flexfields for process manufacturing work order output transactions. It doesn???t manage descriptive flexfields for work order component transactions. -
TransactionQuantity(required): number
Title:
Transaction Quantity
Quantity of the material lot transacted for the work order.
array
Flexfields for Material Transaction Lots
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for transaction lots. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield display value for transaction lots. -
Discriminator: string
This is a transient attribute. The value of this attribute will always be null. Ignore this attribute.
-
InterfaceRowId: integer
(int64)
Value that identifies the transaction lot that a descriptive flexfield references. This attribute is a primary key. It is recommended that you not include this attribute in the request payload.
object
-
LotNumber: string
Title:
Lot Number
Maximum Length:18
Lot number of the serial of the component that the application issued for the work order. This attribute is optional. -
SerialNumber(required): string
Title:
Serial Number
Maximum Length:80
Starting serial number that identifies the component that the application issued for the work order. -
SerialNumberTo: string
Title:
To Serial Number
Maximum Length:80
Ending serial number that identifies the component that the application issued for the work order. -
TransactionSerialDFF: array
Flexfields for Material Transaction Serials
Title:
Flexfields for Material Transaction Serials
The Flexfields for Material Transaction Serials resource manages descriptive flexfields that contain details about the transaction serial.
array
Flexfields for Material Transaction Serials
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for transactions serials. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for transactions serials. -
Discriminator: string
This is a transient attribute. The value of this attribute will always be null. Ignore this attribute.
-
InterfaceRowId: integer
(int64)
Value that uniquely identifies the transaction lot that a descriptive flexfield references. This attribute should not be included in the request payload. The value of this attribute in the response payload includes the primary key of the transaction lot.
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
-
ErrorsExistFlag: boolean
Read Only:
true
Contains one of the following values: true or false. If true, then an error occurred while processing the material transaction. If false, then an error did not occur. The request payload should not have this attribute. However, the response payload includes this attribute. This attribute does not have a default value. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
MaterialTransactionDetail: array
Material Transaction Details
Title:
Material Transaction Details
The Material Transaction Details resource manages the details of the following: - materials issued to or returned from both a discrete and a process manufacturing work order - outputs completed or returned from a process manufacturing work order - product transaction detail for Orderless transactions. -
SourceSystemCode: string
Title:
Source System Code
Maximum Length:30
Abbreviation that identifies the source system that interfaces the material transaction. Values include INTERNAL or EXTERNAL. -
SourceSystemType: string
Title:
Source System Type
Maximum Length:30
Default Value:EXTERNAL
Type of source system that interfaces this material transaction. You must register this type in Oracle Manufacturing Cloud.
array
Links
array
Material Transaction Details
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.
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
object
-
AssemblySerialNumber: string
Maximum Length:
80
Work order assembly serial number for which the material transaction is performed. This attribute is required only if the work order operation is serial tracked. -
ComponentTransactionDetail: array
Component Transaction Details
Title:
Component Transaction Details
The Component Transaction Details resource manages the component that the application issued to an assembly in an orderless transaction. -
CountryOfOriginCode: string
Title:
Country of Origin
Maximum Length:2
Abbreviation that identifies the country of origin associated with the product. -
ErrorMessageNames: string
Read Only:
true
Maximum Length:255
Name of the error message, if any, when processing the material transaction. Each text string in the ErrorMessages attribute corresponds to one error message name in the ErrorMessageNames attribute. A comma ( , ) separates each message name. -
ErrorMessages: string
Read Only:
true
Maximum Length:2000
Text of the error message, if any, when processing the material transaction. Each text string in the ErrorMessages attribute corresponds to one error message name in the ErrorMessageNames attribute. A double dollar sign ($$) separates each message. -
ExternalSystemPackingUnit: string
Maximum Length:
150
Value that uniquely identifies a container or package of products that are completed in manufacturing and maintenance. -
InventoryItemNumber: string
Title:
Item
Maximum Length:300
Item number for the material transaction. -
InvTransactionId: integer
(int64)
Value that uniquely identifies the transaction. If the transaction completes successfully, then this attribute contains a value that identifies the transaction. If the transaction does not complete successfully, then this attribute contains 0 (zero), the ErrorsExistFlag attribute contains true, and the ErrorMessages and ErrorMessageNames attributes contain error details.
-
ItemRevision: string
Title:
Item Revision
Maximum Length:18
Item revision number for the transacted item. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Locator: string
Maximum Length:
800
Locator where the material is issued from or returned to. -
OrderlessTransactionDFF: array
Flexfields for Orderless Transactions
Title:
Flexfields for Orderless Transactions
The Flexfields for Orderless Transactions resource manages descriptive flexfields that contain details about the orderless transaction. -
OrganizationCode: string
Title:
Organization Code
Maximum Length:30
Abbreviation that identifies the organization as a manufacturing plant. Review and update the value for this attribute using the Setup and Maintenance work area, and the Define Manufacturing Plants (Organizations) task. -
OutputTypeCode: string
Title:
Output Type
Maximum Length:30
Type of output item. Valid values are PRODUCT or BY-PRODUCT. A list of accepted values is defined in the lookup type ORA_WIS_WD_OUTPUT_MATERIAL. -
POLineNumber: number
Title:
Purchase Order Line Number
Value that uniquely identifies the line on the purchase order document. Use this attribute only if the plant is a contract manufacturing plant. -
PONumber: string
Title:
Purchase Order Header Number
Maximum Length:30
Number of the purchase order document. Use this attribute only if the plant is a contract manufacturing plant. -
ProjectNumber: string
Title:
Project Number
Maximum Length:25
Number that identifies the project. This attribute is associated with a feature that requires opt in. -
ReasonCode: string
Title:
Reason Code
Maximum Length:30
Abbreviation that identifies the reason that you specify for the orderless scrap and orderless return from a scrap transaction. -
SecondaryTransactionQuantity: number
Title:
Secondary Transaction Quantity
Secondary quantity transacted for the material. If the transaction type code is MATERIAL_NEGATIVE_ISSUE or MATERIAL_NEGATIVE_RETURN, then the secondary transaction quantity is negative. This attribute is associated with a feature that requires opt in. -
SoldToLegalEntityName: string
Title:
Sold-to Legal Entity Name
Maximum Length:240
Value that represents the Sold to legal entity name as per the contract manufacturing purchase order. Use this attribute only if the plant is a contract manufacturing plant. -
SourceHeaderReference: string
Title:
Source Header Reference
Maximum Length:240
Reference to the object header in the source system. -
SourceHeaderReferenceId: integer
(int64)
Title:
Source Header Reference ID
Value that uniquely identifies the object header in the source system. -
SourceLineReference: string
Title:
Source Line Reference
Maximum Length:240
Reference to the object line in the source system. -
SourceLineReferenceId: integer
(int64)
Title:
Source Line Reference ID
Value that uniquely identifies the object line in the source system. -
SourceSystemCode: string
Title:
Source System Code
Maximum Length:30
Abbreviation that identifies the source system that started the material transaction. Source system code as defined in the Trading Community Model for external systems or the application product code for internal systems (Fusion applications). If the Source System Type is INTERNAL, the Source System Code value is WIE. If the Source System Type is EXTERNAL, then review and update the value for this attribute using the Setup and Maintenance work area, and the Manage Trading Community Source Systems task. -
SubinventoryCode: string
Title:
Subinventory Code
Maximum Length:18
Abbreviation that identifies the subinventory where the material is issued from or returned to. -
TaskNumber: string
Title:
Task Number
Maximum Length:100
Number that identifies the task. This attribute is associated with a feature that requires opt in. -
TransactionDate: string
(date-time)
Title:
Transaction Date
Date time when the transaction was executed. -
TransactionItemDFF: array
Flexfields for Item in Material Transactions
Title:
Flexfields for Item in Material Transactions
A flexible data field that includes work order components, products, and output transactions. -
TransactionLot: array
Transaction Lots
Title:
Transaction Lots
The Transaction Lots resource manages details of the lot of the component issued to or returned from the work order. -
TransactionNote: string
Title:
Transaction Note
Maximum Length:4000
Text instructions for the production supervisor for an orderless transaction. -
TransactionQuantity: number
Title:
Transaction Quantity
Quantity transacted for the material. If the transaction type code is MATERIAL_NEGATIVE_ISSUE or MATERIAL_NEGATIVE_RETURN, then the transaction quantity is negative. -
TransactionSerial: array
Transaction Serials
Title:
Transaction Serials
The Transaction Serials resource manages details of the serial of the component issued to or returned from the work order. -
TransactionTypeCode: string
Title:
Transaction Type Code
Maximum Length:30
Abbreviation that identifies the material transaction type. A list of accepted values is defined in the lookup type ORA_WIE_MTL_TXN_TYPE. -
TransactionUnitOfMeasure: string
Title:
Unit of Measure
Maximum Length:25
Unit of measure to use when reporting the transacted quantity. -
TransactionUOMCode: string
Title:
Unit of Measure
Maximum Length:3
Abbreviation that identifies the unit of measure to use when reporting the transacted quantity. -
UseCommonInventoryFlag: boolean
Title:
Use Common Inventory
Maximum Length:1
Contains one of the following values: true or false. If true, then material should be issued from or returned to the common inventory. If false, then material should be issued from or returned to the project associated with the work order. This attribute does not have a default value. This attribute is associated with a feature that requires opt in. -
WoOperationSequenceNumber: number
Title:
Operation Sequence
Sequence number of the operation as defined in the work order operations. This attribute takes only whole numbers as valid values. -
WorkDefinitionCode: string
Title:
Work Definition
Maximum Length:30
Abbreviation that identifies the work definition. Use this attribute only if the transaction type code is either ORDERLESS_COMPLETION, ORDERLESS_RETURN, ORDERLESS_RETURN_SCRAP, or ORDERLESS_SCRAP. -
WorkOrderNumber: string
Title:
Work Order
Maximum Length:120
Number that uniquely identifies the work order within a plant. Do not populate this attribute if the TransactionTypeCode is either ORDERLESS_COMPLETION, ORDERLESS_RETURN, ORDERLESS_RETURN_SCRAP, or ORDERLESS_SCRAP. -
WorkOrderSubType: string
Title:
Subtype
Maximum Length:30
Value that indicates the nature of work for an orderless transaction. Use this attribute only with an orderless transaction. A list of accepted values is defined in the lookup type ORA_WIE_WO_SUB_TYPE. -
WorkOrderType: string
Title:
Type
Maximum Length:30
Value that indicates the nature of work for an orderless transaction. Use this attribute only with an orderless transaction.
array
Component Transaction Details
array
Links
array
Flexfields for Orderless Transactions
array
Flexfields for Item in Material Transactions
array
Transaction Lots
array
Transaction Serials
object
-
ComponentTransactionLot: array
Lot Details for Component Transactions
Title:
Lot Details for Component Transactions
The Lot Details for Component Transactions resource manages the component lot that the application issued to an assembly in an orderless transaction. -
ComponentTransactionSerial: array
Serial Details for Component Transactions
Title:
Serial Details for Component Transactions
The Serial Details for Component Transactions resource manages the component serial that the application issued to an assembly in an orderless transaction. -
CountryOfOriginCode: string
Title:
Country of Origin
Maximum Length:2
Abbreviation that identifies the country of origin associated to the product. -
ErrorMessageNames: string
Read Only:
true
Maximum Length:255
Name of the error message, if any, when processing the component issue in an orderless transaction. Each text string in the ErrorMessages attribute corresponds to one error message name in the ErrorMessageNames attribute. A comma ( , ) separates each message name. -
ErrorMessages: string
Read Only:
true
Maximum Length:2000
Text of the error message, if any, when processing the component issue in an orderless transaction. Each text string in the ErrorMessages attribute corresponds to one error message name in the ErrorMessageNames attribute. A double dollar sign ($$) separates each message. -
InventoryItemNumber: string
Title:
Item
Maximum Length:300
Number that identifies the component of the assembly. Use this attribute only for an orderless transaction. -
InvTransactionId: integer
(int64)
Read Only:
true
Value that uniquely identifies the transaction. If the transaction completes successfully, then this attribute contains a value that identifies the transaction. If the transaction does not complete successfully, then this attribute contains 0 (zero), the ErrorsExistFlag attribute contains true, and the ErrorMessages and ErrorMessageNames attributes contain error details. -
ItemRevision: string
Title:
Item Revision
Maximum Length:18
Revision of the component that the application issued for the assembly in an orderless transaction. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Locator: string
Maximum Length:
800
Locator that the application uses to issue the component to the assembly. -
SecondaryTransactionQuantity: number
Title:
Secondary Quantity
Secondary quantity of the transacted material issued to the assembly in an orderless transaction. This attribute is associated with a feature that requires opt in. -
SubinventoryCode: string
Title:
Subinventory Code
Maximum Length:18
Abbreviation that identifies the subinventory that the application uses to issue the component to the assembly. -
TransactionQuantity: number
Title:
Transaction Quantity
Quantity of the transacted material issued to the assembly in an orderless transaction. -
TransactionUnitOfMeasure: string
Title:
Unit of Measure
Maximum Length:25
Unit of measure to use when reporting the transacted quantity. -
TransactionUOMCode: string
Title:
Unit of Measure
Maximum Length:3
Abbreviation that identifies the unit of measure for the transacted quantity. -
UseCommonInventoryFlag: boolean
Maximum Length:
1
Contains one of the following values: true or false. If true, then material should be issued from or returned to the common inventory. If false, then material should be issued from or returned to the project associated with the work order. This attribute does not have a default value. This attribute is associated with a feature that requires opt in. -
WoOperationSequenceNumber: number
Title:
Operation Sequence
Operation sequence number of the work definition that the orderless transaction references. The application issues the component according to this sequence.
array
Lot Details for Component Transactions
array
Serial Details for Component Transactions
array
Links
object
-
ErrorMessageNames: string
Read Only:
true
Maximum Length:255
Name of the error message, if any, when processing the component lot issue in an orderless transaction. Each text string in the ErrorMessages attribute corresponds to one error message name in the ErrorMessageNames attribute. A comma ( , ) separates each message name. -
ErrorMessages: string
Read Only:
true
Maximum Length:2000
Text of the error message, if any, when processing the component lot issue in an orderless transaction. Each text string in the ErrorMessages attribute corresponds to one error message name in the ErrorMessageNames attribute. A double dollar sign ($$) separates each message. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotNumber: string
Title:
Lot Number
Maximum Length:80
Lot number of the component that the application issued to the assembly in an orderless transaction. -
SecondaryTransactionQuantity: number
Title:
Secondary Transaction Quantity
Secondary quantity of the material lot issued to the assembly in an orderless transaction. This attribute is associated with a feature that requires opt in. -
TransactionQuantity: number
Title:
Transaction Quantity
Quantity of the material lot issued to the assembly in an orderless transaction.
array
Links
object
-
ErrorMessageNames: string
Read Only:
true
Maximum Length:255
Name of the error message, if any, when processing the component serial issue in an orderless transaction. Each text string in the ErrorMessages attribute corresponds to one error message name in the ErrorMessageNames attribute. A comma ( , ) separates each message name. -
ErrorMessages: string
Read Only:
true
Maximum Length:2000
Text of the error message, if any, when processing the component serial issue in an orderless transaction. Each text string in the ErrorMessages attribute corresponds to one error message name in the ErrorMessageNames attribute. A double dollar sign ($$) separates each message. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotNumber: string
Title:
Lot Number
Maximum Length:18
Lot number of the serial for the component that the application issued to the assembly in an orderless transaction. This attribute is optional. -
SerialNumber: string
Title:
Serial Number
Maximum Length:80
Starting serial number that identifies the component that the application issued to the assembly in an orderless transaction. -
SerialNumberTo: string
Title:
To Serial Number
Maximum Length:80
Ending serial number that identifies the component that the application issued to the assembly in an orderless transaction. This attribute is optional.
array
Links
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:80
Descriptive flexfield context name for orderless transactions. -
__FLEX_Context_DisplayValue: string
Title:
Context Segment
-
Discriminator: string
This is a transient attribute. The value of this attribute will always be null. Ignore this attribute.
-
InterfaceRowId: integer
(int64)
Value that uniquely identifies the material transaction detail that a descriptive flexfield references. This attribute should not be included in the request payload. The value of this attribute in the response payload includes the primary key of the material transaction detail.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance.
array
Links
object
-
__FLEX_Context: string
Title:
Context
Maximum Length:30
Descriptive flexfield context name for items in the transactions. -
__FLEX_Context_DisplayValue: string
Title:
Context
Descriptive flexfield context display value for items in the transactions. -
Discriminator: string
This is a transient attribute. The value of this attribute is always null. Ignore this attribute.
-
InterfaceRowId: integer
(int64)
Value that uniquely identifies the item of the transaction that a descriptive flexfield references. This attribute shouldn't be included in the request payload. The value of this attribute in the response payload includes the primary key of the item of the transaction.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance.
array
Links
object
-
ErrorMessageNames: string
Read Only:
true
Maximum Length:255
Name of the error message, if any, when processing the transaction lot. Each text string in the ErrorMessages attribute corresponds to one error message name in the ErrorMessageNames attribute. A comma ( , ) separates each message name. -
ErrorMessages: string
Read Only:
true
Maximum Length:2000
Text of the error message, if any, when processing this transaction lot. Each text string in the ErrorMessages attribute corresponds to one error message name in the ErrorMessageNames attribute. A double dollar sign ($$) separates each message. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotExpirationDate: string
(date)
Title:
Lot Expiration Date
Date when the component of this lot expires. This attribute is required only for a new lot and is applicable only for orderless completions. -
LotHoldUntilDate: string
(date-time)
Title:
Hold Until Date
Date when the hold expires for the lot number. This attribute is associated with a feature that requires opt in. -
LotNumber: string
Title:
Lot Number
Maximum Length:80
Lot number of the material (component) issued for the work order. This attribute is needed only if material is lot controlled. -
LotOriginationDate: string
(date-time)
Title:
Lot Origination Date
Date when the lot originated. This attribute is required only if the item is lot controlled and transaction type code is ORDERLESS_COMPLETION. -
ParentLotNumber: string
Title:
Parent Lot Number
Maximum Length:80
Number that identifies the parent lot of the lot number used for the work order material. This attribute is applicable if the material is lot controlled. This attribute is associated with a feature that requires opt in. -
SecondaryTransactionQuantity: number
Title:
Secondary Transaction Quantity
Secondary quantity of the material lot transacted for the work order. This attribute is associated with a feature that requires opt in. -
TransactionLotDFF: array
Flexfields for Material Transaction Lots
Title:
Flexfields for Material Transaction Lots
The Flexfields for Material Transaction Lots resource manages descriptive flexfields for process manufacturing work order output transactions. It doesn???t manage descriptive flexfields for work order component transactions. -
TransactionQuantity: number
Title:
Transaction Quantity
Quantity of the material lot transacted for the work order.
array
Links
array
Flexfields for Material Transaction Lots
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for transaction lots. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield display value for transaction lots. -
Discriminator: string
This is a transient attribute. The value of this attribute will always be null. Ignore this attribute.
-
InterfaceRowId: integer
(int64)
Value that identifies the transaction lot that a descriptive flexfield references. This attribute is a primary key. It is recommended that you not include this attribute in the request payload.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance.
array
Links
object
-
ErrorMessageNames: string
Read Only:
true
Maximum Length:255
Name of the error message, if any, when processing the transaction serial. Each text string in the ErrorMessages attribute corresponds to one error message name in the ErrorMessageNames attribute. A comma ( , ) separates each message name. -
ErrorMessages: string
Read Only:
true
Maximum Length:2000
Text of the error message, if any, when processing this transaction serial. Each text string in the ErrorMessages attribute corresponds to one error message name in the ErrorMessageNames attribute. A double dollar sign ($$) separates each message. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
LotNumber: string
Title:
Lot Number
Maximum Length:18
Lot number of the serial of the component that the application issued for the work order. This attribute is optional. -
SerialNumber: string
Title:
Serial Number
Maximum Length:80
Starting serial number that identifies the component that the application issued for the work order. -
SerialNumberTo: string
Title:
To Serial Number
Maximum Length:80
Ending serial number that identifies the component that the application issued for the work order. -
TransactionSerialDFF: array
Flexfields for Material Transaction Serials
Title:
Flexfields for Material Transaction Serials
The Flexfields for Material Transaction Serials resource manages descriptive flexfields that contain details about the transaction serial.
array
Links
array
Flexfields for Material Transaction Serials
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Descriptive flexfield context name for transactions serials. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Descriptive flexfield context display value for transactions serials. -
Discriminator: string
This is a transient attribute. The value of this attribute will always be null. Ignore this attribute.
-
InterfaceRowId: integer
(int64)
Value that uniquely identifies the transaction lot that a descriptive flexfield references. This attribute should not be included in the request payload. The value of this attribute in the response payload includes the primary key of the transaction lot.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance.
array
Links
- MaterialTransactionDetail
-
Parameters:
- materialTransactionsUniqID:
$request.path.materialTransactionsUniqID
The Material Transaction Details resource manages the details of the following: - materials issued to or returned from both a discrete and a process manufacturing work order - outputs completed or returned from a process manufacturing work order - product transaction detail for Orderless transactions. - materialTransactionsUniqID:
Examples
This example describes how to create one material transaction on one work order operation.
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.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/materialTransactions"
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.
{ "SourceSystemCode" : "FUSION_MOBILE", "SourceSystemType" : "EXTERNAL", "MaterialTransactionDetail" : [ { "InventoryItemNumber" : "SB32982", "OrganizationCode" : "M1", "SubinventoryCode" : "Stores", "TransactionDate" : "2016-06-07T11:12:30-07:00", "TransactionQuantity" : 1, "TransactionTypeCode" : "MATERIAL_ISSUE", "TransactionUnitOfMeasure" : "Each", "WoOperationSequenceNumber" : 10, "WorkOrderNumber" : "M11120" } ] }
Example 1 Response Body
The following example includes the contents of the response body in JSON format:
{ "SourceSystemCode" : "FUSION_MOBILE", "SourceSystemType" : "EXTERNAL", "ErrorsExistFlag" : "false", "MaterialTransactionDetail" : [ { "InvTransactionId" : 300100046214462, "SourceSystemCode" : null, "OrganizationCode" : "M1", "WorkOrderNumber" : "M11120", "AssemblySerialNumber" : null, "WoOperationSequenceNumber" : 10, "TransactionDate" : "2016-06-07T11:12:30-07:00", "TransactionTypeCode" : "MATERIAL_ISSUE", "InventoryItemNumber" : "SB32982", "ItemRevision" : null, "TransactionQuantity" : 1, "TransactionUnitOfMeasure" : "Each", "SubinventoryCode" : "Stores", "Locator" : null, "WorkDefinitionCode" : null, "WorkOrderType" : null, "WorkOrderSubType" : null, "SourceHeaderReference" : null, "SourceHeaderReferenceId" : null, "SourceLineReference" : null, "SourceLineReferenceId" : null, "ReasonCode" : null, "TransactionNote" : null, "POLineNumber" : null, "PONumber" : null, "SoldToLegalEntityName" : null, "ErrorMessages" : "", "ErrorMessageNames" : "", ... } ] }
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. The example demonstrates the usage of transaction item flexfields.
{ "SourceSystemCode": "FUSION_MOBILE", "SourceSystemType": "EXTERNAL", "MaterialTransactionDetail": [ { "InventoryItemNumber": "MFG-PL-COMP1", "OrganizationCode": "M1", "SubinventoryCode": "Stores", "TransactionQuantity": 1, "TransactionTypeCode": "MATERIAL_ISSUE", "TransactionUnitOfMeasure": "Each", "WoOperationSequenceNumber": 10, "WorkOrderNumber": "M1-1223", "TransactionItemDFF": [ { "_Global__Segment2": "Matissue", "_Patient__Account": "211-48-0987", "_BI_2DGlobSeg_2DMatStat": "Matissue", "vishsrtest1": "Matissue" } ] } ] }
Example 2 Response Body
The following example includes the contents of the response body in JSON format:
{ "SourceSystemCode": "FUSION_MOBILE", "SourceSystemType": "EXTERNAL", "ErrorsExistFlag": "false", "MaterialTransactionDetail": [ { "InvTransactionId": 0, "SourceSystemCode": null, "OrganizationCode": "M1", "WorkOrderNumber": "M1-1223", "AssemblySerialNumber": null, "WoOperationSequenceNumber": 10, "TransactionDate": "2024-04-25T09:43:42.305+00:00", "TransactionTypeCode": "MATERIAL_ISSUE", "InventoryItemNumber": "MFG-PL-COMP1", "ItemRevision": null, "TransactionQuantity": 1, "TransactionUOMCode": null, "TransactionUnitOfMeasure": "Each", "SecondaryTransactionQuantity": null, "SubinventoryCode": "Stores", "Locator": null, "WorkDefinitionCode": null, "WorkOrderType": "STANDARD", "WorkOrderSubType": null, "SourceHeaderReference": null, "SourceHeaderReferenceId": null, "SourceLineReference": null, "SourceLineReferenceId": null, "ReasonCode": null, "TransactionNote": null, "POLineNumber": null, "PONumber": null, "SoldToLegalEntityName": null, "ErrorMessages": "", "ErrorMessageNames": "", "OutputTypeCode": null, "ProjectNumber": null, "TaskNumber": null, "UseCommonInventoryFlag": null, "CountryOfOriginCode": null, "TransactionItemDFF": [ { "InterfaceRowId": 300100597707340, "Discriminator": "REST", "_Patient__Account": "211-48-0987", "_Global__Segment2": "Matissue", "_BI_2DGlobSeg_2DMatStat": "Matissue", "vishsrtest1": "Matissue", "test1": null, "__FLEX_Context": null, "__FLEX_Context_DisplayValue": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/materialTransactions/300100597707339/child/MaterialTransactionDetail/300100597707340/child/TransactionItemDFF/300100597707340", "name": "TransactionItemDFF", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/materialTransactions/300100597707339/child/MaterialTransactionDetail/300100597707340/child/TransactionItemDFF/300100597707340", "name": "TransactionItemDFF", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/materialTransactions/300100597707339/child/MaterialTransactionDetail/300100597707340", "name": "MaterialTransactionDetail", "kind": "item" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/materialTransactions/300100597707339/child/MaterialTransactionDetail/300100597707340/child/TransactionItemDFF/300100597707340/lov/LVVO__Patient__Account", "name": "LVVO__Patient__Account", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/materialTransactions/300100597707339/child/MaterialTransactionDetail/300100597707340/child/TransactionItemDFF/300100597707340/lov/LVVO___FLEX_Context", "name": "LVVO___FLEX_Context", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/materialTransactions/300100597707339/child/MaterialTransactionDetail/300100597707340/child/TransactionItemDFF/300100597707340/lov/LVVO_V___FLEX_Context", "name": "LVVO_V___FLEX_Context", "kind": "collection" } ] } ], "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/materialTransactions/300100597707339/child/MaterialTransactionDetail/300100597707340", "name": "MaterialTransactionDetail", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/materialTransactions/300100597707339/child/MaterialTransactionDetail/300100597707340", "name": "MaterialTransactionDetail", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/materialTransactions/300100597707339", "name": "materialTransactions", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/materialTransactions/300100597707339/child/MaterialTransactionDetail/300100597707340/child/ComponentTransactionDetail", "name": "ComponentTransactionDetail", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/materialTransactions/300100597707339/child/MaterialTransactionDetail/300100597707340/child/OrderlessTransactionDFF", "name": "OrderlessTransactionDFF", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/materialTransactions/300100597707339/child/MaterialTransactionDetail/300100597707340/child/TransactionItemDFF", "name": "TransactionItemDFF", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/materialTransactions/300100597707339/child/MaterialTransactionDetail/300100597707340/child/TransactionLot", "name": "TransactionLot", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/materialTransactions/300100597707339/child/MaterialTransactionDetail/300100597707340/child/TransactionSerial", "name": "TransactionSerial", "kind": "collection" } ] } ], "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/materialTransactions/300100597707339", "name": "materialTransactions", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/materialTransactions/300100597707339", "name": "materialTransactions", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/materialTransactions/300100597707339/child/MaterialTransactionDetail", "name": "MaterialTransactionDetail", "kind": "collection" } ] }