amirkiarafiei commited on
Commit
e493d29
·
1 Parent(s): 566ad88

update table_summary.txt

Browse files
Files changed (1) hide show
  1. table_summary.txt +4 -5
table_summary.txt CHANGED
@@ -284,7 +284,7 @@
284
  - `billing_account_id` (text): Identifier for the billing account.
285
  - `sales_channel` (text): The sales channel through which the order was placed.
286
  - `order_date` (timestamp without time zone): The date the order was placed.
287
- - `order_status` (text): The status of the order (e.g., 'Pending', 'Shipped', 'Delivered').
288
  - `order_item_status` (text): The status of the order item.
289
  - `order_description` (text): Description of the order.
290
  - `order_revision` (bigint): The revision number of the order.
@@ -303,13 +303,13 @@
303
 
304
  - `customer_id` (FK) references `dim_customer`: Links the order item to a specific customer.
305
  - `agreement_id` (FK) references `dim_agreement`: Links the order item to a specific agreement.
306
- - `product_order_id`: Likely references a table containing product order information (e.g., `dim_product_order`).
307
 
308
  ### Cardinality of Relationships:
309
 
310
  - Relationship with `dim_customer` is one-to-many. One customer can have multiple order items.
311
  - Relationship with `dim_agreement` is one-to-many. One agreement can have multiple order items.
312
- - Relationship with the product order table is one-to-many. One product order can have multiple order items.
313
 
314
  ### Common Use Cases/Example Queries:
315
 
@@ -338,5 +338,4 @@
338
  ### Important Notes/Considerations for Querying:
339
 
340
  - This table is central to understanding product order details.
341
- - Join with `dim_customer` and `dim_agreement` for customer and agreement details.
342
- - The table containing product order information (e.g. `dim_product_order`) will be crucial to join.
 
284
  - `billing_account_id` (text): Identifier for the billing account.
285
  - `sales_channel` (text): The sales channel through which the order was placed.
286
  - `order_date` (timestamp without time zone): The date the order was placed.
287
+ - `order_status` (type): The status of the order (list status type: ACKNOWLEDGED,ASSESSING,CANCELLATION,CANCELLED,COMPLETED,INPROGRESS).
288
  - `order_item_status` (text): The status of the order item.
289
  - `order_description` (text): Description of the order.
290
  - `order_revision` (bigint): The revision number of the order.
 
303
 
304
  - `customer_id` (FK) references `dim_customer`: Links the order item to a specific customer.
305
  - `agreement_id` (FK) references `dim_agreement`: Links the order item to a specific agreement.
306
+ - `product_order_id`(FK) references `dim_product`: links the order item to a specific product order.
307
 
308
  ### Cardinality of Relationships:
309
 
310
  - Relationship with `dim_customer` is one-to-many. One customer can have multiple order items.
311
  - Relationship with `dim_agreement` is one-to-many. One agreement can have multiple order items.
312
+ - Relationship with `dim_product_order` is one-to-many. One product order can have multiple order items.
313
 
314
  ### Common Use Cases/Example Queries:
315
 
 
338
  ### Important Notes/Considerations for Querying:
339
 
340
  - This table is central to understanding product order details.
341
+ - Join with `dim_customer` and `dim_agreement` for customer and agreement details.