indexes, Oracle Fusion

Subinventory Table INV_SECONDARY_INVENTORIES

INV_SECONDARY_INVENTORIES is the base table to hold the subinventory data. In this blog, we will discuss the Table structure, Indexes & Constraints of table INV_SECONDARY_INVENTORIES. In my experience, Oracle most often uses subinventory name, and not the id. Here are a few related posts that can help you:
Subinventory Query in Oracle Fusion

Fusion Inventory Table – inv_org_parameters

Fusion LoV Queries: Legal Entity, Business Unit, Inventory, Sub Inventory

By the way, Here ( India) or Here ( Other Geographies) are few UNCONVENTIONAL tricks which I have learnt to improve the performance of BI reports or SQL queries. Try them only when nothing else works.. kind of SOS...
https://www.amazon.in/gp/product/B093CC1CLD?ie=UTF8&tag=oraclebytes-21&camp=3638&linkCode=xm2&creativeASIN=B093CC1CLD


Subinventory Table Structure

COLUMN
NAME
DATA
TYPE
DATA LENGTHNULLABLE
 SECONDARY_INVENTORY_NAMEVARCHAR240
 STANDARD_PACK_TYPEVARCHAR212
 STRUCTURE_INSTANCE_NUMBERNUMBER22
 ORGANIZATION_IDNUMBER22
 OBJECT_VERSION_NUMBERNUMBER22
 LAST_UPDATE_DATETIMESTAMP(6)11
 LAST_UPDATED_BYVARCHAR2256
 CREATION_DATETIMESTAMP(6)11
 CREATED_BYVARCHAR2256
 LAST_UPDATE_LOGINVARCHAR2128
 DESCRIPTIONVARCHAR2200
 DISABLE_DATEDATE7
 INVENTORY_ATP_CODENUMBER22
 AVAILABILITY_TYPENUMBER22
 RESERVABLE_TYPENUMBER22
 LOCATOR_TYPEVARCHAR2120
 PICKING_ORDERNUMBER22
 QUANTITY_TRACKEDNUMBER22
 SUBINVENTORY_IDNUMBER22
 ASSET_INVENTORYNUMBER22
 SOURCE_TYPEVARCHAR2120
 SOURCE_SUBINVENTORYVARCHAR240
 SOURCE_ORGANIZATION_IDNUMBER22
 REQUISITION_APPROVAL_TYPENUMBER22
 FILL_KILL_TO_LOOKUPVARCHAR2120
 ATTRIBUTE_CATEGORYVARCHAR2120
 ATTRIBUTE1 – 15VARCHAR2600
 REQUEST_IDNUMBER22
 PREPROCESSING_LEAD_TIMENUMBER22
 PROCESSING_LEAD_TIMENUMBER22
 POSTPROCESSING_LEAD_TIMENUMBER22
 DEMAND_CLASSVARCHAR2120
 PROJECT_IDNUMBER22
 TASK_IDNUMBER22
 SUBINVENTORY_USAGENUMBER22
 LOCATION_IDNUMBER22
 PICK_UOM_CODEVARCHAR212
 DEPRECIABLE_FLAGNUMBER22
 STATUS_IDNUMBER22
 DEFAULT_LOC_STATUS_IDNUMBER22
 LPN_CONTROLLED_FLAGNUMBER22
 PICK_METHODOLOGYNUMBER22
 CARTONIZATION_FLAGNUMBER22
 DROPPING_ORDERNUMBER22
 SUBINVENTORY_TYPEVARCHAR2120
 PLANNING_LEVELNUMBER22
 DEFAULT_COUNT_TYPE_CODEVARCHAR2120
 ENABLE_BULK_PICKVARCHAR24
 ENABLE_LOCATOR_ALIASVARCHAR24
 ENFORCE_ALIAS_UNIQUENESSVARCHAR24
 JOB_DEFINITION_NAMEVARCHAR2400
 JOB_DEFINITION_PACKAGEVARCHAR23600
 COUNT_METHODVARCHAR2120
 SUBINVENTORY_GROUPVARCHAR2400

Indexes

INDEX NAMEINDEX TYPEUNIQUENESSCOLUMN NAME
 INV_SECONDARY_INVENTORIES_N2NORMALNONUNIQUELAST_UPDATE_DATE
 INV_SECONDARY_INVENTORIES_N3FUNCTION-BASED NORMALNONUNIQUEORGANIZATION_ID
 INV_SECONDARY_INVENTORIES_N3FUNCTION-BASED NORMALNONUNIQUESYS_NC00067$
 INV_SECONDARY_INVENTORIES_N4NORMALNONUNIQUESUBINVENTORY_GROUP
 INV_SECONDARY_INVENTORIES_N4NORMALNONUNIQUEORGANIZATION_ID
 INV_SECONDARY_INVS_N1NORMALNONUNIQUESUBINVENTORY_TYPE
 INV_SECONDARY_INVS_N1NORMALNONUNIQUEORGANIZATION_ID
 INV_SECONDARY_INVS_U1NORMALUNIQUESECONDARY_INVENTORY_NAME
 INV_SECONDARY_INVS_U1NORMALUNIQUEORGANIZATION_ID

Constraints

CONSTRAINT_NAMECONSTRAINT TYPESEARCH_CONDITION_VC
 SYS_C0045704C“LAST_UPDATE_DATE” IS NOT NULL 
 SYS_C0045701C“SECONDARY_INVENTORY_NAME” IS NOT NULL 
 SYS_C0045703C“OBJECT_VERSION_NUMBER” IS NOT NULL 
 SYS_C0045713C“ASSET_INVENTORY” IS NOT NULL 
 SYS_C0045711C“QUANTITY_TRACKED” IS NOT NULL 
 SYS_C0045709C“AVAILABILITY_TYPE” IS NOT NULL 
 INV_SECONDARY_INVS_PKP 
 SYS_C0045712C“SUBINVENTORY_ID” IS NOT NULL 
 SYS_C0045705C“LAST_UPDATED_BY” IS NOT NULL 
 SYS_C0045707C“CREATED_BY” IS NOT NULL 
 SYS_C0045702C“ORGANIZATION_ID” IS NOT NULL 
 SYS_C0045706C“CREATION_DATE” IS NOT NULL 
 SYS_C0045710C“RESERVABLE_TYPE” IS NOT NULL 
 SYS_C0045708C“INVENTORY_ATP_CODE” IS NOT NULL 

Feedback:
Hope the article helped you. If it did, please rate the post. In case it didn’t, do leave a comment to let us know what did we miss.

Reference:
support.oracle.com



How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?