Wednesday, January 18, 2017

How to get address details in oracle (code)

select

hl.ADDRESS1,

hl.ADDRESS2,
hl.ADDRESS3,
hl.ADDRESS4,
hl.STATE,
hl.CITY,
hl.POSTAL_CODE ,
hca.account_number
from hz_locations hl,
hz_cust_accounts   hca,
hz_parties  hp,
hz_party_sites   hps,
hz_cust_acct_sites_all  hcasa
where      hp.party_id      = hca.party_id
and  hp.party_id      = hps.party_id
and  hps.location_id  = hl.location_id
and  hca.cust_account_id     = hcasa.cust_account_id
and  hcasa.party_site_id     = hps.party_site_id

No comments:

Post a Comment

Oracle Fusion - Cost Lines and Expenditure Item link in Projects

SELECT   ccd.transaction_id,ex.expenditure_item_id,cacat.serial_number FROM fusion.CST_INV_TRANSACTIONS cit,   fusion.cst_cost_distribution_...