Z_EXPORT01 
Default Table Name  Z_EXPORT01 
Definition 
 Name: Payroll and labor distribution worktables..     Description: These tables are as temporary tables for timesheet export with their names ending in a two digit number, 01 thru 10. Table 01 is show.
 

Z_EXPORT01 Columns 
ColumnName  Domain  Datatype  NULL  Definition 
BATCH_ID(PK)    VARCHAR2(10)  NO 
Name: Batch ID. Description: The ID of the batch of which this record is a member. The Batch ID defaults from user screen entry during the export process.
 
TIMESHEET_DT(PK)    DATE  NO 
Name: Timesheet Date. Description: The column date for this cell. The batch ID defaults from user screen entry during the export process.
 
EMPL_ID(PK)    VARCHAR2(20)  NO 
Name: Employee ID. Description: Employee ID identifier from the TS table.
 
TS_SCHEDULE_CD(PK)    VARCHAR2(10)  NO 
Name: Timesheet Schedule. Description: Employee ID identifier from the TS table.
 
YEAR_NO_CD(PK)    VARCHAR2(4)  NO 
Name: Year. Description: Employee ID identifier from the TS table.
 
PERIOD_NO_CD(PK)    VARCHAR2(3)  NO 
Name: Period Number. Description: Employee ID identifier from the TS table.
 
LINE_NO(PK)    NUMBER(10, 0)  NO 
Name: Line Number. Description: Employee ID identifier from the TS_LINE table. 
 
HRS_DT(PK)    DATE  NO 
Name: Hours Date. Description: Employee ID identifier from the TS table.
 
REVISION_NO    NUMBER(5, 0)  NO 
Name: Revision Number. Description: The current revision of the timesheet from the TS table. 
 
CLASS_CD    VARCHAR2(20)  NO 
Name: Timesheet Class. Description: The employee class for the employee at the time of this timesheet. From the TS table.
 
WORK_SCHEDULE_CD    VARCHAR2(10)  NO 
Name: Work Schedule. Description: The work schedule for the employee at the time of this timesheet. From the TS table.
 
LINE_DESC    VARCHAR2(120)  NO 
Name: Line Description. Description: Description of the charge on the line from the TS_LINE table. 
 
CHARGE_TREE_CD    VARCHAR2(50)  YES 
Name: Charge Tree. Description: If charge was selected from a charge tree, this column contains the charge tree code from the TS_LINE table
 
CHARGE_BRANCH_CD    VARCHAR2(50)  YES 
Name: Charge Branch. Description: If charge was selected from a charge tree, this column contains the charge branch code from the TS_LINE table.
 
CHARGE_CD    VARCHAR2(100)  YES 
Name: Charge. Description: If charge was selected from a charge tree, this column contains the charge code for the tree/branch from the TS_LINE table.
 
UDT01_ID    VARCHAR2(50)  NO 
Name: UDT01 ID. Description: The UDT01 identifier for the line from the TS_LINE table.
 
UDT02_ID    VARCHAR2(50)  YES 
Name: UDT02 ID. Description: The UDT02 identifier for the line from the TS_LINE table.
 
UDT03_ID    VARCHAR2(20)  YES 
Name: UDT03 ID. Description: The UDT03 identifier for the line from the TS_LINE table.
 
UDT04_ID    VARCHAR2(20)  YES 
Name: UDT04 ID. Description: The UDT04 identifier for the line from the TS_LINE table.
 
UDT05_ID    VARCHAR2(20)  YES 
Name: UDT05 ID. Description: The UDT05 identifier for the line from the TS_LINE table.
 
UDT06_ID    VARCHAR2(20)  YES 
Name: UDT06 ID. Description: The UDT06 identifier for the line from the TS_LINE table.
 
UDT07_ID    VARCHAR2(20)  YES 
Name: UDT07 ID. Description: The UDT07 identifier for the line from the TS_LINE table.
 
UDT08_ID    VARCHAR2(20)  YES 
Name: UDT08 ID. Description: The UDT08 identifier for the line from the TS_LINE table.
 
UDT09_ID    VARCHAR2(20)  YES 
Name: UDT09 ID. Description: The UDT09 identifier for the line from the TS_LINE table.
 
UDT10_ID    VARCHAR2(20)  NO 
Name: UDT10 ID. Description: The UDT10 identifier for the line from the TS_LINE table.
 
ETC_HRS    NUMBER(8, 2)  NO 
Name: ETC Hours. Description: The estimate-to-complete hours for this employee from the TS_LINE table.
 
BILLABLE_FL    VARCHAR2(1)  NO 
Name: Billable Flag. Description: Logical as to whether the hours are billable. From the TS_LINE table.
 
EXPORTED_HRS    NUMBER(8, 2)  NO 
Name: Exported Hours. Description: The exported labor hours for this cell from the TS_CELL table.
 
ENTERED_HRS    NUMBER(8, 2)  NO 
Name: Entered Hours. Description: The entered labor hours for this cell from the TS_CELL table.
 
ENTERED_DTT    DATE  NO 
Name: Date/Time Entered. Description: The date and time the hours were entered from the TS_CELL table.
 
CORRECT_FL    VARCHAR2(1)  NO 
Name: Correct Flag. Description: From the TS_CELL table.
 
OT_FL    VARCHAR2(1)  NO 
Name: Overtime Flag. Description: Logical as to whether this UDT10 ID is for overtime. From the UDT10 table.
 
COST_FL    VARCHAR2(1)  NO 
Name: Cost Only Flag. Description: Logical as to whether this UDT10 ID is for "cost only" hours. From the UDT10 table.
 
MISC_LABOR_CD    VARCHAR2(30)  YES 
Name: Miscellaneous Labor Code. Description: Miscellaneous field contains codes used to feed the labor distribution file during export from the UDT10 table.
 
PAYROLL_ID    VARCHAR2(20)  YES 
Name: Payroll ID. Description: The payroll ID for the employee from the EMPL table.
 
PAYROLL_EMPL_ID    VARCHAR2(20)  YES 
Name: Payroll Employee ID. Description: The employees Employee ID for payroll from the EMPL table.
 
MISC_PAYROLL_CD    VARCHAR2(30)  YES 
Name: Miscellaneous Payroll Code. Description: Miscellaneous field contains codes used to feed the payroll file during export from the UDT10 table.
 
PAYROLL_EARNINGS_CD    VARCHAR2(30)  YES 
Name: Payroll Earnings Code. Description: Earnings code for this UDT10 ID from the UDT10 table.
 
S_PAYROLL_MAP_CD    VARCHAR2(10)  YES 
Name: Earnings Mapping Option. Description: How the Earnings code will be mapped during export. The valid options are as follows: N - None. R - Regular. O - Overtime. 3 - Earnings 3. 4 - Earnings 4. 5 - Earnings 5. H3 - Hours 3. H4 - Hours 4. From the UDT10 table.
 
LAST_NAME    VARCHAR2(30)  NO 
Name: Employee Last Name. Description: From the EMPL table.
 
FIRST_NAME    VARCHAR2(30)  NO 
Name: Employee First Name. Description: From the EMPL table.
 
INITIAL_NAME    VARCHAR2(1)  YES 
Name: Employee Middle Initial. Description: From the EMPL table.
 
PAYROLL_EXPORT_FL    VARCHAR2(1)  NO 
Name: Payroll Export Flag. Description: From the CLASS table.
 
LABOR_EXPORT_FL    VARCHAR2(1)  NO 
Name: Labor Export Flag. Description: From the CLASS table.
 
SHORT_HEADER_TEXT    VARCHAR2(254)  YES 
Name: Timesheet Notes. Description: Notes about the entire timesheet from the TS table.
 
SHORT_LINE_TEXT    VARCHAR2(254)  YES 
Name: Line Comment. Description: User-provided notes about the line from the TS_LINE table.
 
SHORT_CELL_TEXT    VARCHAR2(254)  YES 
Name: Cell Comment. Description: User-provided notes about the CELL from the TS_CELL table.
 
EMPL_CP_COMPANY_CD    VARCHAR2(10)  NO 
Name: Employee Costpoint Company. Description: Costpoint Company Code for Employee.
 
UDT06_CP_COMPANY_CD    VARCHAR2(10)  YES 
Name: UDT06 Costpoint Company. Description: Costpoint Company Code for UDT06 field.
 
UDT07_CP_COMPANY_CD    VARCHAR2(10)  YES 
Name: UDT07 Costpoint Company. Description: Costpoint Company Code for UDT07 field.
 
REVERSAL_FL    VARCHAR2(1)  NO 
Name: Reversal Flag. Description: Logical as to whether entry is a reversing entry.
 
S_CP_TS_TYPE_CD    VARCHAR2(1)  NO 
Name: Costpoint Timesheet Type. Description: The Costpoint Timesheet Type. The valid values are: R – Regular. C – Correcting. N – Reversal. D - Replacement
 
RATE1_AMT    NUMBER(15, 5)  NO 
Name: User Defined Rate 1 Amount. Description: The prorated amount for rate1 minus the exported amount for rate 1.
 
RATE2_AMT    NUMBER(15, 5)  NO 
Name: User Defined Rate 2 Amount. Description: The prorated amount for rate2 minus the exported amount for rate 2.
 
PRORATED_HRS    NUMBER(8, 2)  NO 
Name: Prorated Hours. Description: The number of hours after proration.
 
CODE1_CD    VARCHAR2(20)  YES 
Name: Employee User Defined Code 1. Description: The first user-defined code for the employee.
 
CODE2_CD    VARCHAR2(20)  YES 
Name: Employee User Defined Code 2. Description: The second user-defined code for the employee.
 
CODE3_CD    VARCHAR2(20)  YES 
Name: Employee User Defined Code 3. Description: The third user-defined code for the employee.
 
UDT11_ID    VARCHAR2(20)  YES 
Name: UDT11 ID. Description: The UDT11 identifier for the line from the TS_LINE table.
 
UDT12_ID    VARCHAR2(20)  YES 
Name: UDT12 ID. Description: The UDT12 identifier for the line from the TS_LINE table.
 
UDT13_ID    VARCHAR2(20)  YES 
Name: UDT13 ID. Description: The UDT13 identifier for the line from the TS_LINE table.
 
UDT14_ID    VARCHAR2(20)  YES 
Name: UDT14 ID. Description: The UDT14 identifier for the line from the TS_LINE table.
 
UDT15_ID    VARCHAR2(20)  YES 
Name: UDT15 ID. Description: The UDT15 identifier for the line from the TS_LINE table.
 
RATE1_RATE    NUMBER(15, 5)  NO 
 
CP_TS_COMPLETE_FL    VARCHAR2(1)  NO 
Name: Costpoint TS Complete Flag. Description: Logical as to whether this timesheet had an approved status when exported.
 
CP_TS_INPROCESS_FL    VARCHAR2(1)  NO 
Name: Costpoint TS In-process Flag. Description: Logical as to whether this timesheet hour record was an in process export.
 

Z_EXPORT01 Primary and Unique Keys 
Key Name  Key Type  Keys 
PI_0094  PrimaryKey  BATCH_ID, EMPL_ID, TS_SCHEDULE_CD, YEAR_NO_CD, PERIOD_NO_CD, LINE_NO, HRS_DT, TIMESHEET_DT 

Z_EXPORT01 Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Deferrable 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Deferrable