Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
rownum s_no ,
org_name ,
org_code ,
customer_number ,
customer_code ,
invoice_number ,
trx_date transaction_date ,
curr currency ,
amount ,
invoice_type ,
nvl(salesman_name,RESOURCE_NAME) salesman_name
from
a.TRX_DATE , a.CUST_TRX_TYPE_ID ,
a.SET_OF_BOOKS_ID , a.BILL_TO_ADDRESS_ID ,
a.PRIMARY_SALESREP_ID , a.PAYING_SITE_USE_ID ,
i.RESOURCE_NAME ,
h.meaning invoice_type
from ra_customer_trx_all a ,
hr_operating_units b ,
ra_cust_trx_types_all c ,
jtf_rs_salesreps d ,
hz_cust_site_uses_all e ,
hz_cust_accounts f ,
ra_customer_trx_lines_all g ,
ar_lookups h ,
jtf_rs_resource_extns_vl i
order by b.name
/
select * from ra_customer_trx_all where trx_number = 'DN156360';
from ra_customer_trx_all
where PRIMARY_SALESREP_ID
in
from jtf_rs_salesreps
);
jtf_rs_salesreps
select * from all_objects where object_name like 'RA%' and object_type = 'TABLE'
RA_CUSTOMER_TRX_V
RA_CUST_TRX_LINE_V