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