Update one physical inventory adjustment
patch
/fscmRestApi/resources/11.13.18.05/physicalInventoryAdjustments/{AdjustmentId}
Request
Path Parameters
-
AdjustmentId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
Header Parameters
-
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
ApprovalStatus: string
Title:
Adjustment StatusMaximum Length:30Default Value:4Status determining whether a physical inventory is approved or not. -
ApprovalStatusCode: string
Maximum Length:
255Abbreviation 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:
ReviewerValue that uniquely identifies the person approving the physical inventory adjustment. -
ApproverName: string
Maximum Length:
255Name of the person approving the physical inventory adjustment. -
inventoryAttributesDFF: array
inventoryAttributesDFF
Nested Schema : schema
Type:
Show Source
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
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : physicalInventoryAdjustments-item-response
Type:
Show Source
object-
ActualCost: number
Title:
Adjustment ValueCost associated with the item. -
AdjustmentId: integer
(int64)
Title:
AdjustmentValue that uniquely identifies the physical inventory adjustment. -
AdjustmentQuantity: number
Title:
Adjustment QuantityVariance between the system on-hand quantity and the entered count quantity of an item during physical counting. -
AdjustmentQuantityPercentage: integer
(int64)
Read Only:
truePercent adjustment of snapshot quantity. -
AdjustmentUnitOfMeasure: string
Read Only:
trueMaximum Length:255Name of the unit of measure of the item for which an adjustment is made. -
AdjustmentUOM: string
Title:
Adjustment UOMMaximum Length:3Unit of measure of the item for which an adjustment is made. -
AdjustmentValue: number
Read Only:
trueAmount of the financial adjustment that's created due to the difference between the system quantity and the counted quantity. -
AdjustmentValuePercentage: integer
(int64)
Read Only:
truePercent value of the adjustment of system on-hand value. -
ApprovalStatus: string
Title:
Adjustment StatusMaximum Length:30Default Value:4Status determining whether a physical inventory is approved or not. -
ApprovalStatusCode: string
Maximum Length:
255Abbreviation 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:
ReviewerValue that uniquely identifies the person approving the physical inventory adjustment. -
ApproverName: string
Maximum Length:
255Name of the person approving the physical inventory adjustment. -
CountQuantity: number
Title:
Count QuantityQuantity of the item stock that's counted during physical counting. -
CreatedBy: string
Read Only:
trueMaximum Length:64The user who created the record. -
CreationDate: string
(date-time)
Read Only:
trueThe date and time when the record was created. -
inventoryAttributesDFF: array
inventoryAttributesDFF
-
InventoryItemId: integer
(int64)
Value that uniquely identifies the item for which the physical inventory is performed.
-
ItemDescription: string
Read Only:
trueMaximum Length:255Identifies the description of the product or item. -
ItemNumber: string
Read Only:
trueMaximum Length:255Identifies the product or material that's unique to the item. -
LastUpdateDate: string
(date-time)
Read Only:
trueThe date and time when the record was last updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64The user who last updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Locator: string
Read Only:
trueMaximum Length:255Physical area within a subinventory where material is stored, such as a row, aisle, bin, or shelf. -
LocatorId: integer
(int64)
Title:
LocatorValue that uniquely identifies the locator. -
LotExpirationDate: string
(date-time)
Title:
Lot Expiration DateDate when the availability of the lot for transaction and planning purposes expires. -
LotNumber: string
Title:
LotMaximum Length:80Identifies a set of items that are being counted, which are produced together and share the same production costs and specifications. -
LPNId: integer
(int64)
Read Only:
trueValue that uniquely identifies the license plate number. -
LPNNumber: string
Read Only:
trueMaximum Length:255Number that uniquely identifies the license plate number. -
OrganizationCode: string
Read Only:
trueMaximum Length:255Abbreviation 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:
trueMaximum Length:255Party with financial liability of the consigned inventory. -
OwningPartySite: string
Read Only:
trueMaximum Length:255Party site with the financial liability of the consigned inventory. -
OwningType: string
Maximum Length:
30Ownership type of the financial liability of consigned inventory. -
OwningTypeCode: string
Read Only:
trueMaximum Length:255Abbreviation 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 InventoryRead Only:trueMaximum Length:30Name of the physical inventory. -
ProcurementBusinessUnit: string
Read Only:
trueMaximum Length:255Business unit that manages and owns the purchasing document. -
Revision: string
Maximum Length:
18Version of the item being counted. -
SecondaryAdjustmentQuantity: number
Title:
Secondary Adjustment QuantityVariance 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 QuantityCount quantity in secondary unit of measure of the item. -
SecondarySystemQuantity: number
Title:
Secondary Snapshot QuantitySystem on-hand balance represented in the secondary unit of measure of the item. -
SecondaryUnitOfMeasure: string
Read Only:
trueMaximum Length:255Secondary unit of measure of the item being counted. -
SecondaryUOM: string
Read Only:
trueMaximum Length:255Abbreviation that identifies the secondary unit of measure of the item being counted. -
SerialNumber: string
Title:
Serial NumberMaximum Length:80Number that uniquely identifies a single quantity of an item being counted. -
SnapshotQuantity: number
Title:
Snapshot QuantityQuantity of the item stock that's recorded at a particular time. -
Subinventory: string
Maximum Length:
10Physical or logical area within an inventory organization where material is stored. -
SubinventoryName: string
Read Only:
trueMaximum Length:255Value that identifies the subinventory name.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : physicalInventoryAdjustments-inventoryAttributesDFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context SegmentMaximum Length:40Context Segment -
__FLEX_Context_DisplayValue: string
Title:
Context SegmentContext Segment -
AdjustmentId: integer
(int64)
Title:
Adjustment -
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
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
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.
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
- 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"
} ]
}