CREATE COLUMN VIEW "SBODEMOUS"."ES_ACTIVITY" WITH PARAMETERS (indexType=6,
joinIndex="SBODEMOUS"."OCLG",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOUS"."OCLT",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOUS"."OCLS",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOUS"."OUSR",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOUS"."OHEM",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOUS"."OCRD",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOUS"."OCPR",joinIndexType=0,joinIndexEstimation=0,
joinCondition=('join0_0',"SBODEMOUS"."OCLG", "CntctType","SBODEMOUS"."OCLT", "Code",'',65809,0),
joinCondition=('join1_0',"SBODEMOUS"."OCLG", "CntctSbjct","SBODEMOUS"."OCLS", "Code",'',65809,1),
joinCondition=('join2_0',"SBODEMOUS"."OCLG", "AssignedBy","SBODEMOUS"."OUSR", "USERID",'',65809,2),
joinCondition=('join3_0',"SBODEMOUS"."OCLG", "AttendEmpl","SBODEMOUS"."OHEM", "empID",'',65809,3),
joinCondition=('join4_0',"SBODEMOUS"."OCLG", "AttendUser","SBODEMOUS"."OUSR.temp1", "USERID",'',65809,4),
joinCondition=('join5_0',"SBODEMOUS"."OCLG", "CardCode","SBODEMOUS"."OCRD", "CardCode",'',65809,5),
joinCondition=('join6_0',"SBODEMOUS"."OCLG", "CntctCode","SBODEMOUS"."OCPR", "CntctCode",'',65809,6),
joinPath=('JoinPath1','join0_0'),
joinPath=('JoinPath2','join1_0'),
joinPath=('JoinPath3','join2_0'),
joinPath=('JoinPath4','join3_0'),
joinPath=('JoinPath5','join4_0'),
joinPath=('JoinPath6','join5_0'),
joinPath=('JoinPath7','join6_0'),
viewAttribute=('OCLT_Name',"SBODEMOUS"."OCLT", "Name",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLT_Code',"SBODEMOUS"."OCLT", "Code",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLS_Name',"SBODEMOUS"."OCLS", "Name",'JoinPath2','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLS_Code',"SBODEMOUS"."OCLS", "Code",'JoinPath2','V_ES_ACTIVITY','attribute'),
viewAttribute=('OUSR.temp0_U_NAME',"SBODEMOUS"."OUSR", "U_NAME",'JoinPath3','V_ES_ACTIVITY','attribute'),
viewAttribute=('OUSR.temp0_USERID',"SBODEMOUS"."OUSR", "USERID",'JoinPath3','V_ES_ACTIVITY','attribute'),
viewAttribute=('OHEM_firstName',"SBODEMOUS"."OHEM", "firstName",'JoinPath4','V_ES_ACTIVITY','attribute'),
viewAttribute=('OHEM_middleName',"SBODEMOUS"."OHEM", "middleName",'JoinPath4','V_ES_ACTIVITY','attribute'),
viewAttribute=('OHEM_lastName',"SBODEMOUS"."OHEM", "lastName",'JoinPath4','V_ES_ACTIVITY','attribute'),
viewAttribute=('OHEM_empID',"SBODEMOUS"."OHEM", "empID",'JoinPath4','V_ES_ACTIVITY','attribute'),
viewAttribute=('OUSR.temp1_U_NAME',"SBODEMOUS"."OUSR.temp1", "U_NAME",'JoinPath5','V_ES_ACTIVITY','attribute'),
viewAttribute=('OUSR.temp1_USERID',"SBODEMOUS"."OUSR.temp1", "USERID",'JoinPath5','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCRD_CardCode',"SBODEMOUS"."OCRD", "CardCode",'JoinPath6','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCRD_CardName',"SBODEMOUS"."OCRD", "CardName",'JoinPath6','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCRD_OwnerCode',"SBODEMOUS"."OCRD", "OwnerCode",'JoinPath6','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCPR_Name',"SBODEMOUS"."OCPR", "Name",'JoinPath7','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCPR_CntctCode',"SBODEMOUS"."OCPR", "CntctCode",'JoinPath7','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_ClgCode',"SBODEMOUS"."OCLG", "ClgCode",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_Action',"SBODEMOUS"."OCLG", "Action",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_CntctType',"SBODEMOUS"."OCLG", "CntctType",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_CntctSbjct',"SBODEMOUS"."OCLG", "CntctSbjct",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_AssignedBy',"SBODEMOUS"."OCLG", "AssignedBy",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_AttendEmpl',"SBODEMOUS"."OCLG", "AttendEmpl",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_AttendUser',"SBODEMOUS"."OCLG", "AttendUser",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_CardCode',"SBODEMOUS"."OCLG", "CardCode",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_CntctCode',"SBODEMOUS"."OCLG", "CntctCode",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_Tel',"SBODEMOUS"."OCLG", "Tel",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_Details',"SBODEMOUS"."OCLG", "Details",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_Recontact',"SBODEMOUS"."OCLG", "Recontact",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_BeginTime',"SBODEMOUS"."OCLG", "BeginTime",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_endDate',"SBODEMOUS"."OCLG", "endDate",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_ENDTime',"SBODEMOUS"."OCLG", "ENDTime",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_Priority',"SBODEMOUS"."OCLG", "Priority",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_inactive',"SBODEMOUS"."OCLG", "inactive",'JoinPath1','V_ES_ACTIVITY','attribute'),
viewAttribute=('OCLG_Closed',"SBODEMOUS"."OCLG", "Closed",'JoinPath1','V_ES_ACTIVITY','attribute'),
freeStyleSearchAttribute='OCLT_Name:1:0',
freeStyleSearchAttribute='OCLS_Name:1:0',
freeStyleSearchAttribute='OUSR.temp0_U_NAME:1:0',
freeStyleSearchAttribute='OHEM_firstName:1:0',
freeStyleSearchAttribute='OHEM_middleName:1:0',
freeStyleSearchAttribute='OHEM_lastName:1:0',
freeStyleSearchAttribute='OUSR.temp1_U_NAME:1:0',
freeStyleSearchAttribute='OCRD_CardCode:1:0',
freeStyleSearchAttribute='OCRD_CardName:1:0',
freeStyleSearchAttribute='OCPR_Name:1:0',
freeStyleSearchAttribute='OCLG_Action:1:0',
freeStyleSearchAttribute='OCLG_Tel:1:0',
freeStyleSearchAttribute='OCLG_Details:1:0',
freeStyleSearchAttribute='OCLG_Recontact:1:0',
freeStyleSearchAttribute='OCLG_BeginTime:1:0',
freeStyleSearchAttribute='OCLG_endDate:1:0',
freeStyleSearchAttribute='OCLG_ENDTime:1:0',
freeStyleSearchAttribute='OCLG_Priority:1:0',
freeStyleSearchAttribute='OCLG_inactive:1:0',
freeStyleSearchAttribute='OCLG_Closed:1:0',
view=('V_ES_ACTIVITY',"SBODEMOUS"."OCLG"),defaultView='V_ES_ACTIVITY',OPTIMIZEMETAMODEL=0)