APEX Office打印中的数据源错误

问题描述 投票:0回答:1

这是我用于运行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"  

有人知道我在想什么吗?

sql report oracle-apex
1个回答
0
投票
我的猜测是,AOP通过在“受影响的元素”中指定该项目将其视为空,它将将该项目的值置于会话状态。
© www.soinside.com 2019 - 2024. All rights reserved.