CREATE COLUMN VIEW "SBODEMODE"."ES_SALES_D_P_R" WITH PARAMETERS (indexType=6,
joinIndex="SBODEMODE"."ODPI",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMODE"."OCPR",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMODE"."OSLP",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMODE"."OHEM",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMODE"."DPI1",joinIndexType=0,joinIndexEstimation=0,
joinCondition=('join1_0',"SBODEMODE"."ODPI", "CntctCode","SBODEMODE"."OCPR", "CntctCode",'',65809,0),
joinCondition=('join2_0',"SBODEMODE"."ODPI", "SlpCode","SBODEMODE"."OSLP", "SlpCode",'',65809,1),
joinCondition=('join3_0',"SBODEMODE"."ODPI", "OwnerCode","SBODEMODE"."OHEM", "empID",'',65809,2),
joinCondition=('join5_0',"SBODEMODE"."ODPI", "DocEntry","SBODEMODE"."DPI1", "DocEntry",'',145,3),
joinPath=('JoinPath1','join1_0'),
joinPath=('JoinPath2','join2_0'),
joinPath=('JoinPath3','join3_0'),
joinPath=('JoinPath4','join5_0'),
viewAttribute=('OCPR_CntctCode',"SBODEMODE"."OCPR", "CntctCode",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('OCPR_Name',"SBODEMODE"."OCPR", "Name",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('OSLP_SlpCode',"SBODEMODE"."OSLP", "SlpCode",'JoinPath2','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('OSLP_SlpName',"SBODEMODE"."OSLP", "SlpName",'JoinPath2','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('OHEM_empID',"SBODEMODE"."OHEM", "empID",'JoinPath3','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('OHEM_firstName',"SBODEMODE"."OHEM", "firstName",'JoinPath3','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('OHEM_lastName',"SBODEMODE"."OHEM", "lastName",'JoinPath3','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('OHEM_middleName',"SBODEMODE"."OHEM", "middleName",'JoinPath3','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('DPI1_DocEntry',"SBODEMODE"."DPI1", "DocEntry",'JoinPath4','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('DPI1_LineNum',"SBODEMODE"."DPI1", "LineNum",'JoinPath4','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('DPI1_ItemCode',"SBODEMODE"."DPI1", "ItemCode",'JoinPath4','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('DPI1_Dscription',"SBODEMODE"."DPI1", "Dscription",'JoinPath4','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('DPI1_Quantity',"SBODEMODE"."DPI1", "Quantity",'JoinPath4','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('DPI1_Price',"SBODEMODE"."DPI1", "Price",'JoinPath4','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('DPI1_DiscPrcnt',"SBODEMODE"."DPI1", "DiscPrcnt",'JoinPath4','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('DPI1_LineTotal',"SBODEMODE"."DPI1", "LineTotal",'JoinPath4','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('DPI1_Project',"SBODEMODE"."DPI1", "Project",'JoinPath4','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_DocEntry',"SBODEMODE"."ODPI", "DocEntry",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_CardCode',"SBODEMODE"."ODPI", "CardCode",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_CardName',"SBODEMODE"."ODPI", "CardName",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_CntctCode',"SBODEMODE"."ODPI", "CntctCode",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_Series',"SBODEMODE"."ODPI", "Series",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_DocNum',"SBODEMODE"."ODPI", "DocNum",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_DocStatus',"SBODEMODE"."ODPI", "DocStatus",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_DocDate',"SBODEMODE"."ODPI", "DocDate",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_DocDueDate',"SBODEMODE"."ODPI", "DocDueDate",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_TaxDate',"SBODEMODE"."ODPI", "TaxDate",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_SlpCode',"SBODEMODE"."ODPI", "SlpCode",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_OwnerCode',"SBODEMODE"."ODPI", "OwnerCode",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_DocTotal',"SBODEMODE"."ODPI", "DocTotal",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_PaidToDate',"SBODEMODE"."ODPI", "PaidToDate",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_Comments',"SBODEMODE"."ODPI", "Comments",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_Posted',"SBODEMODE"."ODPI", "Posted",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_NumAtCard',"SBODEMODE"."ODPI", "NumAtCard",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
viewAttribute=('ODPI_Project',"SBODEMODE"."ODPI", "Project",'JoinPath1','V_ES_SALES_D_P_R','attribute'),
freeStyleSearchAttribute='OCPR_Name:1:0',
freeStyleSearchAttribute='OSLP_SlpName:1:0',
freeStyleSearchAttribute='OHEM_firstName:1:0',
freeStyleSearchAttribute='OHEM_lastName:1:0',
freeStyleSearchAttribute='OHEM_middleName:1:0',
freeStyleSearchAttribute='DPI1_ItemCode:1:0',
freeStyleSearchAttribute='DPI1_Dscription:1:0',
freeStyleSearchAttribute='DPI1_Quantity:1:0',
freeStyleSearchAttribute='DPI1_Price:1:0',
freeStyleSearchAttribute='DPI1_DiscPrcnt:1:0',
freeStyleSearchAttribute='DPI1_LineTotal:1:0',
freeStyleSearchAttribute='DPI1_Project:1:0',
freeStyleSearchAttribute='ODPI_CardCode:1:0',
freeStyleSearchAttribute='ODPI_CardName:1:0',
freeStyleSearchAttribute='ODPI_DocNum:1:0',
freeStyleSearchAttribute='ODPI_DocStatus:1:0',
freeStyleSearchAttribute='ODPI_DocDate:1:0',
freeStyleSearchAttribute='ODPI_DocDueDate:1:0',
freeStyleSearchAttribute='ODPI_TaxDate:1:0',
freeStyleSearchAttribute='ODPI_DocTotal:1:0',
freeStyleSearchAttribute='ODPI_Comments:1:0',
freeStyleSearchAttribute='ODPI_NumAtCard:1:0',
freeStyleSearchAttribute='ODPI_Project:1:0',
view=('V_ES_SALES_D_P_R',"SBODEMODE"."ODPI"),defaultView='V_ES_SALES_D_P_R',OPTIMIZEMETAMODEL=0)