select t1."Oid" AS "Oid", t1."CustomersFrom" AS "CustomersFrom", t1."Customers" AS "Customers", t1."PartnerType" AS "PartnerType", t1."ConnectInfo" AS "ConnectInfo", t2."DocumentNumber" AS "DocumentNumber", t2."RegistryNumber" AS "RegistryNumber", t1."DateExecution" AS "DateExecution", t1."DatePayment_Account"AS "DatePayment", t1."CurrencyName_Account" AS "CurrencyName_Account", t1."AmountHUF_Account" AS "AmountHUF", t1."AmountDEV_Account" AS "AmountDEV", t1."BallanceHUF" AS "BallanceHUF", t1."BallanceDEV" AS "BallanceDEV", t1."InvoiceHeader" AS "InvoiceHeader" from "PCIDetail" t1 join "vv_PartnerConnectionInfoAccount" t2 on t1."CustomersFrom"=t2."CustomersFrom" and t1."Customers"=t2."Customers" and t1."PartnerType"=t2."PartnerType" and t1."ConnectInfo"=t2."ConnectInfo"