INV_LOT_UPDATE_DRAFT
The table inv_lot_update_draft represents the updates made to an inventory lot and submitted for approval via Electronic Records and Electronic Signature framework. When a lot is submitted for approval, a new record is inserted into this table with a unique value for electronic record identifier, the lot number being updated, and the values for all the updateable attributes. On approval, the values are copied from this table to inv_lot_numbers and the draft row is deleted. On rejection, no change is propagated to inv_lot_numbers and the draft row is deleted.
Details
-
Schema: FUSION
-
Object owner: INV
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
INV_LOT_UPDATE_DRAFT_PK |
ERECORD_ID, LOT_NUMBER, INVENTORY_ITEM_ID, ORGANIZATION_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| ERECORD_ID | NUMBER | 18 | Yes | This column stores the unique identifier of the electronic record. | |
| LOT_NUMBER | VARCHAR2 | 80 | Yes | This column stores the number used to identify an inventory lot. | |
| INVENTORY_ITEM_ID | NUMBER | 18 | Yes | This column stores the unique identifier of the inventory item. | |
| ORGANIZATION_ID | NUMBER | 18 | Yes | This column stores the unique identifier of the inventory organization. | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| 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_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| ERES_APPROVAL_STATUS | VARCHAR2 | 80 | This column identifies the approval status of the electronic record. | ||
| ORIGINATION_DATE | DATE | This column stores the date on which the lot originated. | |||
| STATUS_ID | NUMBER | 18 | This column stores the unique identifier of the material status of the lot. | ||
| EXPIRATION_DATE | DATE | This column stores the date on which the lot expires. | |||
| EXPIRATION_ACTION_DATE | DATE | This column stores the date on which the expiration action needs to be peformed. | |||
| EXPIRATION_ACTION_CODE | VARCHAR2 | 32 | This column stores the abbreviation of the expiration action for the lot. | ||
| MATURITY_DATE | DATE | This column stores the date on which the item matures. | |||
| GRADE_CODE | VARCHAR2 | 150 | This column stores the abbreviation of the grade for the lot. | ||
| HOLD_DATE | DATE | This column strores the data on which the lot was placed on hold. | |||
| DISABLE_FLAG | VARCHAR2 | 30 | Flag indicates whether the lot number is disabled. | ||
| LOT_ITEM_DISABLE_FLAG | VARCHAR2 | 1 | Flag indicates whether the lot number is disabled to be used for the item number. | ||
| ATTRIBUTE_CATEGORY | VARCHAR2 | 30 | Descriptive Flexfield: structure definition of the user descriptive flexfield. | ||
| ATTRIBUTE1 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE2 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE3 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE4 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE5 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE6 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE7 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE8 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE9 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE10 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE11 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE12 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE13 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE14 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE15 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE16 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE17 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE18 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE19 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE20 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE_NUMBER1 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_NUMBER2 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_NUMBER3 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_NUMBER4 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_NUMBER5 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_NUMBER6 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_NUMBER7 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_NUMBER8 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_NUMBER9 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_NUMBER10 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_DATE1 | DATE | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_DATE2 | DATE | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_DATE3 | DATE | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_DATE4 | DATE | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_DATE5 | DATE | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_TIMESTAMP1 | TIMESTAMP | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_TIMESTAMP2 | TIMESTAMP | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_TIMESTAMP3 | TIMESTAMP | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_TIMESTAMP4 | TIMESTAMP | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| ATTRIBUTE_TIMESTAMP5 | TIMESTAMP | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
| DESCRIPTION | VARCHAR2 | 256 | Lot Attributes Descriptive flexfield segment to store the description for the lot. | ||
| DATE_CODE | VARCHAR2 | 150 | Abbreviation that identifies the date of packaging or assembly. | ||
| CHANGE_DATE | DATE | The date on which the lot was last modified. | |||
| AGE | NUMBER | The age of the lot or sublot in days after creation. | |||
| LOT_ATTRIBUTE_CATEGORY | VARCHAR2 | 30 | This column defines the structure of the lot attributes descriptive flexfield. | ||
| ITEM_SIZE | NUMBER | The size of a given product determined by visual inspection. | |||
| COLOR | VARCHAR2 | 150 | Name of the color determined by visual inspection. | ||
| PLACE_OF_ORIGIN | VARCHAR2 | 150 | Abbreviation for the country of origin for the lot. | ||
| BEST_BY_DATE | DATE | The date on or before which the lot or sublot is best used. | |||
| RECYCLED_CONTENT | NUMBER | The content, usually expressed as a percentage, of the product that is made up of recycled materials. | |||
| CURL_WRINKLE_FOLD | VARCHAR2 | 150 | This attribute is used in the pulp and paper industry to identify potential problems when feeding the paper through machinery. | ||
| C_ATTRIBUTE1 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE2 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE3 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE4 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE5 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE6 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE7 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE8 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE9 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE10 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE11 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE12 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE13 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE14 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE15 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE16 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE17 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE18 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE19 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| C_ATTRIBUTE20 | VARCHAR2 | 150 | Lot Attributes Descriptive flexfield segment. | ||
| D_ATTRIBUTE1 | DATE | Lot Attributes Descriptive flexfield segment. | |||
| D_ATTRIBUTE2 | DATE | Lot Attributes Descriptive flexfield segment. | |||
| D_ATTRIBUTE3 | DATE | Lot Attributes Descriptive flexfield segment. | |||
| D_ATTRIBUTE4 | DATE | Lot Attributes Descriptive flexfield segment. | |||
| D_ATTRIBUTE5 | DATE | Lot Attributes Descriptive flexfield segment. | |||
| D_ATTRIBUTE6 | DATE | Lot Attributes Descriptive flexfield segment. | |||
| D_ATTRIBUTE7 | DATE | Lot Attributes Descriptive flexfield segment. | |||
| D_ATTRIBUTE8 | DATE | Lot Attributes Descriptive flexfield segment. | |||
| D_ATTRIBUTE9 | DATE | Lot Attributes Descriptive flexfield segment. | |||
| D_ATTRIBUTE10 | DATE | Lot Attributes Descriptive flexfield segment. | |||
| N_ATTRIBUTE1 | NUMBER | Lot Attributes Descriptive flexfield segment. | |||
| N_ATTRIBUTE2 | NUMBER | Lot Attributes Descriptive flexfield segment. | |||
| N_ATTRIBUTE3 | NUMBER | Lot Attributes Descriptive flexfield segment. | |||
| N_ATTRIBUTE4 | NUMBER | Lot Attributes Descriptive flexfield segment. | |||
| N_ATTRIBUTE5 | NUMBER | Lot Attributes Descriptive flexfield segment. | |||
| N_ATTRIBUTE6 | NUMBER | Lot Attributes Descriptive flexfield segment. | |||
| N_ATTRIBUTE7 | NUMBER | Lot Attributes Descriptive flexfield segment. | |||
| N_ATTRIBUTE8 | NUMBER | Lot Attributes Descriptive flexfield segment. | |||
| N_ATTRIBUTE9 | NUMBER | Lot Attributes Descriptive flexfield segment. | |||
| N_ATTRIBUTE10 | NUMBER | Lot Attributes Descriptive flexfield segment. | |||
| T_ATTRIBUTE1 | TIMESTAMP | Lot Attributes Descriptive flexfield segment. | |||
| T_ATTRIBUTE2 | TIMESTAMP | Lot Attributes Descriptive flexfield segment. | |||
| T_ATTRIBUTE3 | TIMESTAMP | Lot Attributes Descriptive flexfield segment. | |||
| T_ATTRIBUTE4 | TIMESTAMP | Lot Attributes Descriptive flexfield segment. | |||
| T_ATTRIBUTE5 | TIMESTAMP | Lot Attributes Descriptive flexfield segment. | |||
| TERRITORY_CODE | VARCHAR2 | 30 | This column stores the country of origin for the lot. | ||
| RETEST_DATE | DATE | Value that identifies the retest date of the lot. | |||
| VENDOR_ID | NUMBER | 18 | Value that uniquely identifies the supplier of the lot. | ||
| LOT_LENGTH | NUMBER | The length dimension of the lot or sublot. | |||
| LENGTH_UOM | VARCHAR2 | 3 | Unit of measure for measuring length. | ||
| LOT_VOLUME | NUMBER | This column represents the volume of the lot or sublot. | |||
| VOLUME_UOM | VARCHAR2 | 3 | When defining the volume attribute the ability to identify a volume unit of measure such as cubic inches or cubic centimeters should also be included. | ||
| LOT_THICKNESS | NUMBER | The thickness dimension of the lot. | |||
| THICKNESS_UOM | VARCHAR2 | 3 | UOM to measure thickness dimension of the lot. | ||
| LOT_WIDTH | NUMBER | The width dimension of the lot. | |||
| WIDTH_UOM | VARCHAR2 | 3 | UOM to measure width dimension of the lot. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| INV_LOT_UPDATE_DRAFT | inv_lot_numbers | LOT_NUMBER, INVENTORY_ITEM_ID, ORGANIZATION_ID |
| INV_LOT_UPDATE_DRAFT | inv_grades_b | GRADE_CODE |
| INV_LOT_UPDATE_DRAFT | inv_material_statuses_b | STATUS_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| INV_LOT_UPDATE_DRAFT_U1 | Unique | Default | ERECORD_ID, LOT_NUMBER, INVENTORY_ITEM_ID, ORGANIZATION_ID |