这是我用于运行APEX Office Print的数据源:
select
'file1' as "filename",
cursor(select
R.BILL_ID as "broj_racuna",
R.DATE as "datum_izdavanja",
K.CUSTOMER_NAME as "ime",
K.CUSTOMER_ID as "oib_kupca",
M.CITY_NAME as "naziv_mjesta",
N.PAYMENT_METHOD_NAME as "naziv_nacina_placanja",
cursor(select
S.ITEM_NUMBER as "rbr",
S.TRANSPORT_ITEM_ID as "sifra_usluge" ,
P.TRANSPORT_NAME as "naziv_usluge"
from BILL_ITEM S, TRANSPORT P
where P.TRANSPORT_ID=S.TRANSPORT_ITEM_ID
and S.ITEM_BILL_ID=:P25_BILL_NUMBER
order by S.ITEM_NUMBER) as "racun"
from BILL R, CUSTOMER K, CITY M, PAYMENT_METHOD N
where R.CUSTOMER_ID_BILL=K.CUSTOMER_ID
and K.ZIP_CODE_CUSTOMER=M.ZIP_CODE
and R.PAYMENT_METHOD_ID_BILL=N.PAYMENT_METHOD_ID
and R.BILL_ID=:P25_BILL_NUMBER
) as "data"
from dual
它说验证成功,但是在我的报告中显示了所有属性,但是缺少此部分:
cursor(select
S.ITEM_NUMBER as "rbr",
S.TRANSPORT_ITEM_ID as "sifra_usluge" ,
P.TRANSPORT_NAME as "naziv_usluge"
from BILL_ITEM S, TRANSPORT P
where P.TRANSPORT_ID=S.TRANSPORT_ITEM_ID
and S.ITEM_BILL_ID=:P25_BILL_NUMBER
order by S.ITEM_NUMBER) as "racun"
有人知道我在想什么吗?