Update one physical inventory adjustment
patch
/fscmRestApi/resources/11.13.18.05/physicalInventoryAdjustments/{AdjustmentId}
Request
Path Parameters
-
AdjustmentId(required): integer(int64)
Value that uniquely identifies the physical inventory adjustment.
Header Parameters
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
ApprovalStatus: string
Title:
Adjustment Status
Maximum Length:30
Default Value:4
Status determining whether a physical inventory is approved or not. -
ApprovalStatusCode: string
Maximum Length:
255
Abbreviation that identifies the status determining whether a physical inventory is approved or not. A list of accepted values is defined in the lookup type INV_APPROVALS. The default value is 4. -
ApprovedByEmployeeId: integer
(int64)
Title:
Reviewer
Value that uniquely identifies the person approving the physical inventory adjustment. -
ApproverName: string
Maximum Length:
255
Name of the person approving the physical inventory adjustment. -
inventoryAttributesDFF: array
Flexfields for Tracking Attributes
Title:
Flexfields for Tracking Attributes
The Flexfields for Tracking Attributes resource manages details of the descriptive flexfields that reference the physical inventory adjustment.
Nested Schema : Flexfields for Tracking Attributes
Type:
array
Title:
Flexfields for Tracking Attributes
The Flexfields for Tracking Attributes resource manages details of the descriptive flexfields that reference the physical inventory adjustment.
Show Source
Nested Schema : schema
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:40
Descriptive flexfield context name for tracking attributes. -
__FLEX_Context_DisplayValue: string
Title:
Context Segment
Descriptive flexfield context display value for tracking attributes. -
countryOfOriginCode: string
Title:
Country of Origin
Maximum Length:2
Abbreviation that identifies the country of origin. -
countryOfOriginCode_Display: string
Title:
Country of Origin
Name of the country of origin. -
projectId: integer
(int64)
Title:
Project
Value that uniquely identifies the project. This attribute is associated with a feature that requires opt in. -
projectId_Display: string
Title:
Project
Number that identifies the project. This attribute is associated with a feature that requires opt in. -
taskId: integer
(int64)
Title:
Task
Value that uniquely identifies the task. This attribute is associated with a feature that requires opt in. -
taskId_Display: string
Title:
Task
Number that identifies the task.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context(required):
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(required):
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : physicalInventoryAdjustments-item-response
Type:
Show Source
object
-
ActualCost: number
Title:
Adjustment Value
Cost associated with the item. -
AdjustmentId: integer
(int64)
Title:
Adjustment
Value that uniquely identifies the physical inventory adjustment. -
AdjustmentQuantity: number
Title:
Adjustment Quantity
Variance between the system on-hand quantity and the entered count quantity of an item during physical counting. -
AdjustmentQuantityPercentage: integer
(int64)
Read Only:
true
Percent adjustment of snapshot quantity. -
AdjustmentUnitOfMeasure: string
Read Only:
true
Maximum Length:255
Name of the unit of measure of the item for which an adjustment is made. -
AdjustmentUOM: string
Title:
Adjustment UOM
Maximum Length:3
Unit of measure of the item for which an adjustment is made. -
AdjustmentValue: number
Read Only:
true
Amount of the financial adjustment that is created due to the difference between the system quantity and the counted quantity. -
AdjustmentValuePercentage: integer
(int64)
Read Only:
true
Percent value of the adjustment of system on-hand value. -
ApprovalStatus: string
Title:
Adjustment Status
Maximum Length:30
Default Value:4
Status determining whether a physical inventory is approved or not. -
ApprovalStatusCode: string
Maximum Length:
255
Abbreviation that identifies the status determining whether a physical inventory is approved or not. A list of accepted values is defined in the lookup type INV_APPROVALS. The default value is 4. -
ApprovedByEmployeeId: integer
(int64)
Title:
Reviewer
Value that uniquely identifies the person approving the physical inventory adjustment. -
ApproverName: string
Maximum Length:
255
Name of the person approving the physical inventory adjustment. -
CountQuantity: number
Title:
Count Quantity
Quantity of the item stock that is counted during physical counting. -
inventoryAttributesDFF: array
Flexfields for Tracking Attributes
Title:
Flexfields for Tracking Attributes
The Flexfields for Tracking Attributes resource manages details of the descriptive flexfields that reference the physical inventory adjustment. -
InventoryItemId: integer
(int64)
Value that uniquely identifies the item for which the physical inventory is performed.
-
ItemNumber: string
Read Only:
true
Maximum Length:255
Identifies the product or material that is unique to the item. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Locator: string
Read Only:
true
Maximum Length:255
Physical area within a subinventory where material is stored, such as a row, aisle, bin, or shelf. -
LocatorId: integer
(int64)
Title:
Locator
Value that uniquely identifies the locator. -
LotExpirationDate: string
(date-time)
Title:
Lot Expiration Date
Date when the availability of the lot for transaction and planning purposes expires. -
LotNumber: string
Title:
Lot
Maximum Length:80
Identifies a set of items that are being counted, which are produced together and share the same production costs and specifications. -
OrganizationCode: string
Read Only:
true
Maximum Length:255
Abbreviation that identifies the inventory organization. -
OrganizationId: integer
(int64)
Value that uniquely identifies the inventory organization.
-
OwningEntityId: integer
(int64)
Value that uniquely identifies the owning party with the financial liability of consigned inventory.
-
OwningParty: string
Read Only:
true
Maximum Length:255
Party with financial liability of the consigned inventory. -
OwningPartySite: string
Read Only:
true
Maximum Length:255
Party site with the financial liability of the consigned inventory. -
OwningType: string
Maximum Length:
30
Ownership type of the financial liability of consigned inventory. -
OwningTypeCode: string
Read Only:
true
Maximum Length:255
Abbreviation that identifies the ownership type of the financial liability of consigned inventory. A list of accepted values is defined in the lookup type ORA_INV_OWNING_TYPES. -
PhysicalInventoryId: integer
(int64)
Value that uniquely identifies the physical inventory.
-
PhysicalInventoryName: string
Title:
Physical Inventory
Read Only:true
Maximum Length:30
Name of the physical inventory. -
ProcurementBusinessUnit: string
Read Only:
true
Maximum Length:255
Business unit that manages and owns the purchasing document. -
Revision: string
Maximum Length:
18
Version of the item being counted. -
SecondaryAdjustmentQuantity: number
Title:
Secondary Adjustment Quantity
Variance in quantity between the system secondary on-hand quantity and the entered secondary count quantity of an item during physical counting. -
SecondaryCountQuantity: number
Title:
Secondary Count Quantity
Count quantity in secondary unit of measure of the item. -
SecondarySystemQuantity: number
Title:
Secondary Snapshot Quantity
System on-hand balance represented in the secondary unit of measure of the item. -
SecondaryUnitOfMeasure: string
Read Only:
true
Maximum Length:255
Secondary unit of measure of the item being counted. -
SecondaryUOM: string
Read Only:
true
Maximum Length:255
Abbreviation that identifies the secondary unit of measure of the item being counted. -
SerialNumber: string
Title:
Serial Number
Maximum Length:80
Number that uniquely identifies a single quantity of an item being counted. -
SnapshotQuantity: number
Title:
Snapshot Quantity
Quantity of the item stock that is recorded at a particular time. -
Subinventory: string
Maximum Length:
10
Physical or logical area within an inventory organization where material is stored.
Nested Schema : Flexfields for Tracking Attributes
Type:
array
Title:
Flexfields for Tracking Attributes
The Flexfields for Tracking Attributes resource manages details of the descriptive flexfields that reference the physical inventory adjustment.
Show Source
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : physicalInventoryAdjustments-inventoryAttributesDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:40
Descriptive flexfield context name for tracking attributes. -
__FLEX_Context_DisplayValue: string
Title:
Context Segment
Descriptive flexfield context display value for tracking attributes. -
AdjustmentId: integer
(int64)
Title:
Adjustment
Value that uniquely identifies the physical inventory adjustment. -
countryOfOriginCode: string
Title:
Country of Origin
Maximum Length:2
Abbreviation that identifies the country of origin. -
countryOfOriginCode_Display: string
Title:
Country of Origin
Name of the country of origin. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
projectId: integer
(int64)
Title:
Project
Value that uniquely identifies the project. This attribute is associated with a feature that requires opt in. -
projectId_Display: string
Title:
Project
Number that identifies the project. This attribute is associated with a feature that requires opt in. -
taskId: integer
(int64)
Title:
Task
Value that uniquely identifies the task. This attribute is associated with a feature that requires opt in. -
taskId_Display: string
Title:
Task
Number that identifies the task.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Links
- inventoryAttributesDFF
-
Parameters:
- AdjustmentId:
$request.path.AdjustmentId
The Flexfields for Tracking Attributes resource manages details of the descriptive flexfields that reference the physical inventory adjustment. - AdjustmentId:
Examples
This example describes how to update one physical inventory adjustment.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/physicalInventoryAdjustments/AdjustmentId"
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.
{ "ApprovalStatus" : 2, "ApprovalStatusCode" : "Approved", "ApprovedByEmployeeId" : 57, "ApproverName" : "Smith, Jonathan123" }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "AdjustmentId" : 18, "OrganizationId" : 207, "OrganizationCode" : "M1", "PhysicalInventoryId" : 2, "PhysicalInventoryName" : "PHYSICAL", "Revision" : null, "Subinventory" : "FGI", "LocatorId" : null, "Locator" : null, "InventoryItemId" : 199, "ItemNumber" : "CM31556", "LotNumber" : null, "LotExpirationDate" : null, "SerialNumber" : null, "SnapshotQuantity" : 0, "CountQuantity" : 0, "AdjustmentQuantity" : 0, "AdjustmentQuantityPercentage" : 0, "AdjustmentUOM" : null, "AdjustmentUnitOfMeasure" : null, "ActualCost" : 525, "ApprovalStatus" : "1", "ApprovalStatusCode" : "Approved", "ApprovedByEmployeeId" : 57, "ApproverName" : "Smith, Jonathan", "OwningType" : null, "OwningTypeCode" : null, "SecondaryAdjustmentQuantity" : null, "SecondaryCountQuantity" : null, "SecondarySystemQuantity" : null, "AdjustmentValue" : 0, "AdjustmentValuePercentage" : 0, "SecondaryUOM" : null, "SecondaryUnitOfMeasure" : null, "OwningEntityId" : null, "OwningParty" : null, "OwningPartySite" : null, "ProcurementBusinessUnit" : null, "links" : [ { "rel" : "self", "href" : "https://servername/fscmRestApi/resources/version/physicalInventoryAdjustments/18", "name" : "physicalInventoryAdjustments", "kind" : "item", "properties" : { "changeIndicator" : "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel" : "canonical", "href" : "https://servername/fscmRestApi/resources/version/physicalInventoryAdjustments/18", "name" : "physicalInventoryAdjustments", "kind" : "item" }, { "rel" : "lov", "href" : "https://servername/fscmRestApi/resources/version/physicalInventoryAdjustments/18/lov/AdjustmentStatusVA", "name" : "AdjustmentStatusVA", "kind" : "collection" } ] }