Professional Documents
Culture Documents
All Istore Queries
All Istore Queries
---------------------------------------------------------------------------------
Query to get the customer name and the corresponding registry id?
SELECT party_number AS
"Registry Id",
party_name AS
"Customer Name" ,
HZC.Account_number as "Account Number"
FROM hz_parties HZ , hz_cust_accounts_all HZC
WHERE party_type LIKE 'ORGANIZATION'
and HZC.party_id(+) = HZ.party_id
---------------------------------------------------------------------------------
SELECT a.user_name
,a.description
,a.email_address
,b.responsibility_name
FROM FND_USER a
,fnd_responsibility_tl b
,FND_USER_RESP_GROUPS_DIRECT c
WHERE 1=1
AND a.user_id=c.user_id
AND b.responsibility_id=c.responsibility_id
and b.responsibility_name like 'CTT AUK iStore User'
AND a.end_date IS NULL
AND c.end_date IS NULL
ORDER BY a.user_name
-----------------------------------------------------------------------------------
-
query gives the associated customer name, account number, the price list name for a
given user name
-----------------------------------------------------------------------------------
----