Lookup for Customer Class code
select lookup_type,lookup_code,meaning from ar_lookups where lookup_type in (select class_category from HZ_CLASS_CATEGORIES);
Lookup for Customer Type
select lookup_type,lookup_code,meaning from ar_lookups where lookup_type='CUSTOMER_TYPE';
Lookup for Party Type
select lookup_type,lookup_code,meaning,description from ar_lookups where lookup_type='PARTY_TYPE';
Lookup for Sales Channel
select lookup_type,lookup_code,meaning from oe_lookups where lookup_type='SALES_CHANNEL';
Lookup for SIC code
select lookup_type,lookup_code,meaning from ar_lookups where lookup_type='SIC_CODE_TYPE';
Lookup for Status
SELECT lookup_type,lookup_code,
meaning,
start_date_active,
end_date_active,
description
FROM ar_lookups
WHERE lookup_type = 'REGISTRY_STATUS'
AND enabled_flag = 'Y';
Lookup for Territory/Countries
SELECT TERRITORY_CODE,NLS_TERRITORY FROM FND_TERRITORIES;
select lookup_type,lookup_code,meaning from ar_lookups where lookup_type in (select class_category from HZ_CLASS_CATEGORIES);
Lookup for Customer Type
select lookup_type,lookup_code,meaning from ar_lookups where lookup_type='CUSTOMER_TYPE';
Lookup for Party Type
select lookup_type,lookup_code,meaning,description from ar_lookups where lookup_type='PARTY_TYPE';
Lookup for Sales Channel
select lookup_type,lookup_code,meaning from oe_lookups where lookup_type='SALES_CHANNEL';
Lookup for SIC code
select lookup_type,lookup_code,meaning from ar_lookups where lookup_type='SIC_CODE_TYPE';
Lookup for Status
SELECT lookup_type,lookup_code,
meaning,
start_date_active,
end_date_active,
description
FROM ar_lookups
WHERE lookup_type = 'REGISTRY_STATUS'
AND enabled_flag = 'Y';
Lookup for Territory/Countries
SELECT TERRITORY_CODE,NLS_TERRITORY FROM FND_TERRITORIES;
0 comments:
Post a Comment