Create subinventories

post

/fscmRestApi/resources/11.13.18.05/subinventories

Request

Header Parameters
  • 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".
  • 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.
  • Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Title: Asset subinventory
    Default Value: 1
    Determines whether or not to consider the inventory in the subinventory as an asset. Contains one of the following values. 1: asset subinventory. 2: not an asset subinventory. The default value is 1.
  • Title: Replenishment Count Method
    Maximum Length: 30
    Indicates the method to use to replenish. Values include Two-Bin, Request, or Count. A list of accepted values is defined in the lookup type ORA_REPLENISHMENT_COUNT_METHOD. The default value is COUNT.
  • Maximum Length: 255
    Value of the replenishment count method for a subinventory.
  • Maximum Length: 255
    Value of the default replenishment count type for the subinventory.
  • Title: Default Replenishment Count Type
    Maximum Length: 30
    Default Value: 4
    Abbreviation that identifies the replenishment type to use with Periodic Automatic Replenishment in the subinventory. A list of accepted values is defined in the lookup type INV_DEFAULT_REPLEN_COUNT_TYPE. The default value is 4.
  • Maximum Length: 255
    Abbreviation that identifies the default material status to use for the locators for this subinventory.
  • Title: Default Locator Status
    Value that uniquely identifies the default material status for the locators that reference this subinventory. The default value is 1.
  • Title: Depreciable
    Default Value: 2
    Determines whether or not the inventory in this subinventory is depreciable. Contains one of the following values. 1: depreciable subinventory. 2: not a depreciable subinventory. The default value is 2.
  • Title: Description
    Maximum Length: 50
    Description of the subinventory.
  • Title: End Date
    Date when the subinventory is disabled for use in the application.
  • Maximum Length: 30
    FillKill status for this subinventory. A list of accepted values is defined in the lookup type ORA_INV_TO_FILLKILL_OPTIONS. The default value is NEXT_LEVEL.
  • Maximum Length: 255
    Value of the Fill Kill status for a subinventory.
  • Item Subinventories
    Title: Item Subinventories
    The Item Subinventories resource manages operations on item subinventories.
  • Maximum Length: 60
    Abbreviation that identifies the value that identifies the location that references the subinventory.
  • Title: Location
    Value that uniquely identifies the location that references the subinventory.
  • Title: Locator Control
    Maximum Length: 30
    Type of locator control that references the subinventory. A list of accepted values is defined in the lookup type INV_SUB_LOCATOR_CONTROL. The default value is 1.
  • Maximum Length: 255
    Value of the locator control for a subinventory.
  • Locators
    Title: Locators
    The Locators resource manages operations on locators. It allows the user to create, update and delete the subinventories.
  • Title: Locator Structure
    Value that uniquely identifies the locator structure for the subinventory when a locator controls the subinventory.
  • Maximum Length: 255
    Value of the locator structure for the subinventory when the subinventory is a locator control.
  • Maximum Length: 255
    Abbreviation that identifies the material status that references the subinventory.
  • Title: Material Status
    Default Value: 1
    Value that uniquely identifies the material status that references the subinventory. The default value is 1.
  • Maximum Length: 1
    Value that indicates if the subinventory is enabled to sync with Oracle Health.
  • Maximum Length: 255
    Abbreviation that identifies the organization that references the subinventory.
  • Value that uniquely identifies the organization that references the subinventory.
  • Title: PAR location
    Default Value: 2
    Determines whether or not the subinventory is a Periodic Automatic Replenishment location. Contains one of the following values. 1: Yes subinventory. 2: No, not the subinventory. The default value is 2.
  • Title: Picking Order
    Picking order for the subinventory.
  • Title: Postprocessing
    Post processing lead time to use while sourcing the item.
  • Title: Preprocessing
    Preprocessing lead time to use while sourcing the item.
  • Title: Processing
    Processing lead time to use while sourcing the item.
  • Title: Quantity tracked
    Default Value: 1
    Determines whether or not to track the subinventory.
  • Maximum Length: 10
    Name of the subinventory.
  • Maximum Length: 255
    Abbreviation that identifies the source organization. Used while sourcing the material to this subinventory.
  • Title: Organization
    Value that uniquely identifies the source organization. Used while sourcing the material to this subinventory.
  • Title: Sourcing Subinventory
    Maximum Length: 10
    Name of the source subinventory. Used while sourcing the material to this subinventory.
  • Title: Sourcing Type
    Maximum Length: 30
    Sourcing type to use to replenish stock for this subinventory. A list of accepted values is defined in the lookup type INV_SOURCE_TYPES.
  • Maximum Length: 255
    Value of the sourcing type to use to replenish stock for a subinventory.
  • Flexfields
    Title: Flexfields
    The Flexfields resource manages descriptive flexfields that contain details about subinventories.
  • Title: Subinventory Group
    Maximum Length: 100
    Name of the subinventory group.
  • Title: Subinventory Type
    Maximum Length: 30
    Default Value: 1
    Type of subinventory, such as Storage or Receiving. A list of accepted values is defined in the lookup type INV_SUB_TYPE. The default value is 1.
  • Maximum Length: 255
    Value of the subinventory type.
  • Value that indicates whether to use the packing unit for product completion and return transactions in manufacturing and maintenance. This is used only when the subinventory is enabled for manufacturing and maintenance integration with WMS. Valid values are Yes or No.
  • Title: Use packing unit for product completions and returns
    Maximum Length: 1
    Value indicates whether to use the packing unit for product completion and return transactions in manufacturing and maintenance. This is used only when the subinventory is enabled for manufacturing and maintenance integration with WMS. Valid values are 1 or 2.
  • Value that indicates whether the subinventory is used for manufacturing and maintenance integration with WMS. Valid values are Yes or No.
  • Title: Use subinventory for manufacturing and maintenance integration with WMS
    Maximum Length: 1
    Value that indicates whether the subinventory is used for manufacturing and maintenance integration with WMS. Valid values are 1 or 2.
Nested Schema : Item Subinventories
Type: array
Title: Item Subinventories
The Item Subinventories resource manages operations on item subinventories.
Show Source
Nested Schema : Locators
Type: array
Title: Locators
The Locators resource manages operations on locators. It allows the user to create, update and delete the subinventories.
Show Source
Nested Schema : Flexfields
Type: array
Title: Flexfields
The Flexfields resource manages descriptive flexfields that contain details about subinventories.
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : Flexfields
Type: array
Title: Flexfields
The Flexfields for Item Subinventories resource manages descriptive flexfields that contain details about item subinventories.
Show Source
Nested Schema : subinventories-itemSubinventories-itemSubinventoriesDFF-item-post-request
Type: object
Show Source
Nested Schema : subinventories-locators-item-post-request
Type: object
Show Source
Nested Schema : Item Locators
Type: array
Title: Item Locators
The Item Locators resource manages operations on item locators.
Show Source
Nested Schema : Flexfields for Locators
Type: array
Title: Flexfields for Locators
Descriptive flexfields that contain details about locators.
Show Source
Nested Schema : Flexfields for Locator Keys
Type: array
Title: Flexfields for Locator Keys
Flexfields that contain details about locator keys.
Show Source
  • Discriminator: _STRUCTURE_INSTANCE_NUMBER
    Discriminator: { "propertyName":"_STRUCTURE_INSTANCE_NUMBER", "mapping":{ "1025":"#/components/schemas/oracle_apps_scm_inventory_flex_stockLocator_view_LocatorFlexFieldPREDEF__5FSTOCK__5FLOCATOR__5FSTRUCT__5FINVO-item-post-request" } }
Nested Schema : subinventories-locators-itemLocators-item-post-request
Type: object
Show Source
  • Title: Count Required
    Maximum Length: 1
    Contains one of the following values. 1: The application requires counting during periodic-automatic replenishment for the item in the locator. 2: The application doesn't require this counting. There isn't a default value for this attribute.
  • Maximum Length: 255
    The type of periodic automatic replenishment. A list of accepted values is defined in the lookup type INV_DEFAULT_REPLEN_COUNT_TYPE. The default value is Order par.
  • Title: Replenishment Count Type
    Maximum Length: 30
    Abbreviation that identifies the type of periodic automatic replenishment. A list of accepted values is defined in the lookup type INV_DEFAULT_REPLEN_COUNT_TYPE. The default value is 4.
  • Value that uniquely identifies the Item.
  • Maximum Length: 255
    Name of the inventory item.
  • Date when the item was last replenished for a locator during par counting.
  • Title: Locator
    Value that uniquely identifies the locator.
  • Maximum Length: 255
    Name of the locator that references the locator item.
  • Maximum Length: 255
    Abbreviation that identifies the organization that references the item locator.
  • Value that uniquely identifies the inventory organization.
  • Title: PAR Level
    Level that the application uses during periodic-automatic replenishment for the item locator.
  • Title: PAR Maximum Quantity
    Maximum quantity to use during periodic-automatic replenishment.
  • Maximum Length: 3
    Code that identifies the unit of measure to use for quantities during periodic-automatic replenishment.
  • Title: PAR Level UOM
    Unit of measure to use for quantities during periodic-automatic replenishment.
  • Title: Count Tolerance Percentage
    Count tolerance percent to use before the application doesn't allow the count. This tolerance prevents data entry mistakes when counting, and prevents ordering too much quantity for the replenishment request.
  • Maximum Length: 10
    Abbreviation that identifies the subinventory.
Nested Schema : schema
Type: object
Show Source
Nested Schema : Discriminator: _STRUCTURE_INSTANCE_NUMBER
Type: object
Discriminator: _STRUCTURE_INSTANCE_NUMBER

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_scm_inventory_flex_stockLocator_view_LocatorFlexFieldPREDEF__5FSTOCK__5FLOCATOR__5FSTRUCT__5FINVO-item-post-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : subinventories-item-response
Type: object
Show Source
  • Title: Asset subinventory
    Default Value: 1
    Determines whether or not to consider the inventory in the subinventory as an asset. Contains one of the following values. 1: asset subinventory. 2: not an asset subinventory. The default value is 1.
  • Title: Replenishment Count Method
    Maximum Length: 30
    Indicates the method to use to replenish. Values include Two-Bin, Request, or Count. A list of accepted values is defined in the lookup type ORA_REPLENISHMENT_COUNT_METHOD. The default value is COUNT.
  • Maximum Length: 255
    Value of the replenishment count method for a subinventory.
  • Read Only: true
    Date when the user created the subinventory record.
  • Maximum Length: 255
    Value of the default replenishment count type for the subinventory.
  • Title: Default Replenishment Count Type
    Maximum Length: 30
    Default Value: 4
    Abbreviation that identifies the replenishment type to use with Periodic Automatic Replenishment in the subinventory. A list of accepted values is defined in the lookup type INV_DEFAULT_REPLEN_COUNT_TYPE. The default value is 4.
  • Maximum Length: 255
    Abbreviation that identifies the default material status to use for the locators for this subinventory.
  • Title: Default Locator Status
    Value that uniquely identifies the default material status for the locators that reference this subinventory. The default value is 1.
  • Title: Depreciable
    Default Value: 2
    Determines whether or not the inventory in this subinventory is depreciable. Contains one of the following values. 1: depreciable subinventory. 2: not a depreciable subinventory. The default value is 2.
  • Title: Description
    Maximum Length: 50
    Description of the subinventory.
  • Title: End Date
    Date when the subinventory is disabled for use in the application.
  • Maximum Length: 30
    FillKill status for this subinventory. A list of accepted values is defined in the lookup type ORA_INV_TO_FILLKILL_OPTIONS. The default value is NEXT_LEVEL.
  • Maximum Length: 255
    Value of the Fill Kill status for a subinventory.
  • Item Subinventories
    Title: Item Subinventories
    The Item Subinventories resource manages operations on item subinventories.
  • Links
  • Maximum Length: 60
    Abbreviation that identifies the value that identifies the location that references the subinventory.
  • Title: Location
    Value that uniquely identifies the location that references the subinventory.
  • Title: Locator Control
    Maximum Length: 30
    Type of locator control that references the subinventory. A list of accepted values is defined in the lookup type INV_SUB_LOCATOR_CONTROL. The default value is 1.
  • Maximum Length: 255
    Value of the locator control for a subinventory.
  • Locators
    Title: Locators
    The Locators resource manages operations on locators. It allows the user to create, update and delete the subinventories.
  • Title: Locator Structure
    Value that uniquely identifies the locator structure for the subinventory when a locator controls the subinventory.
  • Maximum Length: 255
    Value of the locator structure for the subinventory when the subinventory is a locator control.
  • Maximum Length: 255
    Abbreviation that identifies the material status that references the subinventory.
  • Title: Material Status
    Default Value: 1
    Value that uniquely identifies the material status that references the subinventory. The default value is 1.
  • Maximum Length: 1
    Value that indicates if the subinventory is enabled to sync with Oracle Health.
  • Maximum Length: 255
    Abbreviation that identifies the organization that references the subinventory.
  • Value that uniquely identifies the organization that references the subinventory.
  • Title: PAR location
    Default Value: 2
    Determines whether or not the subinventory is a Periodic Automatic Replenishment location. Contains one of the following values. 1: Yes subinventory. 2: No, not the subinventory. The default value is 2.
  • Title: Picking Order
    Picking order for the subinventory.
  • Title: Postprocessing
    Post processing lead time to use while sourcing the item.
  • Title: Preprocessing
    Preprocessing lead time to use while sourcing the item.
  • Title: Processing
    Processing lead time to use while sourcing the item.
  • Title: Quantity tracked
    Default Value: 1
    Determines whether or not to track the subinventory.
  • Maximum Length: 10
    Name of the subinventory.
  • Maximum Length: 255
    Abbreviation that identifies the source organization. Used while sourcing the material to this subinventory.
  • Title: Organization
    Value that uniquely identifies the source organization. Used while sourcing the material to this subinventory.
  • Read Only: true
    Maximum Length: 255
    Name of the source organization. This organization is used while sourcing the material for this subinventory.
  • Title: Sourcing Subinventory
    Maximum Length: 10
    Name of the source subinventory. Used while sourcing the material to this subinventory.
  • Title: Sourcing Type
    Maximum Length: 30
    Sourcing type to use to replenish stock for this subinventory. A list of accepted values is defined in the lookup type INV_SOURCE_TYPES.
  • Maximum Length: 255
    Value of the sourcing type to use to replenish stock for a subinventory.
  • Flexfields
    Title: Flexfields
    The Flexfields resource manages descriptive flexfields that contain details about subinventories.
  • Title: Subinventory Group
    Maximum Length: 100
    Name of the subinventory group.
  • Title: Subinventory Type
    Maximum Length: 30
    Default Value: 1
    Type of subinventory, such as Storage or Receiving. A list of accepted values is defined in the lookup type INV_SUB_TYPE. The default value is 1.
  • Maximum Length: 255
    Value of the subinventory type.
  • Value that indicates whether to use the packing unit for product completion and return transactions in manufacturing and maintenance. This is used only when the subinventory is enabled for manufacturing and maintenance integration with WMS. Valid values are Yes or No.
  • Title: Use packing unit for product completions and returns
    Maximum Length: 1
    Value indicates whether to use the packing unit for product completion and return transactions in manufacturing and maintenance. This is used only when the subinventory is enabled for manufacturing and maintenance integration with WMS. Valid values are 1 or 2.
  • Value that indicates whether the subinventory is used for manufacturing and maintenance integration with WMS. Valid values are Yes or No.
  • Title: Use subinventory for manufacturing and maintenance integration with WMS
    Maximum Length: 1
    Value that indicates whether the subinventory is used for manufacturing and maintenance integration with WMS. Valid values are 1 or 2.
Nested Schema : Item Subinventories
Type: array
Title: Item Subinventories
The Item Subinventories resource manages operations on item subinventories.
Show Source
Nested Schema : Locators
Type: array
Title: Locators
The Locators resource manages operations on locators. It allows the user to create, update and delete the subinventories.
Show Source
Nested Schema : Flexfields
Type: array
Title: Flexfields
The Flexfields resource manages descriptive flexfields that contain details about subinventories.
Show Source
Nested Schema : subinventories-itemSubinventories-item-response
Type: object
Show Source
Nested Schema : Flexfields
Type: array
Title: Flexfields
The Flexfields for Item Subinventories resource manages descriptive flexfields that contain details about item subinventories.
Show Source
Nested Schema : subinventories-itemSubinventories-itemSubinventoriesDFF-item-response
Type: object
Show Source
Nested Schema : subinventories-locators-item-response
Type: object
Show Source
Nested Schema : Item Locators
Type: array
Title: Item Locators
The Item Locators resource manages operations on item locators.
Show Source
Nested Schema : Flexfields for Locators
Type: array
Title: Flexfields for Locators
Descriptive flexfields that contain details about locators.
Show Source
Nested Schema : Flexfields for Locator Keys
Type: array
Title: Flexfields for Locator Keys
Flexfields that contain details about locator keys.
Show Source
Nested Schema : subinventories-locators-itemLocators-item-response
Type: object
Show Source
  • Title: Count Required
    Maximum Length: 1
    Contains one of the following values. 1: The application requires counting during periodic-automatic replenishment for the item in the locator. 2: The application doesn't require this counting. There isn't a default value for this attribute.
  • Read Only: true
    Date when the user created the item locator record.
  • Maximum Length: 255
    The type of periodic automatic replenishment. A list of accepted values is defined in the lookup type INV_DEFAULT_REPLEN_COUNT_TYPE. The default value is Order par.
  • Title: Replenishment Count Type
    Maximum Length: 30
    Abbreviation that identifies the type of periodic automatic replenishment. A list of accepted values is defined in the lookup type INV_DEFAULT_REPLEN_COUNT_TYPE. The default value is 4.
  • Value that uniquely identifies the Item.
  • Title: Item Description
    Read Only: true
    Maximum Length: 240
    Value that identifies the description of the item associated with a locator in a subinventory.
  • Maximum Length: 255
    Name of the inventory item.
  • Title: Primary Image URL
    Read Only: true
    Maximum Length: 4000
    Value that provides a reference to the image of the item for which the count sequence is generated.
  • Date when the item was last replenished for a locator during par counting.
  • Links
  • Title: Description
    Read Only: true
    Maximum Length: 50
    Description of the locator that references the locator item.
  • Title: Locator
    Value that uniquely identifies the locator.
  • Read Only: true
    Value that uniquely identifies the item locator.
  • Maximum Length: 255
    Name of the locator that references the locator item.
  • Maximum Length: 255
    Abbreviation that identifies the organization that references the item locator.
  • Value that uniquely identifies the inventory organization.
  • Title: PAR Level
    Level that the application uses during periodic-automatic replenishment for the item locator.
  • Title: PAR Maximum Quantity
    Maximum quantity to use during periodic-automatic replenishment.
  • Maximum Length: 3
    Code that identifies the unit of measure to use for quantities during periodic-automatic replenishment.
  • Title: PAR Level UOM
    Unit of measure to use for quantities during periodic-automatic replenishment.
  • Title: Count Tolerance Percentage
    Count tolerance percent to use before the application doesn't allow the count. This tolerance prevents data entry mistakes when counting, and prevents ordering too much quantity for the replenishment request.
  • Maximum Length: 10
    Abbreviation that identifies the subinventory.
Nested Schema : subinventories-locators-locatorsDFF-item-response
Type: object
Show Source
Nested Schema : Discriminator: _STRUCTURE_INSTANCE_NUMBER
Type: object
Discriminator: _STRUCTURE_INSTANCE_NUMBER

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_scm_inventory_flex_stockLocator_view_LocatorFlexFieldPREDEF__5FSTOCK__5FLOCATOR__5FSTRUCT__5FINVO-item-response
Type: object
Show Source
Nested Schema : subinventories-subinventoriesDFF-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to create one subinventory.

Example cURL Command

Use the following cURL command to submit a request on the REST resource. This example create one subinventory in organization 207:

curl -X POST -u username:password -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/subinventories?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.

"{   
      "AssetSubinventory": 1,   
      "DefaultCountTypeCode": "2",   
      "Depreciable": 2,   
      "Description": "Desc",   
      "DisableDate": "2017-02-27",   
      "LocatorControl": "2",   
      "PickingOrder": 1,   
      "ParLocation": 1,   
      "PostprocessingLeadTime": 10,   
      "PreprocessingLeadTime": 12,   
      "ProcessingLeadTime": 11,   
      "QuantityTracked": 1,   
      "SecondaryInventoryName": "Test1",   
      "SourceOrganizationId": 207,   
      "SourceSubinventory": "ABCSUB03",   
      "SourcingType": "1",   
      "LocatorStructure": 101,   
      "SubinventoryType": "1",   
      "OrganizationCode": "M1",   
      "SourceOrganizationCode": "M1",   
      "MaterialStatusCode": "Active",   
      "LocationCode": "FldSvc",   
      "DefaultLocStatusCode": "Active"   
} "

Example Response Body

The following example includes the contents of the response body in JSON format:

"{ 
  "AssetSubinventory": 1,
  "DefaultCountTypeCode": "2",
  "DefaultLocStatusId": 1,
  "Depreciable": 2,
  "Description": "Desc",
  "DisableDate": "2017-02-27",
  "LocationId": 2510,
  "LocatorControl": "2",
  "OrganizationId": 207,
  "PickingOrder": 1,
  "ParLocation": 1,
  "PostprocessingLeadTime": 10,
  "PreprocessingLeadTime": 12,
  "ProcessingLeadTime": 11,
  "QuantityTracked": 1,
  "SecondaryInventoryName": "Test2",
  "SourceOrganizationId": 207,
  "SourceSubinventory": "ABCSUB03",
  "SourcingType": "1",
  "MaterialStatusId": 1,
  "LocatorStructure": 101,
  "SubinventoryType": "1",
  "OrganizationCode": "M1",
  "SourceOrganizationCode": "M1",
  "MaterialStatusCode": "Active",
  "LocationCode": "FldSvc",
  "DefaultLocStatusCode": "Active" 
}"
Back to Top