CREATE COLUMN VIEW "SBODEMOUS"."ES_AP_INVOICE" WITH PARAMETERS (indexType=6,
joinIndex="SBODEMOUS"."OPCH",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"."OSHP",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOUS"."PCH1",joinIndexType=0,joinIndexEstimation=0,
joinIndex="SBODEMOUS"."OCRD",joinIndexType=0,joinIndexEstimation=0,
joinCondition=('join0_0',"SBODEMOUS"."OPCH", "CntctCode","SBODEMOUS"."OCPR", "CntctCode",'',65809,0),
joinCondition=('join1_0',"SBODEMOUS"."OPCH", "SlpCode","SBODEMOUS"."OSLP", "SlpCode",'',65809,1),
joinCondition=('join2_0',"SBODEMOUS"."OPCH", "OwnerCode","SBODEMOUS"."OHEM", "empID",'',65809,2),
joinCondition=('join3_0',"SBODEMOUS"."OPCH", "TrnspCode","SBODEMOUS"."OSHP", "TrnspCode",'',65809,3),
joinCondition=('join4_0',"SBODEMOUS"."OPCH", "DocEntry","SBODEMOUS"."PCH1", "DocEntry",'',145,4),
joinCondition=('join6_0',"SBODEMOUS"."OPCH", "CardCode","SBODEMOUS"."OCRD", "CardCode",'',65809,5),
joinPath=('JoinPath1','join0_0'),
joinPath=('JoinPath2','join1_0'),
joinPath=('JoinPath3','join2_0'),
joinPath=('JoinPath4','join3_0'),
joinPath=('JoinPath5','join4_0'),
joinPath=('JoinPath6','join6_0'),
viewAttribute=('OCPR_Name',"SBODEMOUS"."OCPR", "Name",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OCPR_CntctCode',"SBODEMOUS"."OCPR", "CntctCode",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OSLP_SlpName',"SBODEMOUS"."OSLP", "SlpName",'JoinPath2','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OSLP_SlpCode',"SBODEMOUS"."OSLP", "SlpCode",'JoinPath2','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OHEM_firstName',"SBODEMOUS"."OHEM", "firstName",'JoinPath3','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OHEM_middleName',"SBODEMOUS"."OHEM", "middleName",'JoinPath3','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OHEM_lastName',"SBODEMOUS"."OHEM", "lastName",'JoinPath3','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OHEM_empID',"SBODEMOUS"."OHEM", "empID",'JoinPath3','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OSHP_TrnspName',"SBODEMOUS"."OSHP", "TrnspName",'JoinPath4','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OSHP_TrnspCode',"SBODEMOUS"."OSHP", "TrnspCode",'JoinPath4','V_ES_AP_INVOICE','attribute'),
viewAttribute=('PCH1_LineNum',"SBODEMOUS"."PCH1", "LineNum",'JoinPath5','V_ES_AP_INVOICE','attribute'),
viewAttribute=('PCH1_DocEntry',"SBODEMOUS"."PCH1", "DocEntry",'JoinPath5','V_ES_AP_INVOICE','attribute'),
viewAttribute=('PCH1_ItemCode',"SBODEMOUS"."PCH1", "ItemCode",'JoinPath5','V_ES_AP_INVOICE','attribute'),
viewAttribute=('PCH1_Quantity',"SBODEMOUS"."PCH1", "Quantity",'JoinPath5','V_ES_AP_INVOICE','attribute'),
viewAttribute=('PCH1_Price',"SBODEMOUS"."PCH1", "Price",'JoinPath5','V_ES_AP_INVOICE','attribute'),
viewAttribute=('PCH1_DiscPrcnt',"SBODEMOUS"."PCH1", "DiscPrcnt",'JoinPath5','V_ES_AP_INVOICE','attribute'),
viewAttribute=('PCH1_LineTotal',"SBODEMOUS"."PCH1", "LineTotal",'JoinPath5','V_ES_AP_INVOICE','attribute'),
viewAttribute=('PCH1_Dscription',"SBODEMOUS"."PCH1", "Dscription",'JoinPath5','V_ES_AP_INVOICE','attribute'),
viewAttribute=('PCH1_OwnerCode',"SBODEMOUS"."PCH1", "OwnerCode",'JoinPath5','V_ES_AP_INVOICE','attribute'),
viewAttribute=('PCH1_Project',"SBODEMOUS"."PCH1", "Project",'JoinPath5','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OCRD_CardCode',"SBODEMOUS"."OCRD", "CardCode",'JoinPath6','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OCRD_OwnerCode',"SBODEMOUS"."OCRD", "OwnerCode",'JoinPath6','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_DocEntry',"SBODEMOUS"."OPCH", "DocEntry",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_DocNum',"SBODEMOUS"."OPCH", "DocNum",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_CardCode',"SBODEMOUS"."OPCH", "CardCode",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_CardName',"SBODEMOUS"."OPCH", "CardName",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_CntctCode',"SBODEMOUS"."OPCH", "CntctCode",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_DocStatus',"SBODEMOUS"."OPCH", "DocStatus",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_DocDate',"SBODEMOUS"."OPCH", "DocDate",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_DocDueDate',"SBODEMOUS"."OPCH", "DocDueDate",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_TaxDate',"SBODEMOUS"."OPCH", "TaxDate",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_SlpCode',"SBODEMOUS"."OPCH", "SlpCode",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_OwnerCode',"SBODEMOUS"."OPCH", "OwnerCode",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_StampNum',"SBODEMOUS"."OPCH", "StampNum",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_DocTotal',"SBODEMOUS"."OPCH", "DocTotal",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_PaidToDate',"SBODEMOUS"."OPCH", "PaidToDate",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_Comments',"SBODEMOUS"."OPCH", "Comments",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_TrnspCode',"SBODEMOUS"."OPCH", "TrnspCode",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_Series',"SBODEMOUS"."OPCH", "Series",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_isIns',"SBODEMOUS"."OPCH", "isIns",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_NumAtCard',"SBODEMOUS"."OPCH", "NumAtCard",'JoinPath1','V_ES_AP_INVOICE','attribute'),
viewAttribute=('OPCH_Project',"SBODEMOUS"."OPCH", "Project",'JoinPath1','V_ES_AP_INVOICE','attribute'),
freeStyleSearchAttribute='OCPR_Name:1:0',
freeStyleSearchAttribute='OSLP_SlpName:1:0',
freeStyleSearchAttribute='OHEM_firstName:1:0',
freeStyleSearchAttribute='OHEM_middleName:1:0',
freeStyleSearchAttribute='OHEM_lastName:1:0',
freeStyleSearchAttribute='OSHP_TrnspName:1:0',
freeStyleSearchAttribute='PCH1_ItemCode:1:0',
freeStyleSearchAttribute='PCH1_Quantity:1:0',
freeStyleSearchAttribute='PCH1_Price:1:0',
freeStyleSearchAttribute='PCH1_DiscPrcnt:1:0',
freeStyleSearchAttribute='PCH1_LineTotal:1:0',
freeStyleSearchAttribute='PCH1_Dscription:1:0',
freeStyleSearchAttribute='PCH1_Project:1:0',
freeStyleSearchAttribute='OCRD_CardCode:1:0',
freeStyleSearchAttribute='OPCH_DocNum:1:0',
freeStyleSearchAttribute='OPCH_CardCode:1:0',
freeStyleSearchAttribute='OPCH_CardName:1:0',
freeStyleSearchAttribute='OPCH_DocStatus:1:0',
freeStyleSearchAttribute='OPCH_DocDate:1:0',
freeStyleSearchAttribute='OPCH_DocDueDate:1:0',
freeStyleSearchAttribute='OPCH_TaxDate:1:0',
freeStyleSearchAttribute='OPCH_StampNum:1:0',
freeStyleSearchAttribute='OPCH_DocTotal:1:0',
freeStyleSearchAttribute='OPCH_Comments:1:0',
freeStyleSearchAttribute='OPCH_NumAtCard:1:0',
freeStyleSearchAttribute='OPCH_Project:1:0',
view=('V_ES_AP_INVOICE',"SBODEMOUS"."OPCH"),defaultView='V_ES_AP_INVOICE',OPTIMIZEMETAMODEL=0)