Below is the Query to get the sales order header details, which includes customer information.
*************************************************************************************
SELECT ooh.order_number,
hp.party_name customer_name,
hca.account_number customer_number,
hl.address1,
hl.address2,
hl.city,
hl.state,
hl.postal_code,
hl.country,
hl.province,
hl.county
FROM oe_order_headers_all ooh,
hz_cust_site_uses_all hcsu,
hz_cust_acct_sites_all hcas,
hz_party_sites hps,
hz_locations hl,
hz_parties hp,
hz_cust_accounts hca
WHERE ooh.invoice_to_org_id = hcsu.site_use_id
AND hcsu.cust_acct_site_id = hcas.cust_acct_site_id
AND hcas.party_site_id = hps.party_site_id
AND hps.location_id = hl.location_id
AND hps.party_id = hp.party_id
AND hp.party_id = hca.party_id
AND order_number = :p_order_number;
*************************************************************************************
Let me know, if any questions.
Thanks, ...
*************************************************************************************
SELECT ooh.order_number,
hp.party_name customer_name,
hca.account_number customer_number,
hl.address1,
hl.address2,
hl.city,
hl.state,
hl.postal_code,
hl.country,
hl.province,
hl.county
FROM oe_order_headers_all ooh,
hz_cust_site_uses_all hcsu,
hz_cust_acct_sites_all hcas,
hz_party_sites hps,
hz_locations hl,
hz_parties hp,
hz_cust_accounts hca
WHERE ooh.invoice_to_org_id = hcsu.site_use_id
AND hcsu.cust_acct_site_id = hcas.cust_acct_site_id
AND hcas.party_site_id = hps.party_site_id
AND hps.location_id = hl.location_id
AND hps.party_id = hp.party_id
AND hp.party_id = hca.party_id
AND order_number = :p_order_number;
*************************************************************************************
Let me know, if any questions.
Thanks, ...
Good info On Oracle apps Oracle apps info
ReplyDeleteGood info On Oracle apps Oracle apps info
ReplyDeletePositive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work.
ReplyDeletemobile phone repair in Louisville
iphone repair in Louisville
cell phone repair in Louisville
phone repair in Louisville
ipad repair in Auburn Hills
tablet repair in Louisville
ipad repair in Louisville
mobile phone repair Louisville
iphone repair Louisville
cell phone repair Louisville
cheap hidden cameras
ismartalarm camera
dymo label maker
Waterproof Action Camera
Coleman full size air mattress
womens cotton long johns
APPLE WATCH SERIES 3 INFORMATION
Winter Cycling Jackets For Men
mmorpg oyunlar
ReplyDeleteinstagram takipçi satın al
Tiktok jeton hilesi
Tiktok Jeton Hilesi
antalya saç ekimi
referans kimliği nedir
İnstagram Takipçi Satın Al
metin2 pvp serverlar
Takipci Satın Al
Smm panel
ReplyDeleteSmm panel
iş ilanları
instagram takipçi satın al
hirdavatci burada
beyazesyateknikservisi.com.tr
servis
tiktok jeton hilesi
bilecik
ReplyDeletebüyükçekmece
demre
düzce
esenler
OG10
yurtdışı kargo
ReplyDeleteresimli magnet
instagram takipçi satın al
yurtdışı kargo
sms onay
dijital kartvizit
dijital kartvizit
https://nobetci-eczane.org/
YK6
salt likit
ReplyDeletesalt likit
EPAC5
resimli magnet
ReplyDeleteresimli magnet
çerkezköy çatı ustası
silivri çatı ustası
dijital kartvizit
2VCQG