Table: po_labor_assignment

Columns
  Column Name Data Type Default
Value
References
Table
Foreign Key
Name
1. PK po_labor_assignment_key decimal(15)      
2.   po_key decimal(15)   purchase_order fk_po_labor_assignment1
3.   po_labor_line_descriptor_key decimal(15)   po_labor_line_descriptor fk_po_labor_assignment2
4.   person_key decimal(15)   person fk_po_labor_assignment3
5.   project_key decimal(15)   project fk_po_labor_assignment4
6.   task_key decimal(15)   task fk_po_labor_assignment5
7.   labor_category_key decimal(15)   labor_category fk_po_labor_assignment6
8.   cost_rate decimal(15,5)      
9.   begin_date datetime      
10.   end_date datetime      
Foreign Keys
Column References Foreign Key Name
Table Column
labor_category_key labor_category labor_category_key fk_po_labor_assignment6
person_key person person_key fk_po_labor_assignment3
po_labor_line_descriptor_key po_labor_line_descriptor po_labor_line_descriptor_key fk_po_labor_assignment2
project_key project project_key fk_po_labor_assignment4
po_key purchase_order po_key fk_po_labor_assignment1
task_key task task_key fk_po_labor_assignment5
Check Constraints
Name Definition
cc_pola_begin_date ([begin_date]>='1900-01-01' AND [begin_date]<='2099-12-31')
cc_pola_end_date ([end_date]>='1900-01-01' AND [end_date]<='2099-12-31')
cc_pola_task ([task_key] IS NULL OR [project_key] IS NOT NULL)
Indices
Index Name Unique Column Name Asc Or Desc
pk_po_labor_assignment true po_labor_assignment_key Asc
idx_po_labor_assignment1 false po_key Asc
idx_po_labor_assignment2 false po_labor_line_descriptor_key Asc
idx_po_labor_assignment3 false person_key Asc
idx_po_labor_assignment4 false project_key Asc
idx_po_labor_assignment5 false task_key Asc
idx_po_labor_assignment6 false labor_category_key Asc