Académique Documents
Professionnel Documents
Culture Documents
On-going Changes
Change of address
Change of phone number
Party
Site
Location
Customer
Party
Account
Site
Site
Location
Customer
Party Order
Account
Site Header
Site
Location Order
Detail
Party
Relationship
(Employment)
Relationship
Person Person Organization Organization
Party
Profile Party Party Profile
(Employee)
Party
Relationship
(Employment)
Relationship
Person Person Organization Organization
Party
Profile Party Party Profile
(Employee)
Party
Site
Location
Party
Relationship
(Employment)
Relationship
Person Person Organization Organization
Party
Profile Party Party Profile
(Employee)
Customer
Contact Account
Point
Customer
Party
Account
Site
Site
Location
Party
Relationship
(Employment)
Relationship
Person Person Organization Organization
Party
Profile Party Party Profile
(Employee)
Customer
Contact Account
Point
Customer
Party Order
Account
Site Header
Site
Location Order
Detail
select PP.party_id,
Party PPP.person_first_name,
Site PPP.person_last_name,
PS.party_site_id,
L.location_id,
L.address1
From finance.party PP
inner join finance.party_site PS
on (PS.party_id = PP.party_id)
Location inner join finance.location L
on (L.location_id = PS.location_id)
inner join finance.person_profile PPP
on (PPP.party_id = PP.party_id)
Where PPP.person_first_name = 'Thomas'
And PPP.person_last_name = 'Pruett'
And L.address1 like '10211 Skyflower%'
Customer
Party
Account
Site
Site
select CA.customer_account_id,
CA.business_unit_id,
CA.customer_num,
Location CA.party_id,
CAS.party_site_id,
CAS.address_type_code,
CAS.address_seq_num
From finance.customer_account CA
inner join finance.customer_account_site CAS
on (CAS.customer_account_id = CA.customer_account_id)
Where CA.party_id = 592887010;
CustAccount Buid Cust Num Party ID Party Site ID Addr Type Addr Seq
33742012 11 37779186 592887010 574667801 B 0
33742012 11 37779186 592887010 574667801 S 0
Customer
Party Order
Account
Site Header
Site
Location Order
Detail
select OH.business_unit_id,
OH.order_num,
OH.local_channel,
OH.customer_num,
CA.customer_account_id,
CA.party_id
From finance.order_header OH
inner join finance.customer_account CA
on (CA.business_unit_id = OH.business_unit_id
and CA.customer_num = OH.customer_num)
Where OH.business_unit_id = 11
and OH.order_num = '440992224';
Relationship
Person Person Organization Organization
Party
Profile Party Party Profile
(Employee)
Relationship
Person Person Organization Organization
Party
Profile Party Party Profile
(Employee)
Party
Site
Location
/* GEMS */
Email
select Sub.subscriber_id,
Subscriber Sub.email_address,
Sub.first_name,
Sub.last_name,
Email Sub.emailable_flag,
S2.country_code,
Subscription
S2.subscription_id,
S2.version_id,
S2.emailable_flag
From marcom.email_subscriber Sub
inner join marcom.email_subscription S2
on (S2.subscriber_id = Sub.subscriber_id)
where Sub.email_address = 'thomas_pruett@dell.com'
and Sub.subscriber_id = 235591
;