DBA Data[Home] [Help]

APPS.HZ_MIGRATE_MOSR_REFERENCES dependencies on HZ_PARTIES

Line 9: from hz_parties party where orig_system_reference is not null and status in ('A','I')

5:
6: cursor parties is
7: select orig_system_reference, party_id, created_by, nvl(created_by_module,'TCA'),
8: nvl(application_id,'222'), creation_date,last_updated_by, last_update_date, nvl(last_update_login,-1)
9: from hz_parties party where orig_system_reference is not null and status in ('A','I')
10: and not exists(select 'X' from hz_orig_sys_references osr
11: where party.party_id = osr.owner_table_id
12: and osr.owner_table_name = 'HZ_PARTIES'
13: and osr.orig_system = 'UNKNOWN'

Line 12: and osr.owner_table_name = 'HZ_PARTIES'

8: nvl(application_id,'222'), creation_date,last_updated_by, last_update_date, nvl(last_update_login,-1)
9: from hz_parties party where orig_system_reference is not null and status in ('A','I')
10: and not exists(select 'X' from hz_orig_sys_references osr
11: where party.party_id = osr.owner_table_id
12: and osr.owner_table_name = 'HZ_PARTIES'
13: and osr.orig_system = 'UNKNOWN'
14: and party.orig_system_reference =
15: osr.orig_system_reference
16: and osr.status = 'A')

Line 17: and not exists(select 'N' from hz_orig_sys_mapping where owner_table_name='HZ_PARTIES' and multiple_flag='N' and orig_system='UNKNOWN');

13: and osr.orig_system = 'UNKNOWN'
14: and party.orig_system_reference =
15: osr.orig_system_reference
16: and osr.status = 'A')
17: and not exists(select 'N' from hz_orig_sys_mapping where owner_table_name='HZ_PARTIES' and multiple_flag='N' and orig_system='UNKNOWN');
18:
19: cursor locations is
20: select orig_system_reference, location_id, created_by, nvl(created_by_module,'TCA'),
21: nvl(application_id,'222'), creation_date,last_updated_by, last_update_date, nvl(last_update_login,-1)

Line 146: values(hz_orig_system_ref_s.nextval,'UNKNOWN', orig_sys_ref(i), 'HZ_PARTIES', party_id(i),

142: (orig_system_ref_id, orig_system, orig_system_reference, owner_table_name, owner_table_id,
143: status, start_date_active, end_date_active, reason_code, created_by,
144: old_orig_system_reference, created_by_module, application_id, creation_date, last_updated_by,
145: last_update_date,last_update_login, object_version_number)
146: values(hz_orig_system_ref_s.nextval,'UNKNOWN', orig_sys_ref(i), 'HZ_PARTIES', party_id(i),
147: 'A', sysdate, null, null, created_by(i), null, created_by_module(i), appl_id(i),
148: creation_date(i), last_updated_by(i), last_update_date(i),
149: last_update_login(i), 1);
150: