Editing OE.ORDER ITEMS (table)

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 2: Line 2:
  
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
|- valign="top"
+
|-
 
| '''Table
 
| '''Table
 
| OE.ORDER_ITEMS
 
| OE.ORDER_ITEMS
Line 8: Line 8:
 
| '''Description
 
| '''Description
 
| Example of many-to-many resolution.
 
| Example of many-to-many resolution.
 +
|-
 
|}
 
|}
 +
  
 
=== Columns ===
 
=== Columns ===
Line 18: Line 20:
 
| '''Default
 
| '''Default
 
| '''Description
 
| '''Description
 
+
|- valign="top"
+
|-
 
| ORDER_ID
 
| ORDER_ID
 
| NUMBER(12, 0)
 
| NUMBER(12, 0)
Line 25: Line 27:
 
|  
 
|  
 
| Part of concatenated primary key, references orders.order_id.
 
| Part of concatenated primary key, references orders.order_id.
|- valign="top"
+
|-
 
| LINE_ITEM_ID
 
| LINE_ITEM_ID
 
| NUMBER(3, 0)
 
| NUMBER(3, 0)
Line 31: Line 33:
 
|  
 
|  
 
| Part of concatenated primary key.
 
| Part of concatenated primary key.
|- valign="top"
+
|-
 
| PRODUCT_ID
 
| PRODUCT_ID
 
| NUMBER(6, 0)
 
| NUMBER(6, 0)
Line 37: Line 39:
 
|  
 
|  
 
| References product_information.product_id.
 
| References product_information.product_id.
|- valign="top"
+
|-
 
| UNIT_PRICE
 
| UNIT_PRICE
 
| NUMBER(8, 2)
 
| NUMBER(8, 2)
Line 43: Line 45:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| QUANTITY
 
| QUANTITY
 
| NUMBER(8, 0)
 
| NUMBER(8, 0)
Line 56: Line 58:
 
| '''Primary Key
 
| '''Primary Key
 
| '''Columns
 
| '''Columns
|- valign="top"
+
|-
 
| ORDER_ITEMS_PK
 
| ORDER_ITEMS_PK
 
| ORDER_ID, LINE_ITEM_ID
 
| ORDER_ID, LINE_ITEM_ID
Line 67: Line 69:
 
| '''Type
 
| '''Type
 
| '''Columns
 
| '''Columns
 
+
|- valign="top"
+
|-
 
| ITEM_ORDER_IX
 
| ITEM_ORDER_IX
 
|  
 
|  
 
| ORDER_ID
 
| ORDER_ID
|- valign="top"
+
|-
 
| ITEM_PRODUCT_IX
 
| ITEM_PRODUCT_IX
 
|  
 
|  
 
| PRODUCT_ID
 
| PRODUCT_ID
|- valign="top"
+
|-
 
| ORDER_ITEMS_UK
 
| ORDER_ITEMS_UK
 
|  
 
|  
Line 88: Line 90:
 
| '''Expression
 
| '''Expression
 
| '''Description
 
| '''Description
 
+
|- valign="top"
+
|-
 
| SYS_C005039
 
| SYS_C005039
 
| "LINE_ITEM_ID" IS NOT NULL
 
| "LINE_ITEM_ID" IS NOT NULL
 
|  
 
|  
|- valign="top"
+
|-
 
| SYS_C005040
 
| SYS_C005040
 
| "PRODUCT_ID" IS NOT NULL
 
| "PRODUCT_ID" IS NOT NULL
Line 105: Line 107:
 
| '''Column
 
| '''Column
 
| '''Referenced Column
 
| '''Referenced Column
 
+
|- valign="top"
+
|-
 
| [[OE.ORDERS_(table)|OE.ORDERS]]
 
| [[OE.ORDERS_(table)|OE.ORDERS]]
 
| ORDER_ID
 
| ORDER_ID
 
| ORDER_ID
 
| ORDER_ID
|- valign="top"
+
|-
 
| [[OE.PRODUCT_INFORMATION_(table)|OE.PRODUCT_INFORMATION]]
 
| [[OE.PRODUCT_INFORMATION_(table)|OE.PRODUCT_INFORMATION]]
 
| PRODUCT_ID
 
| PRODUCT_ID
 
| PRODUCT_ID
 
| PRODUCT_ID
 +
|}
 +
 +
=== Dependencies ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Reference Type
 +
| '''Object Type
 +
| '''Referencing Object
 +
 +
|-
 +
| Select
 +
| View
 +
| [[OE.OC_CORPORATE_CUSTOMERS_(view)|OE.OC_CORPORATE_CUSTOMERS]]
 +
 +
|-
 +
| Select
 +
| View
 +
| [[OE.OC_CUSTOMERS_(view)|OE.OC_CUSTOMERS]]
 +
 +
|-
 +
| Select
 +
| View
 +
| [[OE.OC_ORDERS_(view)|OE.OC_ORDERS]]
 +
 +
|-
 +
| Select
 +
| Trigger
 +
| [[OE.INSERT_ORD_LINE|OE.INSERT_ORD_LINE]]
 +
 
|}
 
|}

Please note that all contributions to dbscript Online Help may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Project:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)