CREATE COLUMN VIEW "SBODEMOUS"."ES_SALESARINVOICE" WITH PARAMETERS (indexType=6,
joinIndex="SBODEMOUS"."OINV",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,
joinIndex="SBODEMOUS"."INV1",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOUS"."OCRD",joinIndexType=0,joinIndexEstimation=0,
joinCondition=('join2_0',"SBODEMOUS"."OINV", "CntctCode","SBODEMOUS"."OCPR", "CntctCode",'',65809,0),
joinCondition=('join3_0',"SBODEMOUS"."OINV", "SlpCode","SBODEMOUS"."OSLP", "SlpCode",'',65809,1),
joinCondition=('join4_0',"SBODEMOUS"."OINV", "TrnspCode","SBODEMOUS"."OSHP", "TrnspCode",'',65809,2),
joinCondition=('join5_0',"SBODEMOUS"."OINV", "OwnerCode","SBODEMOUS"."OHEM", "empID",'',65809,3),
joinCondition=('join7_0',"SBODEMOUS"."OINV", "DocEntry","SBODEMOUS"."INV1", "DocEntry",'',145,4),
joinCondition=('join8_0',"SBODEMOUS"."OINV", "CardCode","SBODEMOUS"."OCRD", "CardCode",'',65809,5),
joinPath=('JoinPath1','join2_0'),
joinPath=('JoinPath2','join3_0'),
joinPath=('JoinPath3','join4_0'),
joinPath=('JoinPath4','join5_0'),
joinPath=('JoinPath5','join7_0'),
joinPath=('JoinPath6','join8_0'),
viewAttribute=('OCPR_CntctCode',"SBODEMOUS"."OCPR", "CntctCode",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OCPR_Name',"SBODEMOUS"."OCPR", "Name",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OSLP_SlpCode',"SBODEMOUS"."OSLP", "SlpCode",'JoinPath2','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OSLP_SlpName',"SBODEMOUS"."OSLP", "SlpName",'JoinPath2','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OSHP_TrnspName',"SBODEMOUS"."OSHP", "TrnspName",'JoinPath3','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OSHP_TrnspCode',"SBODEMOUS"."OSHP", "TrnspCode",'JoinPath3','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OHEM_firstName',"SBODEMOUS"."OHEM", "firstName",'JoinPath4','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OHEM_middleName',"SBODEMOUS"."OHEM", "middleName",'JoinPath4','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OHEM_lastName',"SBODEMOUS"."OHEM", "lastName",'JoinPath4','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OHEM_empID',"SBODEMOUS"."OHEM", "empID",'JoinPath4','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('INV1_DocEntry',"SBODEMOUS"."INV1", "DocEntry",'JoinPath5','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('INV1_BaseEntry',"SBODEMOUS"."INV1", "BaseEntry",'JoinPath5','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('INV1_BaseType',"SBODEMOUS"."INV1", "BaseType",'JoinPath5','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('INV1_LineNum',"SBODEMOUS"."INV1", "LineNum",'JoinPath5','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('INV1_ItemCode',"SBODEMOUS"."INV1", "ItemCode",'JoinPath5','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('INV1_Dscription',"SBODEMOUS"."INV1", "Dscription",'JoinPath5','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('INV1_Quantity',"SBODEMOUS"."INV1", "Quantity",'JoinPath5','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('INV1_Price',"SBODEMOUS"."INV1", "Price",'JoinPath5','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('INV1_DiscPrcnt',"SBODEMOUS"."INV1", "DiscPrcnt",'JoinPath5','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('INV1_LineTotal',"SBODEMOUS"."INV1", "LineTotal",'JoinPath5','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('INV1_OwnerCode',"SBODEMOUS"."INV1", "OwnerCode",'JoinPath5','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('INV1_Project',"SBODEMOUS"."INV1", "Project",'JoinPath5','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OCRD_CardCode',"SBODEMOUS"."OCRD", "CardCode",'JoinPath6','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OCRD_OwnerCode',"SBODEMOUS"."OCRD", "OwnerCode",'JoinPath6','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_DocEntry',"SBODEMOUS"."OINV", "DocEntry",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_DocNum',"SBODEMOUS"."OINV", "DocNum",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_CardCode',"SBODEMOUS"."OINV", "CardCode",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_CardName',"SBODEMOUS"."OINV", "CardName",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_CntctCode',"SBODEMOUS"."OINV", "CntctCode",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_DocStatus',"SBODEMOUS"."OINV", "DocStatus",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_DocDate',"SBODEMOUS"."OINV", "DocDate",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_DocDueDate',"SBODEMOUS"."OINV", "DocDueDate",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_TaxDate',"SBODEMOUS"."OINV", "TaxDate",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_Comments',"SBODEMOUS"."OINV", "Comments",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_SlpCode',"SBODEMOUS"."OINV", "SlpCode",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_DocTotal',"SBODEMOUS"."OINV", "DocTotal",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_PaidToDate',"SBODEMOUS"."OINV", "PaidToDate",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_TrnspCode',"SBODEMOUS"."OINV", "TrnspCode",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_TrackNo',"SBODEMOUS"."OINV", "TrackNo",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_OwnerCode',"SBODEMOUS"."OINV", "OwnerCode",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_Series',"SBODEMOUS"."OINV", "Series",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_isIns',"SBODEMOUS"."OINV", "isIns",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_NumAtCard',"SBODEMOUS"."OINV", "NumAtCard",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
viewAttribute=('OINV_Project',"SBODEMOUS"."OINV", "Project",'JoinPath1','V_ES_SALESARINVOICE','attribute'),
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='INV1_ItemCode:1:0',
freeStyleSearchAttribute='INV1_Dscription:1:0',
freeStyleSearchAttribute='INV1_Quantity:1:0',
freeStyleSearchAttribute='INV1_Price:1:0',
freeStyleSearchAttribute='INV1_DiscPrcnt:1:0',
freeStyleSearchAttribute='INV1_LineTotal:1:0',
freeStyleSearchAttribute='INV1_Project:1:0',
freeStyleSearchAttribute='OCRD_CardCode:1:0',
freeStyleSearchAttribute='OINV_DocNum:1:0',
freeStyleSearchAttribute='OINV_CardCode:1:0',
freeStyleSearchAttribute='OINV_CardName:1:0',
freeStyleSearchAttribute='OINV_DocStatus:1:0',
freeStyleSearchAttribute='OINV_DocDate:1:0',
freeStyleSearchAttribute='OINV_DocDueDate:1:0',
freeStyleSearchAttribute='OINV_TaxDate:1:0',
freeStyleSearchAttribute='OINV_Comments:1:0',
freeStyleSearchAttribute='OINV_DocTotal:1:0',
freeStyleSearchAttribute='OINV_TrackNo:1:0',
freeStyleSearchAttribute='OINV_NumAtCard:1:0',
freeStyleSearchAttribute='OINV_Project:1:0',
view=('V_ES_SALESARINVOICE',"SBODEMOUS"."OINV"),defaultView='V_ES_SALESARINVOICE',OPTIMIZEMETAMODEL=0)