CREATE COLUMN VIEW "SBODEMOPT"."ES_GOODSRETURN" WITH PARAMETERS (indexType=6,
joinIndex="SBODEMOPT"."ORPD",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOPT"."OCPR",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOPT"."OSLP",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOPT"."OHEM",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOPT"."RPD1",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOPT"."OCRD",joinIndexType=0,joinIndexEstimation=0,
joinCondition=('join1_0',"SBODEMOPT"."ORPD", "CntctCode","SBODEMOPT"."OCPR", "CntctCode",'',65809,0),
joinCondition=('join2_0',"SBODEMOPT"."ORPD", "SlpCode","SBODEMOPT"."OSLP", "SlpCode",'',65809,1),
joinCondition=('join3_0',"SBODEMOPT"."ORPD", "OwnerCode","SBODEMOPT"."OHEM", "empID",'',65809,2),
joinCondition=('join5_0',"SBODEMOPT"."ORPD", "DocEntry","SBODEMOPT"."RPD1", "DocEntry",'',145,3),
joinCondition=('join6_0',"SBODEMOPT"."ORPD", "CardCode","SBODEMOPT"."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',"SBODEMOPT"."OCPR", "CntctCode",'JoinPath1','V_ES_GOODSRETURN','attribute'),
viewAttribute=('OCPR_Name',"SBODEMOPT"."OCPR", "Name",'JoinPath1','V_ES_GOODSRETURN','attribute'),
viewAttribute=('OSLP_SlpCode',"SBODEMOPT"."OSLP", "SlpCode",'JoinPath2','V_ES_GOODSRETURN','attribute'),
viewAttribute=('OSLP_SlpName',"SBODEMOPT"."OSLP", "SlpName",'JoinPath2','V_ES_GOODSRETURN','attribute'),
viewAttribute=('OHEM_empID',"SBODEMOPT"."OHEM", "empID",'JoinPath3','V_ES_GOODSRETURN','attribute'),
viewAttribute=('OHEM_firstName',"SBODEMOPT"."OHEM", "firstName",'JoinPath3','V_ES_GOODSRETURN','attribute'),
viewAttribute=('OHEM_lastName',"SBODEMOPT"."OHEM", "lastName",'JoinPath3','V_ES_GOODSRETURN','attribute'),
viewAttribute=('OHEM_middleName',"SBODEMOPT"."OHEM", "middleName",'JoinPath3','V_ES_GOODSRETURN','attribute'),
viewAttribute=('RPD1_DocEntry',"SBODEMOPT"."RPD1", "DocEntry",'JoinPath4','V_ES_GOODSRETURN','attribute'),
viewAttribute=('RPD1_LineNum',"SBODEMOPT"."RPD1", "LineNum",'JoinPath4','V_ES_GOODSRETURN','attribute'),
viewAttribute=('RPD1_ItemCode',"SBODEMOPT"."RPD1", "ItemCode",'JoinPath4','V_ES_GOODSRETURN','attribute'),
viewAttribute=('RPD1_Dscription',"SBODEMOPT"."RPD1", "Dscription",'JoinPath4','V_ES_GOODSRETURN','attribute'),
viewAttribute=('RPD1_Quantity',"SBODEMOPT"."RPD1", "Quantity",'JoinPath4','V_ES_GOODSRETURN','attribute'),
viewAttribute=('RPD1_Price',"SBODEMOPT"."RPD1", "Price",'JoinPath4','V_ES_GOODSRETURN','attribute'),
viewAttribute=('RPD1_DiscPrcnt',"SBODEMOPT"."RPD1", "DiscPrcnt",'JoinPath4','V_ES_GOODSRETURN','attribute'),
viewAttribute=('RPD1_LineTotal',"SBODEMOPT"."RPD1", "LineTotal",'JoinPath4','V_ES_GOODSRETURN','attribute'),
viewAttribute=('RPD1_OwnerCode',"SBODEMOPT"."RPD1", "OwnerCode",'JoinPath4','V_ES_GOODSRETURN','attribute'),
viewAttribute=('RPD1_Project',"SBODEMOPT"."RPD1", "Project",'JoinPath4','V_ES_GOODSRETURN','attribute'),
viewAttribute=('OCRD_CardCode',"SBODEMOPT"."OCRD", "CardCode",'JoinPath5','V_ES_GOODSRETURN','attribute'),
viewAttribute=('OCRD_OwnerCode',"SBODEMOPT"."OCRD", "OwnerCode",'JoinPath5','V_ES_GOODSRETURN','attribute'),
viewAttribute=('ORPD_DocEntry',"SBODEMOPT"."ORPD", "DocEntry",'JoinPath1','V_ES_GOODSRETURN','attribute'),
viewAttribute=('ORPD_CardCode',"SBODEMOPT"."ORPD", "CardCode",'JoinPath1','V_ES_GOODSRETURN','attribute'),
viewAttribute=('ORPD_CardName',"SBODEMOPT"."ORPD", "CardName",'JoinPath1','V_ES_GOODSRETURN','attribute'),
viewAttribute=('ORPD_CntctCode',"SBODEMOPT"."ORPD", "CntctCode",'JoinPath1','V_ES_GOODSRETURN','attribute'),
viewAttribute=('ORPD_Series',"SBODEMOPT"."ORPD", "Series",'JoinPath1','V_ES_GOODSRETURN','attribute'),
viewAttribute=('ORPD_DocNum',"SBODEMOPT"."ORPD", "DocNum",'JoinPath1','V_ES_GOODSRETURN','attribute'),
viewAttribute=('ORPD_DocStatus',"SBODEMOPT"."ORPD", "DocStatus",'JoinPath1','V_ES_GOODSRETURN','attribute'),
viewAttribute=('ORPD_DocDate',"SBODEMOPT"."ORPD", "DocDate",'JoinPath1','V_ES_GOODSRETURN','attribute'),
viewAttribute=('ORPD_DocDueDate',"SBODEMOPT"."ORPD", "DocDueDate",'JoinPath1','V_ES_GOODSRETURN','attribute'),
viewAttribute=('ORPD_TaxDate',"SBODEMOPT"."ORPD", "TaxDate",'JoinPath1','V_ES_GOODSRETURN','attribute'),
viewAttribute=('ORPD_SlpCode',"SBODEMOPT"."ORPD", "SlpCode",'JoinPath1','V_ES_GOODSRETURN','attribute'),
viewAttribute=('ORPD_OwnerCode',"SBODEMOPT"."ORPD", "OwnerCode",'JoinPath1','V_ES_GOODSRETURN','attribute'),
viewAttribute=('ORPD_DocTotal',"SBODEMOPT"."ORPD", "DocTotal",'JoinPath1','V_ES_GOODSRETURN','attribute'),
viewAttribute=('ORPD_Comments',"SBODEMOPT"."ORPD", "Comments",'JoinPath1','V_ES_GOODSRETURN','attribute'),
viewAttribute=('ORPD_NumAtCard',"SBODEMOPT"."ORPD", "NumAtCard",'JoinPath1','V_ES_GOODSRETURN','attribute'),
viewAttribute=('ORPD_Project',"SBODEMOPT"."ORPD", "Project",'JoinPath1','V_ES_GOODSRETURN','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='RPD1_ItemCode:1:0',
freeStyleSearchAttribute='RPD1_Dscription:1:0',
freeStyleSearchAttribute='RPD1_Quantity:1:0',
freeStyleSearchAttribute='RPD1_Price:1:0',
freeStyleSearchAttribute='RPD1_DiscPrcnt:1:0',
freeStyleSearchAttribute='RPD1_LineTotal:1:0',
freeStyleSearchAttribute='RPD1_Project:1:0',
freeStyleSearchAttribute='OCRD_CardCode:1:0',
freeStyleSearchAttribute='ORPD_CardCode:1:0',
freeStyleSearchAttribute='ORPD_CardName:1:0',
freeStyleSearchAttribute='ORPD_DocNum:1:0',
freeStyleSearchAttribute='ORPD_DocStatus:1:0',
freeStyleSearchAttribute='ORPD_DocDate:1:0',
freeStyleSearchAttribute='ORPD_DocDueDate:1:0',
freeStyleSearchAttribute='ORPD_TaxDate:1:0',
freeStyleSearchAttribute='ORPD_DocTotal:1:0',
freeStyleSearchAttribute='ORPD_Comments:1:0',
freeStyleSearchAttribute='ORPD_NumAtCard:1:0',
freeStyleSearchAttribute='ORPD_Project:1:0',
view=('V_ES_GOODSRETURN',"SBODEMOPT"."ORPD"),defaultView='V_ES_GOODSRETURN',OPTIMIZEMETAMODEL=0)