CST_PERPAVG_COST
Current and Historical Perpavg Cost
Details
-
Schema: FUSION
-
Object owner: CST
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
CST_PERPAVG_COST_PK |
TRANSACTION_ID, REC_TRXN_ID, DEP_TRXN_ID, COST_ELEMENT_ID, EFF_DATE |
Columns
Name | Datatype | Length | Precision | Not-null | Comments | Status |
---|---|---|---|---|---|---|
PERPAVG_COST_ID | NUMBER | 18 | Surrogate that identifies a perpetual average cost row. | |||
TRANSACTION_ID | NUMBER | 18 | Yes | Single column FK: Identifies the costing transaction. | Active | |
REC_TRXN_ID | NUMBER | 18 | Yes | Receipt Transaction Identifyer | Active | |
DEP_TRXN_ID | NUMBER | 18 | Yes | Deplete Transaction Identifyer | Active | |
COST_ELEMENT_ID | NUMBER | 18 | Yes | Cost element corresponding to the cost of the transaction. | Active | |
EFF_DATE | TIMESTAMP | Yes | Cost in Effect Date | Active | ||
COST_DATE | TIMESTAMP | Yes | Transaciton Cost Date | Active | ||
COST_END_DATE | TIMESTAMP | The end date for the cost. | ||||
COST_ORG_ID | NUMBER | 18 | Yes | Single column FK: Identifies the Cost Organization associated with the inventory organization. | Active | |
COST_BOOK_ID | NUMBER | 18 | Yes | Single column FK: Identifies the Cost Book assigned to the Cost Organization. | Active | |
INVENTORY_ITEM_ID | NUMBER | 18 | Yes | Inventory Item Identifier | Active | |
VAL_UNIT_ID | NUMBER | 18 | Yes | Valuation unit identifier | Active | |
QUANTITY_ONHAND | NUMBER | Current Quantity Onhand | Active | |||
UNIT_COST_ONHAND | NUMBER | Current Perpavg Cost | Active | |||
QUANTITY_NEW | NUMBER | Current Transaction Quantity | Active | |||
UNIT_COST_NEW | NUMBER | Current Transaction Cost | Active | |||
QUANTITY_ADJUST | NUMBER | Current Adjustment Quantity | Active | |||
UNIT_COST_ADJUST | NUMBER | Current Adjustment Cost | Active | |||
UNIT_COST_AVERAGE | NUMBER | Resulting Perpetual Average Cost | Active | |||
CURRENCY_CODE | VARCHAR2 | 30 | Yes | Identifies the currency of the transaction / cost. | Active | |
UOM_CODE | VARCHAR2 | 30 | Yes | Unit of Measure | Active | |
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | ||
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | |||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | ||
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | |||
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | |||
REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | |||
JOB_DEFINITION_NAME | VARCHAR2 | 100 | Enterprise Service Scheduler: indicates the name of the job that created or last updated the row. | |||
JOB_DEFINITION_PACKAGE | VARCHAR2 | 900 | Enterprise Service Scheduler: indicates the package name of the job that created or last updated the row. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
CST_PERPAVG_COST | cst_transactions | TRANSACTION_ID |
Indexes
Index | Uniqueness | Tablespace | Columns | Status |
---|---|---|---|---|
CST_PERPAVG_COST_N1 | Non Unique | FUSION_TS_TX_DATA | COST_ORG_ID, COST_BOOK_ID, INVENTORY_ITEM_ID, VAL_UNIT_ID, COST_DATE, COST_ELEMENT_ID | Active |
CST_PERPAVG_COST_N2 | Non Unique | FUSION_TS_TX_DATA | REC_TRXN_ID | Active |
CST_PERPAVG_COST_N3 | Non Unique | FUSION_TS_TX_DATA | COST_ORG_ID, COST_BOOK_ID, INVENTORY_ITEM_ID, VAL_UNIT_ID, COST_END_DATE, COST_DATE | Active |
CST_PERPAVG_COST_N4 | Non Unique | Default | COST_ORG_ID, COST_BOOK_ID, NVL("COST_END_DATE", TO_DATE('12/31/2099', 'MM/DD/YYYY')) | |
CST_PERPAVG_COST_N5 | Non Unique | Default | COST_END_DATE | |
CST_PERPAVG_COST_U1 | Unique | Default | PERPAVG_COST_ID | |
CST_PERPAVG_COST_U3 | Unique | Default | TRANSACTION_ID, REC_TRXN_ID, DEP_TRXN_ID, COST_ELEMENT_ID, EFF_DATE | |
CST_PERPAVG_COST_U4 | Unique | Default | TRANSACTION_ID, REC_TRXN_ID, DEP_TRXN_ID, COST_ELEMENT_ID, COST_DATE |