CREATE COLUMN VIEW "SBODEMOUS"."ES_SALESORDER" WITH PARAMETERS (indexType=6,
joinIndex="SBODEMOUS"."ORDR",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOUS"."RDR1",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOUS"."OCRD",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOUS"."OCPR",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOUS"."OSLP",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOUS"."OSHP",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOUS"."OHEM",joinIndexType=0,joinIndexEstimation=0,
joinCondition=('join1_0',"SBODEMOUS"."ORDR", "DocEntry","SBODEMOUS"."RDR1", "DocEntry",'',145,0),
joinCondition=('join2_0',"SBODEMOUS"."ORDR", "CardCode","SBODEMOUS"."OCRD", "CardCode",'',65809,1),
joinCondition=('join3_0',"SBODEMOUS"."ORDR", "CntctCode","SBODEMOUS"."OCPR", "CntctCode",'',65809,2),
joinCondition=('join4_0',"SBODEMOUS"."ORDR", "SlpCode","SBODEMOUS"."OSLP", "SlpCode",'',65809,3),
joinCondition=('join5_0',"SBODEMOUS"."ORDR", "TrnspCode","SBODEMOUS"."OSHP", "TrnspCode",'',65809,4),
joinCondition=('join6_0',"SBODEMOUS"."ORDR", "OwnerCode","SBODEMOUS"."OHEM", "empID",'',65809,5),
joinPath=('JoinPath1','join1_0'),
joinPath=('JoinPath2','join2_0'),
joinPath=('JoinPath3','join3_0'),
joinPath=('JoinPath4','join4_0'),
joinPath=('JoinPath5','join5_0'),
joinPath=('JoinPath6','join6_0'),
viewAttribute=('RDR1_DocEntry',"SBODEMOUS"."RDR1", "DocEntry",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('RDR1_BaseEntry',"SBODEMOUS"."RDR1", "BaseEntry",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('RDR1_LineNum',"SBODEMOUS"."RDR1", "LineNum",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('RDR1_ItemCode',"SBODEMOUS"."RDR1", "ItemCode",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('RDR1_Quantity',"SBODEMOUS"."RDR1", "Quantity",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('RDR1_Price',"SBODEMOUS"."RDR1", "Price",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('RDR1_DiscPrcnt',"SBODEMOUS"."RDR1", "DiscPrcnt",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('RDR1_LineTotal',"SBODEMOUS"."RDR1", "LineTotal",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('RDR1_Dscription',"SBODEMOUS"."RDR1", "Dscription",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('RDR1_OwnerCode',"SBODEMOUS"."RDR1", "OwnerCode",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('RDR1_Project',"SBODEMOUS"."RDR1", "Project",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('OCRD_CardCode',"SBODEMOUS"."OCRD", "CardCode",'JoinPath2','V_ES_SALESORDER','attribute'),
viewAttribute=('OCRD_CardName',"SBODEMOUS"."OCRD", "CardName",'JoinPath2','V_ES_SALESORDER','attribute'),
viewAttribute=('OCRD_OwnerCode',"SBODEMOUS"."OCRD", "OwnerCode",'JoinPath2','V_ES_SALESORDER','attribute'),
viewAttribute=('OCPR_CntctCode',"SBODEMOUS"."OCPR", "CntctCode",'JoinPath3','V_ES_SALESORDER','attribute'),
viewAttribute=('OCPR_Name',"SBODEMOUS"."OCPR", "Name",'JoinPath3','V_ES_SALESORDER','attribute'),
viewAttribute=('OSLP_SlpCode',"SBODEMOUS"."OSLP", "SlpCode",'JoinPath4','V_ES_SALESORDER','attribute'),
viewAttribute=('OSLP_SlpName',"SBODEMOUS"."OSLP", "SlpName",'JoinPath4','V_ES_SALESORDER','attribute'),
viewAttribute=('OSHP_TrnspName',"SBODEMOUS"."OSHP", "TrnspName",'JoinPath5','V_ES_SALESORDER','attribute'),
viewAttribute=('OSHP_TrnspCode',"SBODEMOUS"."OSHP", "TrnspCode",'JoinPath5','V_ES_SALESORDER','attribute'),
viewAttribute=('OHEM_firstName',"SBODEMOUS"."OHEM", "firstName",'JoinPath6','V_ES_SALESORDER','attribute'),
viewAttribute=('OHEM_middleName',"SBODEMOUS"."OHEM", "middleName",'JoinPath6','V_ES_SALESORDER','attribute'),
viewAttribute=('OHEM_lastName',"SBODEMOUS"."OHEM", "lastName",'JoinPath6','V_ES_SALESORDER','attribute'),
viewAttribute=('OHEM_empID',"SBODEMOUS"."OHEM", "empID",'JoinPath6','V_ES_SALESORDER','attribute'),
viewAttribute=('ORDR_DocEntry',"SBODEMOUS"."ORDR", "DocEntry",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('ORDR_DocNum',"SBODEMOUS"."ORDR", "DocNum",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('ORDR_CardCode',"SBODEMOUS"."ORDR", "CardCode",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('ORDR_CntctCode',"SBODEMOUS"."ORDR", "CntctCode",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('ORDR_DocDate',"SBODEMOUS"."ORDR", "DocDate",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('ORDR_DocDueDate',"SBODEMOUS"."ORDR", "DocDueDate",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('ORDR_TaxDate',"SBODEMOUS"."ORDR", "TaxDate",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('ORDR_SlpCode',"SBODEMOUS"."ORDR", "SlpCode",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('ORDR_DocStatus',"SBODEMOUS"."ORDR", "DocStatus",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('ORDR_DocTotal',"SBODEMOUS"."ORDR", "DocTotal",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('ORDR_Comments',"SBODEMOUS"."ORDR", "Comments",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('ORDR_OwnerCode',"SBODEMOUS"."ORDR", "OwnerCode",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('ORDR_PartSupply',"SBODEMOUS"."ORDR", "PartSupply",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('ORDR_PickRmrk',"SBODEMOUS"."ORDR", "PickRmrk",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('ORDR_TrnspCode',"SBODEMOUS"."ORDR", "TrnspCode",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('ORDR_NumAtCard',"SBODEMOUS"."ORDR", "NumAtCard",'JoinPath1','V_ES_SALESORDER','attribute'),
viewAttribute=('ORDR_Project',"SBODEMOUS"."ORDR", "Project",'JoinPath1','V_ES_SALESORDER','attribute'),
freeStyleSearchAttribute='RDR1_ItemCode:1:0',
freeStyleSearchAttribute='RDR1_Quantity:1:0',
freeStyleSearchAttribute='RDR1_Price:1:0',
freeStyleSearchAttribute='RDR1_DiscPrcnt:1:0',
freeStyleSearchAttribute='RDR1_LineTotal:1:0',
freeStyleSearchAttribute='RDR1_Dscription:1:0',
freeStyleSearchAttribute='RDR1_Project:1:0',
freeStyleSearchAttribute='OCRD_CardCode:1:0',
freeStyleSearchAttribute='OCRD_CardName:1:0',
freeStyleSearchAttribute='OCPR_Name:1:0',
freeStyleSearchAttribute='OSLP_SlpName:1:0',
freeStyleSearchAttribute='OSHP_TrnspName:1:0',
freeStyleSearchAttribute='OHEM_firstName:1:0',
freeStyleSearchAttribute='OHEM_middleName:1:0',
freeStyleSearchAttribute='OHEM_lastName:1:0',
freeStyleSearchAttribute='ORDR_DocNum:1:0',
freeStyleSearchAttribute='ORDR_CardCode:1:0',
freeStyleSearchAttribute='ORDR_DocDate:1:0',
freeStyleSearchAttribute='ORDR_DocDueDate:1:0',
freeStyleSearchAttribute='ORDR_TaxDate:1:0',
freeStyleSearchAttribute='ORDR_DocStatus:1:0',
freeStyleSearchAttribute='ORDR_DocTotal:1:0',
freeStyleSearchAttribute='ORDR_Comments:1:0',
freeStyleSearchAttribute='ORDR_PartSupply:1:0',
freeStyleSearchAttribute='ORDR_PickRmrk:1:0',
freeStyleSearchAttribute='ORDR_NumAtCard:1:0',
freeStyleSearchAttribute='ORDR_Project:1:0',
view=('V_ES_SALESORDER',"SBODEMOUS"."ORDR"),defaultView='V_ES_SALESORDER',OPTIMIZEMETAMODEL=0)