DBA Data[Home] [Help]

APPS.IBE_PARTY_V2PVT dependencies on IBE_UTIL

Line 57: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

53: l_contact_preference_id NUMBER;
54:
55: l_account_id NUMBER;
56: BEGIN
57: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
58: IBE_UTIL.debug('enter ibe_party_v2pvt.create_individual_user');
59: END IF;
60:
61:

Line 58: IBE_UTIL.debug('enter ibe_party_v2pvt.create_individual_user');

54:
55: l_account_id NUMBER;
56: BEGIN
57: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
58: IBE_UTIL.debug('enter ibe_party_v2pvt.create_individual_user');
59: END IF;
60:
61:
62:

Line 70: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

66:
67: -- Initialize API return status to success
68: x_return_status := FND_API.G_RET_STS_SUCCESS;
69:
70: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
71: IBE_UTIL.debug('Call Create_Person() API');
72: END IF;
73:
74: -- calling internal API to create_person

Line 71: IBE_UTIL.debug('Call Create_Person() API');

67: -- Initialize API return status to success
68: x_return_status := FND_API.G_RET_STS_SUCCESS;
69:
70: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
71: IBE_UTIL.debug('Call Create_Person() API');
72: END IF;
73:
74: -- calling internal API to create_person
75:

Line 89: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

85: x_return_status => x_return_status,
86: x_msg_count => x_msg_count,
87: x_msg_data => x_msg_data);
88:
89: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
90: IBE_UTIL.debug('After call to Create_Person - x_return_status : '|| x_return_status);
91: IBE_UTIL.debug('After call to Create_Person - x_msg_count: '|| x_msg_count);
92: IBE_UTIL.debug('After call to Create_Person - x_msg_data : '|| x_msg_data);
93: END IF;

Line 90: IBE_UTIL.debug('After call to Create_Person - x_return_status : '|| x_return_status);

86: x_msg_count => x_msg_count,
87: x_msg_data => x_msg_data);
88:
89: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
90: IBE_UTIL.debug('After call to Create_Person - x_return_status : '|| x_return_status);
91: IBE_UTIL.debug('After call to Create_Person - x_msg_count: '|| x_msg_count);
92: IBE_UTIL.debug('After call to Create_Person - x_msg_data : '|| x_msg_data);
93: END IF;
94: IF x_return_status = FND_API.G_RET_STS_ERROR THEN

Line 91: IBE_UTIL.debug('After call to Create_Person - x_msg_count: '|| x_msg_count);

87: x_msg_data => x_msg_data);
88:
89: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
90: IBE_UTIL.debug('After call to Create_Person - x_return_status : '|| x_return_status);
91: IBE_UTIL.debug('After call to Create_Person - x_msg_count: '|| x_msg_count);
92: IBE_UTIL.debug('After call to Create_Person - x_msg_data : '|| x_msg_data);
93: END IF;
94: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
95: RAISE FND_API.G_EXC_ERROR;

Line 92: IBE_UTIL.debug('After call to Create_Person - x_msg_data : '|| x_msg_data);

88:
89: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
90: IBE_UTIL.debug('After call to Create_Person - x_return_status : '|| x_return_status);
91: IBE_UTIL.debug('After call to Create_Person - x_msg_count: '|| x_msg_count);
92: IBE_UTIL.debug('After call to Create_Person - x_msg_data : '|| x_msg_data);
93: END IF;
94: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
95: RAISE FND_API.G_EXC_ERROR;
96: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 100: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

96: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
97: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
98: END IF;
99:
100: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
101: IBE_UTIL.debug('After call to Create_Person - party_id : ' || x_person_party_id);
102: END IF;
103:
104:

Line 101: IBE_UTIL.debug('After call to Create_Person - party_id : ' || x_person_party_id);

97: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
98: END IF;
99:
100: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
101: IBE_UTIL.debug('After call to Create_Person - party_id : ' || x_person_party_id);
102: END IF;
103:
104:
105: -- set the preference value and call update_contact_preference

Line 114: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

110: else
111: l_preference := 'DO_NOT';
112: end if;
113:
114: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
115: IBE_UTIL.debug('Before call to Update_Contact_Preference');
116: END IF;
117:
118: Update_Contact_Preference(p_party_id => x_person_party_id,

Line 115: IBE_UTIL.debug('Before call to Update_Contact_Preference');

111: l_preference := 'DO_NOT';
112: end if;
113:
114: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
115: IBE_UTIL.debug('Before call to Update_Contact_Preference');
116: END IF;
117:
118: Update_Contact_Preference(p_party_id => x_person_party_id,
119: p_preference => l_preference,

Line 126: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

122: x_return_status => x_return_status,
123: x_msg_count => x_msg_count,
124: x_msg_data => x_msg_data);
125:
126: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
127: IBE_UTIL.debug('After call to Update_Contact_Preference - x_return_status : '|| x_return_status);
128: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_count : '|| x_msg_count);
129: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_data : '|| x_msg_data);
130: END IF;

Line 127: IBE_UTIL.debug('After call to Update_Contact_Preference - x_return_status : '|| x_return_status);

123: x_msg_count => x_msg_count,
124: x_msg_data => x_msg_data);
125:
126: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
127: IBE_UTIL.debug('After call to Update_Contact_Preference - x_return_status : '|| x_return_status);
128: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_count : '|| x_msg_count);
129: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_data : '|| x_msg_data);
130: END IF;
131:

Line 128: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_count : '|| x_msg_count);

124: x_msg_data => x_msg_data);
125:
126: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
127: IBE_UTIL.debug('After call to Update_Contact_Preference - x_return_status : '|| x_return_status);
128: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_count : '|| x_msg_count);
129: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_data : '|| x_msg_data);
130: END IF;
131:
132: IF x_return_status = FND_API.G_RET_STS_ERROR THEN

Line 129: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_data : '|| x_msg_data);

125:
126: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
127: IBE_UTIL.debug('After call to Update_Contact_Preference - x_return_status : '|| x_return_status);
128: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_count : '|| x_msg_count);
129: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_data : '|| x_msg_data);
130: END IF;
131:
132: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
133: RAISE FND_API.G_EXC_ERROR;

Line 138: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

134: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
135: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
136: END IF;
137:
138: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
139: IBE_UTIL.debug('After call to Update_Contact_Preference - x_contact_preference_id : ' || l_contact_preference_id);
140: END IF;
141:
142:

Line 139: IBE_UTIL.debug('After call to Update_Contact_Preference - x_contact_preference_id : ' || l_contact_preference_id);

135: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
136: END IF;
137:
138: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
139: IBE_UTIL.debug('After call to Update_Contact_Preference - x_contact_preference_id : ' || l_contact_preference_id);
140: END IF;
141:
142:
143: -- Call Create_User to create user in FND by setting

Line 156: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

152: p_email_address => p_email_rec.email_address,
153: p_customer_id => x_person_party_id,
154: x_user_id => x_user_id);
155:
156: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
157: IBE_UTIL.debug('After call to Create_User - x_user_id : '|| to_char(x_user_id));
158: END IF;
159:
160: if (x_user_id is null) then

Line 157: IBE_UTIL.debug('After call to Create_User - x_user_id : '|| to_char(x_user_id));

153: p_customer_id => x_person_party_id,
154: x_user_id => x_user_id);
155:
156: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
157: IBE_UTIL.debug('After call to Create_User - x_user_id : '|| to_char(x_user_id));
158: END IF;
159:
160: if (x_user_id is null) then
161: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 174: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

170: p_count => x_msg_count,
171: p_data => x_msg_data
172: );
173:
174: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
175: IBE_UTIL.debug('exit ibe_party_v2.create_individual_user');
176: END IF;
177:
178:

Line 175: IBE_UTIL.debug('exit ibe_party_v2.create_individual_user');

171: p_data => x_msg_data
172: );
173:
174: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
175: IBE_UTIL.debug('exit ibe_party_v2.create_individual_user');
176: END IF;
177:
178:
179: EXCEPTION

Line 191: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

187: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
188: p_data => x_msg_data,
189: p_encoded => 'F');
190:
191: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
192: IBE_UTIL.debug('G_EXC_ERROR exception');
193: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
194: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
195: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 192: IBE_UTIL.debug('G_EXC_ERROR exception');

188: p_data => x_msg_data,
189: p_encoded => 'F');
190:
191: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
192: IBE_UTIL.debug('G_EXC_ERROR exception');
193: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
194: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
195: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
196: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 193: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

189: p_encoded => 'F');
190:
191: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
192: IBE_UTIL.debug('G_EXC_ERROR exception');
193: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
194: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
195: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
196: IBE_UTIL.debug('error text : '|| SQLERRM);
197: END IF;

Line 194: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

190:
191: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
192: IBE_UTIL.debug('G_EXC_ERROR exception');
193: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
194: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
195: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
196: IBE_UTIL.debug('error text : '|| SQLERRM);
197: END IF;
198:

Line 195: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

191: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
192: IBE_UTIL.debug('G_EXC_ERROR exception');
193: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
194: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
195: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
196: IBE_UTIL.debug('error text : '|| SQLERRM);
197: END IF;
198:
199: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 196: IBE_UTIL.debug('error text : '|| SQLERRM);

192: IBE_UTIL.debug('G_EXC_ERROR exception');
193: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
194: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
195: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
196: IBE_UTIL.debug('error text : '|| SQLERRM);
197: END IF;
198:
199: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
200:

Line 208: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

204: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
205: p_data => x_msg_data,
206: p_encoded => 'F');
207:
208: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
209: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
210: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
211: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
212: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 209: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');

205: p_data => x_msg_data,
206: p_encoded => 'F');
207:
208: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
209: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
210: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
211: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
212: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
213: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 210: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

206: p_encoded => 'F');
207:
208: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
209: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
210: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
211: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
212: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
213: IBE_UTIL.debug('error text : '|| SQLERRM);
214: END IF;

Line 211: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

207:
208: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
209: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
210: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
211: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
212: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
213: IBE_UTIL.debug('error text : '|| SQLERRM);
214: END IF;
215:

Line 212: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

208: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
209: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
210: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
211: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
212: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
213: IBE_UTIL.debug('error text : '|| SQLERRM);
214: END IF;
215:
216: WHEN OTHERS THEN

Line 213: IBE_UTIL.debug('error text : '|| SQLERRM);

209: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
210: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
211: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
212: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
213: IBE_UTIL.debug('error text : '|| SQLERRM);
214: END IF;
215:
216: WHEN OTHERS THEN
217:

Line 229: --IBE_UTIL.debug('OTHER exception');

225: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
226: p_data => x_msg_data,
227: p_encoded => 'F');
228:
229: --IBE_UTIL.debug('OTHER exception');
230: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
231: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
232: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
233: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 230: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

226: p_data => x_msg_data,
227: p_encoded => 'F');
228:
229: --IBE_UTIL.debug('OTHER exception');
230: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
231: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
232: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
233: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
234: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 231: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

227: p_encoded => 'F');
228:
229: --IBE_UTIL.debug('OTHER exception');
230: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
231: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
232: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
233: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
234: IBE_UTIL.debug('error text : '|| SQLERRM);
235: END IF;

Line 232: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

228:
229: --IBE_UTIL.debug('OTHER exception');
230: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
231: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
232: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
233: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
234: IBE_UTIL.debug('error text : '|| SQLERRM);
235: END IF;
236:

Line 233: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

229: --IBE_UTIL.debug('OTHER exception');
230: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
231: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
232: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
233: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
234: IBE_UTIL.debug('error text : '|| SQLERRM);
235: END IF;
236:
237: END create_individual_user;

Line 234: IBE_UTIL.debug('error text : '|| SQLERRM);

230: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
231: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
232: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
233: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
234: IBE_UTIL.debug('error text : '|| SQLERRM);
235: END IF;
236:
237: END create_individual_user;
238:

Line 302: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

298: p_org_num HZ_PARTIES.PARTY_NUMBER%TYPE := null;
299: l_account_id NUMBER;
300: --p_party_rec HZ_PARTY_V2PUB.party_rec_type;
301: BEGIN
302: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
303: IBE_UTIL.debug('enter ibe_party_v2pvt.create_business_user');
304: END IF;
305:
306:

Line 303: IBE_UTIL.debug('enter ibe_party_v2pvt.create_business_user');

299: l_account_id NUMBER;
300: --p_party_rec HZ_PARTY_V2PUB.party_rec_type;
301: BEGIN
302: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
303: IBE_UTIL.debug('enter ibe_party_v2pvt.create_business_user');
304: END IF;
305:
306:
307: -- initialize message list

Line 315: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

311: -- Initialize API return status to success
312: x_return_status := FND_API.G_RET_STS_SUCCESS;
313: -- Check whether Organization exists
314:
315: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
316: IBE_UTIL.debug('Party_number : '||p_organization_rec.party_rec.party_number);
317: END IF;
318: if (( p_organization_rec.party_rec.party_number is not null) AND
319: ( p_organization_rec.party_rec.party_number <> FND_API.G_MISS_CHAR)) then

Line 316: IBE_UTIL.debug('Party_number : '||p_organization_rec.party_rec.party_number);

312: x_return_status := FND_API.G_RET_STS_SUCCESS;
313: -- Check whether Organization exists
314:
315: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
316: IBE_UTIL.debug('Party_number : '||p_organization_rec.party_rec.party_number);
317: END IF;
318: if (( p_organization_rec.party_rec.party_number is not null) AND
319: ( p_organization_rec.party_rec.party_number <> FND_API.G_MISS_CHAR)) then
320: p_org_num := p_organization_rec.party_rec.party_number;

Line 322: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

318: if (( p_organization_rec.party_rec.party_number is not null) AND
319: ( p_organization_rec.party_rec.party_number <> FND_API.G_MISS_CHAR)) then
320: p_org_num := p_organization_rec.party_rec.party_number;
321: end if;
322: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
323: IBE_UTIL.debug('Party_name : '||p_organization_rec.organization_name);
324: END IF;
325: if ((p_organization_rec.organization_name is not null) AND
326: (p_organization_rec.organization_name <> FND_API.G_MISS_CHAR)) then

Line 323: IBE_UTIL.debug('Party_name : '||p_organization_rec.organization_name);

319: ( p_organization_rec.party_rec.party_number <> FND_API.G_MISS_CHAR)) then
320: p_org_num := p_organization_rec.party_rec.party_number;
321: end if;
322: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
323: IBE_UTIL.debug('Party_name : '||p_organization_rec.organization_name);
324: END IF;
325: if ((p_organization_rec.organization_name is not null) AND
326: (p_organization_rec.organization_name <> FND_API.G_MISS_CHAR)) then
327: p_org_name := p_organization_rec.organization_name;

Line 329: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

325: if ((p_organization_rec.organization_name is not null) AND
326: (p_organization_rec.organization_name <> FND_API.G_MISS_CHAR)) then
327: p_org_name := p_organization_rec.organization_name;
328: end if;
329: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
330: IBE_UTIL.debug('p_org_num : '||p_org_num);
331: IBE_UTIL.debug('p_org_name : '||p_org_name);
332: IBE_UTIL.debug('Before p_org_nname not null');
333: END IF;

Line 330: IBE_UTIL.debug('p_org_num : '||p_org_num);

326: (p_organization_rec.organization_name <> FND_API.G_MISS_CHAR)) then
327: p_org_name := p_organization_rec.organization_name;
328: end if;
329: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
330: IBE_UTIL.debug('p_org_num : '||p_org_num);
331: IBE_UTIL.debug('p_org_name : '||p_org_name);
332: IBE_UTIL.debug('Before p_org_nname not null');
333: END IF;
334: --p_org_name := p_organization_rec.organization_name;

Line 331: IBE_UTIL.debug('p_org_name : '||p_org_name);

327: p_org_name := p_organization_rec.organization_name;
328: end if;
329: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
330: IBE_UTIL.debug('p_org_num : '||p_org_num);
331: IBE_UTIL.debug('p_org_name : '||p_org_name);
332: IBE_UTIL.debug('Before p_org_nname not null');
333: END IF;
334: --p_org_name := p_organization_rec.organization_name;
335:

Line 332: IBE_UTIL.debug('Before p_org_nname not null');

328: end if;
329: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
330: IBE_UTIL.debug('p_org_num : '||p_org_num);
331: IBE_UTIL.debug('p_org_name : '||p_org_name);
332: IBE_UTIL.debug('Before p_org_nname not null');
333: END IF;
334: --p_org_name := p_organization_rec.organization_name;
335:
336: if ((p_org_name is not null) ) then

Line 338: /* IBE_UTIL.debug('Call Find_Organization()in p_org_name not null API');

334: --p_org_name := p_organization_rec.organization_name;
335:
336: if ((p_org_name is not null) ) then
337: /* Removing duplicate org name check */
338: /* IBE_UTIL.debug('Call Find_Organization()in p_org_name not null API');
339:
340: If ( Find_Organization(x_org_id => x_org_party_id,
341: x_org_num => p_org_num,
342: x_org_name =>p_org_name

Line 344: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

340: If ( Find_Organization(x_org_id => x_org_party_id,
341: x_org_num => p_org_num,
342: x_org_name =>p_org_name
343: )) then
344: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
345: IBE_UTIL.debug('Inside find_organization - x_org_party_id : '||x_org_party_id);
346: IBE_UTIL.debug('Inside find_organization - x_org_num : '||p_org_num);
347: IBE_UTIL.debug('Inside find_organization - x_org_name : '||p_org_name);
348: END IF;

Line 345: IBE_UTIL.debug('Inside find_organization - x_org_party_id : '||x_org_party_id);

341: x_org_num => p_org_num,
342: x_org_name =>p_org_name
343: )) then
344: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
345: IBE_UTIL.debug('Inside find_organization - x_org_party_id : '||x_org_party_id);
346: IBE_UTIL.debug('Inside find_organization - x_org_num : '||p_org_num);
347: IBE_UTIL.debug('Inside find_organization - x_org_name : '||p_org_name);
348: END IF;
349:

Line 346: IBE_UTIL.debug('Inside find_organization - x_org_num : '||p_org_num);

342: x_org_name =>p_org_name
343: )) then
344: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
345: IBE_UTIL.debug('Inside find_organization - x_org_party_id : '||x_org_party_id);
346: IBE_UTIL.debug('Inside find_organization - x_org_num : '||p_org_num);
347: IBE_UTIL.debug('Inside find_organization - x_org_name : '||p_org_name);
348: END IF;
349:
350: FND_MESSAGE.SET_NAME('IBE','IBE_ERR_UM_ORG_EXISTS');

Line 347: IBE_UTIL.debug('Inside find_organization - x_org_name : '||p_org_name);

343: )) then
344: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
345: IBE_UTIL.debug('Inside find_organization - x_org_party_id : '||x_org_party_id);
346: IBE_UTIL.debug('Inside find_organization - x_org_num : '||p_org_num);
347: IBE_UTIL.debug('Inside find_organization - x_org_name : '||p_org_name);
348: END IF;
349:
350: FND_MESSAGE.SET_NAME('IBE','IBE_ERR_UM_ORG_EXISTS');
351: FND_MSG_PUB.ADD;

Line 356: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

352: RAISE FND_API.G_EXC_ERROR;
353: end if;
354: else
355: */
356: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
357: IBE_UTIL.debug('Before Call to Create Organization');
358: IBE_UTIL.debug('Before Call to Create Organization address1 :'|| p_location_rec.address1);
359: IBE_UTIL.debug('Before Call to Create Organization country :'||p_location_rec.country);
360: IBE_UTIL.debug('Before Call to Create Organization city :'||p_location_rec.city);

Line 357: IBE_UTIL.debug('Before Call to Create Organization');

353: end if;
354: else
355: */
356: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
357: IBE_UTIL.debug('Before Call to Create Organization');
358: IBE_UTIL.debug('Before Call to Create Organization address1 :'|| p_location_rec.address1);
359: IBE_UTIL.debug('Before Call to Create Organization country :'||p_location_rec.country);
360: IBE_UTIL.debug('Before Call to Create Organization city :'||p_location_rec.city);
361: END IF;

Line 358: IBE_UTIL.debug('Before Call to Create Organization address1 :'|| p_location_rec.address1);

354: else
355: */
356: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
357: IBE_UTIL.debug('Before Call to Create Organization');
358: IBE_UTIL.debug('Before Call to Create Organization address1 :'|| p_location_rec.address1);
359: IBE_UTIL.debug('Before Call to Create Organization country :'||p_location_rec.country);
360: IBE_UTIL.debug('Before Call to Create Organization city :'||p_location_rec.city);
361: END IF;
362: Create_Organization(

Line 359: IBE_UTIL.debug('Before Call to Create Organization country :'||p_location_rec.country);

355: */
356: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
357: IBE_UTIL.debug('Before Call to Create Organization');
358: IBE_UTIL.debug('Before Call to Create Organization address1 :'|| p_location_rec.address1);
359: IBE_UTIL.debug('Before Call to Create Organization country :'||p_location_rec.country);
360: IBE_UTIL.debug('Before Call to Create Organization city :'||p_location_rec.city);
361: END IF;
362: Create_Organization(
363: p_organization_rec =>p_organization_rec,

Line 360: IBE_UTIL.debug('Before Call to Create Organization city :'||p_location_rec.city);

356: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
357: IBE_UTIL.debug('Before Call to Create Organization');
358: IBE_UTIL.debug('Before Call to Create Organization address1 :'|| p_location_rec.address1);
359: IBE_UTIL.debug('Before Call to Create Organization country :'||p_location_rec.country);
360: IBE_UTIL.debug('Before Call to Create Organization city :'||p_location_rec.city);
361: END IF;
362: Create_Organization(
363: p_organization_rec =>p_organization_rec,
364: p_location_rec =>p_location_rec,

Line 388: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

384: RAISE FND_API.G_EXC_ERROR;
385: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
386: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
387: END IF;
388: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
389: IBE_UTIL.debug('After call to Create_Organization - x_return_status : '|| x_return_status);
390: IBE_UTIL.debug('After call to Create_Organization - x_msg_count : '|| x_msg_count);
391: IBE_UTIL.debug('After call to Create_Organization - x_msg_data : '|| x_msg_data);
392: IBE_UTIL.debug('After Create Organization x_org_party_id :' || x_org_party_id);

Line 389: IBE_UTIL.debug('After call to Create_Organization - x_return_status : '|| x_return_status);

385: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
386: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
387: END IF;
388: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
389: IBE_UTIL.debug('After call to Create_Organization - x_return_status : '|| x_return_status);
390: IBE_UTIL.debug('After call to Create_Organization - x_msg_count : '|| x_msg_count);
391: IBE_UTIL.debug('After call to Create_Organization - x_msg_data : '|| x_msg_data);
392: IBE_UTIL.debug('After Create Organization x_org_party_id :' || x_org_party_id);
393: END IF;

Line 390: IBE_UTIL.debug('After call to Create_Organization - x_msg_count : '|| x_msg_count);

386: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
387: END IF;
388: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
389: IBE_UTIL.debug('After call to Create_Organization - x_return_status : '|| x_return_status);
390: IBE_UTIL.debug('After call to Create_Organization - x_msg_count : '|| x_msg_count);
391: IBE_UTIL.debug('After call to Create_Organization - x_msg_data : '|| x_msg_data);
392: IBE_UTIL.debug('After Create Organization x_org_party_id :' || x_org_party_id);
393: END IF;
394:

Line 391: IBE_UTIL.debug('After call to Create_Organization - x_msg_data : '|| x_msg_data);

387: END IF;
388: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
389: IBE_UTIL.debug('After call to Create_Organization - x_return_status : '|| x_return_status);
390: IBE_UTIL.debug('After call to Create_Organization - x_msg_count : '|| x_msg_count);
391: IBE_UTIL.debug('After call to Create_Organization - x_msg_data : '|| x_msg_data);
392: IBE_UTIL.debug('After Create Organization x_org_party_id :' || x_org_party_id);
393: END IF;
394:
395: elsif (p_org_num is not null) then

Line 392: IBE_UTIL.debug('After Create Organization x_org_party_id :' || x_org_party_id);

388: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
389: IBE_UTIL.debug('After call to Create_Organization - x_return_status : '|| x_return_status);
390: IBE_UTIL.debug('After call to Create_Organization - x_msg_count : '|| x_msg_count);
391: IBE_UTIL.debug('After call to Create_Organization - x_msg_data : '|| x_msg_data);
392: IBE_UTIL.debug('After Create Organization x_org_party_id :' || x_org_party_id);
393: END IF;
394:
395: elsif (p_org_num is not null) then
396: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 396: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

392: IBE_UTIL.debug('After Create Organization x_org_party_id :' || x_org_party_id);
393: END IF;
394:
395: elsif (p_org_num is not null) then
396: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
397: IBE_UTIL.debug('Call Find_Organization()in p_org_num not null API');
398: END IF;
399: if (not Find_Organization(x_org_id => x_org_party_id,
400: x_org_num => p_org_num,

Line 397: IBE_UTIL.debug('Call Find_Organization()in p_org_num not null API');

393: END IF;
394:
395: elsif (p_org_num is not null) then
396: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
397: IBE_UTIL.debug('Call Find_Organization()in p_org_num not null API');
398: END IF;
399: if (not Find_Organization(x_org_id => x_org_party_id,
400: x_org_num => p_org_num,
401: x_org_name => p_org_name)) then

Line 402: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

398: END IF;
399: if (not Find_Organization(x_org_id => x_org_party_id,
400: x_org_num => p_org_num,
401: x_org_name => p_org_name)) then
402: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
403: IBE_UTIL.debug('Inside NOT find_organization - x_org_party_id : '||x_org_party_id);
404: IBE_UTIL.debug('Inside NOT find_organization - x_org_num :'||p_org_num);
405: IBE_UTIL.debug('Inside NOT find_organization - x_org_name : '||p_org_name);
406: END IF;

Line 403: IBE_UTIL.debug('Inside NOT find_organization - x_org_party_id : '||x_org_party_id);

399: if (not Find_Organization(x_org_id => x_org_party_id,
400: x_org_num => p_org_num,
401: x_org_name => p_org_name)) then
402: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
403: IBE_UTIL.debug('Inside NOT find_organization - x_org_party_id : '||x_org_party_id);
404: IBE_UTIL.debug('Inside NOT find_organization - x_org_num :'||p_org_num);
405: IBE_UTIL.debug('Inside NOT find_organization - x_org_name : '||p_org_name);
406: END IF;
407: /* If organization does not exist then raise error */

Line 404: IBE_UTIL.debug('Inside NOT find_organization - x_org_num :'||p_org_num);

400: x_org_num => p_org_num,
401: x_org_name => p_org_name)) then
402: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
403: IBE_UTIL.debug('Inside NOT find_organization - x_org_party_id : '||x_org_party_id);
404: IBE_UTIL.debug('Inside NOT find_organization - x_org_num :'||p_org_num);
405: IBE_UTIL.debug('Inside NOT find_organization - x_org_name : '||p_org_name);
406: END IF;
407: /* If organization does not exist then raise error */
408: FND_MESSAGE.SET_NAME('IBE','IBE_ERR_UM_ORG_NOT_FOUND');

Line 405: IBE_UTIL.debug('Inside NOT find_organization - x_org_name : '||p_org_name);

401: x_org_name => p_org_name)) then
402: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
403: IBE_UTIL.debug('Inside NOT find_organization - x_org_party_id : '||x_org_party_id);
404: IBE_UTIL.debug('Inside NOT find_organization - x_org_num :'||p_org_num);
405: IBE_UTIL.debug('Inside NOT find_organization - x_org_name : '||p_org_name);
406: END IF;
407: /* If organization does not exist then raise error */
408: FND_MESSAGE.SET_NAME('IBE','IBE_ERR_UM_ORG_NOT_FOUND');
409: FND_MSG_PUB.ADD;

Line 421: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

417: -- Pass organization party id from the above api and as
418: -- p_org_id to create org contact also pass in the account_id if
419: -- cust_account_role needs to be created
420:
421: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
422: IBE_UTIL.debug('Before Create_Org_Contact');
423: END IF;
424: Create_Org_Contact(
425: p_person_rec => p_person_rec,

Line 422: IBE_UTIL.debug('Before Create_Org_Contact');

418: -- p_org_id to create org contact also pass in the account_id if
419: -- cust_account_role needs to be created
420:
421: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
422: IBE_UTIL.debug('Before Create_Org_Contact');
423: END IF;
424: Create_Org_Contact(
425: p_person_rec => p_person_rec,
426: p_relationship_type => 'EMPLOYEE_OF',

Line 446: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

442: END IF;
443:
444: x_rel_party_id := l_rel_party_id;
445:
446: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
447: IBE_UTIL.debug('After call to Create_Org_Contact - x_return_status : '|| x_return_status);
448: IBE_UTIL.debug('After call to Create_Org_Contact - x_msg_count : '|| x_msg_count);
449: IBE_UTIL.debug('After call to Create_Org_Contact - x_msg_data : '|| x_msg_data);
450: IBE_UTIL.debug('After Create_Org_Contact x_rel_party_id: '||x_rel_party_id);

Line 447: IBE_UTIL.debug('After call to Create_Org_Contact - x_return_status : '|| x_return_status);

443:
444: x_rel_party_id := l_rel_party_id;
445:
446: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
447: IBE_UTIL.debug('After call to Create_Org_Contact - x_return_status : '|| x_return_status);
448: IBE_UTIL.debug('After call to Create_Org_Contact - x_msg_count : '|| x_msg_count);
449: IBE_UTIL.debug('After call to Create_Org_Contact - x_msg_data : '|| x_msg_data);
450: IBE_UTIL.debug('After Create_Org_Contact x_rel_party_id: '||x_rel_party_id);
451: END IF;

Line 448: IBE_UTIL.debug('After call to Create_Org_Contact - x_msg_count : '|| x_msg_count);

444: x_rel_party_id := l_rel_party_id;
445:
446: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
447: IBE_UTIL.debug('After call to Create_Org_Contact - x_return_status : '|| x_return_status);
448: IBE_UTIL.debug('After call to Create_Org_Contact - x_msg_count : '|| x_msg_count);
449: IBE_UTIL.debug('After call to Create_Org_Contact - x_msg_data : '|| x_msg_data);
450: IBE_UTIL.debug('After Create_Org_Contact x_rel_party_id: '||x_rel_party_id);
451: END IF;
452: -- Populate contact_level_id with l_rel_party_id which is the

Line 449: IBE_UTIL.debug('After call to Create_Org_Contact - x_msg_data : '|| x_msg_data);

445:
446: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
447: IBE_UTIL.debug('After call to Create_Org_Contact - x_return_status : '|| x_return_status);
448: IBE_UTIL.debug('After call to Create_Org_Contact - x_msg_count : '|| x_msg_count);
449: IBE_UTIL.debug('After call to Create_Org_Contact - x_msg_data : '|| x_msg_data);
450: IBE_UTIL.debug('After Create_Org_Contact x_rel_party_id: '||x_rel_party_id);
451: END IF;
452: -- Populate contact_level_id with l_rel_party_id which is the
453: -- relationship_id and call Create_Contact_Preference to send marketing/promotional emails

Line 450: IBE_UTIL.debug('After Create_Org_Contact x_rel_party_id: '||x_rel_party_id);

446: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
447: IBE_UTIL.debug('After call to Create_Org_Contact - x_return_status : '|| x_return_status);
448: IBE_UTIL.debug('After call to Create_Org_Contact - x_msg_count : '|| x_msg_count);
449: IBE_UTIL.debug('After call to Create_Org_Contact - x_msg_data : '|| x_msg_data);
450: IBE_UTIL.debug('After Create_Org_Contact x_rel_party_id: '||x_rel_party_id);
451: END IF;
452: -- Populate contact_level_id with l_rel_party_id which is the
453: -- relationship_id and call Create_Contact_Preference to send marketing/promotional emails
454:

Line 461: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

457: Else
458: l_preference := 'DO_NOT';
459: End if;
460:
461: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
462: IBE_UTIL.debug('Before Update_Contact_Preference');
463: END IF;
464: Update_Contact_Preference(
465: p_party_id => x_rel_party_id ,

Line 462: IBE_UTIL.debug('Before Update_Contact_Preference');

458: l_preference := 'DO_NOT';
459: End if;
460:
461: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
462: IBE_UTIL.debug('Before Update_Contact_Preference');
463: END IF;
464: Update_Contact_Preference(
465: p_party_id => x_rel_party_id ,
466: p_preference => l_preference,

Line 477: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

473: if x_return_status <> FND_API.G_RET_STS_SUCCESS then
474: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
475: end if;
476:
477: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
478: IBE_UTIL.debug('After call to Update_Contact_Preference - x_return_status : '|| x_return_status);
479: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_count : '|| x_msg_count);
480: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_data : '|| x_msg_data);
481: END IF;

Line 478: IBE_UTIL.debug('After call to Update_Contact_Preference - x_return_status : '|| x_return_status);

474: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
475: end if;
476:
477: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
478: IBE_UTIL.debug('After call to Update_Contact_Preference - x_return_status : '|| x_return_status);
479: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_count : '|| x_msg_count);
480: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_data : '|| x_msg_data);
481: END IF;
482:

Line 479: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_count : '|| x_msg_count);

475: end if;
476:
477: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
478: IBE_UTIL.debug('After call to Update_Contact_Preference - x_return_status : '|| x_return_status);
479: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_count : '|| x_msg_count);
480: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_data : '|| x_msg_data);
481: END IF;
482:
483:

Line 480: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_data : '|| x_msg_data);

476:
477: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
478: IBE_UTIL.debug('After call to Update_Contact_Preference - x_return_status : '|| x_return_status);
479: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_count : '|| x_msg_count);
480: IBE_UTIL.debug('After call to Update_Contact_Preference - x_msg_data : '|| x_msg_data);
481: END IF;
482:
483:
484: -- Call Create_User to create user in FND by setting

Line 497: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

493: p_email_address => p_rel_email_rec.email_address,
494: p_customer_id => x_rel_party_id,
495: x_user_id => x_user_id);
496:
497: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
498: IBE_UTIL.debug('After call to Create_User - x_user_id : '|| to_char(x_user_id));
499: END IF;
500:
501: if (x_user_id is null) then

Line 498: IBE_UTIL.debug('After call to Create_User - x_user_id : '|| to_char(x_user_id));

494: p_customer_id => x_rel_party_id,
495: x_user_id => x_user_id);
496:
497: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
498: IBE_UTIL.debug('After call to Create_User - x_user_id : '|| to_char(x_user_id));
499: END IF;
500:
501: if (x_user_id is null) then
502: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 515: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

511: p_count => x_msg_count,
512: p_data => x_msg_data
513: );
514:
515: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
516: IBE_UTIL.debug('exit ibe_party_v2.create_business_user');
517: END IF;
518:
519:

Line 516: IBE_UTIL.debug('exit ibe_party_v2.create_business_user');

512: p_data => x_msg_data
513: );
514:
515: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
516: IBE_UTIL.debug('exit ibe_party_v2.create_business_user');
517: END IF;
518:
519:
520: EXCEPTION

Line 532: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

528: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
529: p_data => x_msg_data,
530: p_encoded => 'F');
531:
532: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
533: IBE_UTIL.debug('G_EXC_ERROR exception');
534: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
535: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
536: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 533: IBE_UTIL.debug('G_EXC_ERROR exception');

529: p_data => x_msg_data,
530: p_encoded => 'F');
531:
532: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
533: IBE_UTIL.debug('G_EXC_ERROR exception');
534: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
535: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
536: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
537: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 534: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

530: p_encoded => 'F');
531:
532: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
533: IBE_UTIL.debug('G_EXC_ERROR exception');
534: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
535: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
536: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
537: IBE_UTIL.debug('error text : '|| SQLERRM);
538: END IF;

Line 535: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

531:
532: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
533: IBE_UTIL.debug('G_EXC_ERROR exception');
534: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
535: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
536: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
537: IBE_UTIL.debug('error text : '|| SQLERRM);
538: END IF;
539:

Line 536: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

532: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
533: IBE_UTIL.debug('G_EXC_ERROR exception');
534: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
535: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
536: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
537: IBE_UTIL.debug('error text : '|| SQLERRM);
538: END IF;
539:
540: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 537: IBE_UTIL.debug('error text : '|| SQLERRM);

533: IBE_UTIL.debug('G_EXC_ERROR exception');
534: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
535: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
536: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
537: IBE_UTIL.debug('error text : '|| SQLERRM);
538: END IF;
539:
540: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
541:

Line 549: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

545: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
546: p_data => x_msg_data,
547: p_encoded => 'F');
548:
549: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
550: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
551: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
552: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
553: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 550: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');

546: p_data => x_msg_data,
547: p_encoded => 'F');
548:
549: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
550: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
551: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
552: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
553: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
554: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 551: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

547: p_encoded => 'F');
548:
549: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
550: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
551: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
552: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
553: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
554: IBE_UTIL.debug('error text : '|| SQLERRM);
555: END IF;

Line 552: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

548:
549: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
550: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
551: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
552: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
553: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
554: IBE_UTIL.debug('error text : '|| SQLERRM);
555: END IF;
556:

Line 553: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

549: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
550: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
551: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
552: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
553: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
554: IBE_UTIL.debug('error text : '|| SQLERRM);
555: END IF;
556:
557: WHEN OTHERS THEN

Line 554: IBE_UTIL.debug('error text : '|| SQLERRM);

550: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
551: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
552: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
553: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
554: IBE_UTIL.debug('error text : '|| SQLERRM);
555: END IF;
556:
557: WHEN OTHERS THEN
558:

Line 570: --IBE_UTIL.debug('OTHER exception');

566: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
567: p_data => x_msg_data,
568: p_encoded => 'F');
569:
570: --IBE_UTIL.debug('OTHER exception');
571: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
572: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
573: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
574: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 571: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

567: p_data => x_msg_data,
568: p_encoded => 'F');
569:
570: --IBE_UTIL.debug('OTHER exception');
571: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
572: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
573: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
574: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
575: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 572: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

568: p_encoded => 'F');
569:
570: --IBE_UTIL.debug('OTHER exception');
571: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
572: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
573: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
574: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
575: IBE_UTIL.debug('error text : '|| SQLERRM);
576: END IF;

Line 573: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

569:
570: --IBE_UTIL.debug('OTHER exception');
571: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
572: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
573: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
574: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
575: IBE_UTIL.debug('error text : '|| SQLERRM);
576: END IF;
577:

Line 574: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

570: --IBE_UTIL.debug('OTHER exception');
571: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
572: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
573: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
574: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
575: IBE_UTIL.debug('error text : '|| SQLERRM);
576: END IF;
577:
578: END;

Line 575: IBE_UTIL.debug('error text : '|| SQLERRM);

571: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
572: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
573: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
574: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
575: IBE_UTIL.debug('error text : '|| SQLERRM);
576: END IF;
577:
578: END;
579:

Line 629: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

625: l_rel_party_number HZ_PARTIES.PARTY_NUMBER%TYPE;
626: l_rel_party_id NUMBER; ---party_id of type party_relationship
627: l_org_contact_rec HZ_PARTY_CONTACT_V2PUB.org_contact_rec_type;
628: BEGIN
629: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
630: IBE_UTIL.debug('enter ibe_party_v2pvt.create_org_contact');
631: END IF;
632:
633:

Line 630: IBE_UTIL.debug('enter ibe_party_v2pvt.create_org_contact');

626: l_rel_party_id NUMBER; ---party_id of type party_relationship
627: l_org_contact_rec HZ_PARTY_CONTACT_V2PUB.org_contact_rec_type;
628: BEGIN
629: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
630: IBE_UTIL.debug('enter ibe_party_v2pvt.create_org_contact');
631: END IF;
632:
633:
634:

Line 641: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

637:
638:
639: -- Initialize API return status to success
640: x_return_status := FND_API.G_RET_STS_SUCCESS;
641: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
642: IBE_UTIL.debug('Call Create_Person() API');
643: END IF;
644:
645: -- calling internal API to create_person

Line 642: IBE_UTIL.debug('Call Create_Person() API');

638:
639: -- Initialize API return status to success
640: x_return_status := FND_API.G_RET_STS_SUCCESS;
641: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
642: IBE_UTIL.debug('Call Create_Person() API');
643: END IF;
644:
645: -- calling internal API to create_person
646: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 646: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

642: IBE_UTIL.debug('Call Create_Person() API');
643: END IF;
644:
645: -- calling internal API to create_person
646: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
647: IBE_UTIL.debug('Call Create_Person() API');
648: END IF;
649:
650: Create_Person(p_person_rec => p_person_rec,

Line 647: IBE_UTIL.debug('Call Create_Person() API');

643: END IF;
644:
645: -- calling internal API to create_person
646: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
647: IBE_UTIL.debug('Call Create_Person() API');
648: END IF;
649:
650: Create_Person(p_person_rec => p_person_rec,
651: p_email_rec => null,

Line 662: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

658: x_return_status => x_return_status,
659: x_msg_count => x_msg_count,
660: x_msg_data => x_msg_data);
661:
662: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
663: IBE_UTIL.debug('After call to Create_Person - x_return_status : '|| x_return_status);
664: IBE_UTIL.debug('After call to Create_Person - x_msg_count : '|| x_msg_count);
665: IBE_UTIL.debug('After call to Create_Person - x_msg_data :' || x_msg_data);
666: END IF;

Line 663: IBE_UTIL.debug('After call to Create_Person - x_return_status : '|| x_return_status);

659: x_msg_count => x_msg_count,
660: x_msg_data => x_msg_data);
661:
662: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
663: IBE_UTIL.debug('After call to Create_Person - x_return_status : '|| x_return_status);
664: IBE_UTIL.debug('After call to Create_Person - x_msg_count : '|| x_msg_count);
665: IBE_UTIL.debug('After call to Create_Person - x_msg_data :' || x_msg_data);
666: END IF;
667: IF x_return_status = FND_API.G_RET_STS_ERROR THEN

Line 664: IBE_UTIL.debug('After call to Create_Person - x_msg_count : '|| x_msg_count);

660: x_msg_data => x_msg_data);
661:
662: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
663: IBE_UTIL.debug('After call to Create_Person - x_return_status : '|| x_return_status);
664: IBE_UTIL.debug('After call to Create_Person - x_msg_count : '|| x_msg_count);
665: IBE_UTIL.debug('After call to Create_Person - x_msg_data :' || x_msg_data);
666: END IF;
667: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
668: RAISE FND_API.G_EXC_ERROR;

Line 665: IBE_UTIL.debug('After call to Create_Person - x_msg_data :' || x_msg_data);

661:
662: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
663: IBE_UTIL.debug('After call to Create_Person - x_return_status : '|| x_return_status);
664: IBE_UTIL.debug('After call to Create_Person - x_msg_count : '|| x_msg_count);
665: IBE_UTIL.debug('After call to Create_Person - x_msg_data :' || x_msg_data);
666: END IF;
667: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
668: RAISE FND_API.G_EXC_ERROR;
669: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 702: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

698:
699: /*
700: -- bug 2600165 fix --
701: IF NVL(fnd_profile.value('HZ_GENERATE_PARTY_NUMBER'), 'Y') = 'N' THEN
702: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
703: IBE_UTIL.debug('Party Number Auto generation is off');
704: END IF;
705: select hz_party_number_s.nextval into l_rel_party_number from dual;
706: l_party_rel_rec.party_rec.party_number := l_rel_party_number;

Line 703: IBE_UTIL.debug('Party Number Auto generation is off');

699: /*
700: -- bug 2600165 fix --
701: IF NVL(fnd_profile.value('HZ_GENERATE_PARTY_NUMBER'), 'Y') = 'N' THEN
702: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
703: IBE_UTIL.debug('Party Number Auto generation is off');
704: END IF;
705: select hz_party_number_s.nextval into l_rel_party_number from dual;
706: l_party_rel_rec.party_rec.party_number := l_rel_party_number;
707: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 707: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

703: IBE_UTIL.debug('Party Number Auto generation is off');
704: END IF;
705: select hz_party_number_s.nextval into l_rel_party_number from dual;
706: l_party_rel_rec.party_rec.party_number := l_rel_party_number;
707: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
708: IBE_UTIL.debug('Relationship Party Number :' || l_rel_party_number);
709: END IF;
710: END IF;
711: */

Line 708: IBE_UTIL.debug('Relationship Party Number :' || l_rel_party_number);

704: END IF;
705: select hz_party_number_s.nextval into l_rel_party_number from dual;
706: l_party_rel_rec.party_rec.party_number := l_rel_party_number;
707: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
708: IBE_UTIL.debug('Relationship Party Number :' || l_rel_party_number);
709: END IF;
710: END IF;
711: */
712:

Line 719: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

715: l_org_contact_rec.application_id := G_APPLICATION_ID;
716:
717:
718:
719: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
720: IBE_UTIL.debug('Call HZ_PARTY_CONTACT_V2PUB.create_org_contact () API');
721: END IF;
722:
723: HZ_PARTY_CONTACT_V2PUB.create_org_contact (

Line 720: IBE_UTIL.debug('Call HZ_PARTY_CONTACT_V2PUB.create_org_contact () API');

716:
717:
718:
719: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
720: IBE_UTIL.debug('Call HZ_PARTY_CONTACT_V2PUB.create_org_contact () API');
721: END IF;
722:
723: HZ_PARTY_CONTACT_V2PUB.create_org_contact (
724: p_org_contact_rec => l_org_contact_rec,

Line 732: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

728: x_party_number => l_rel_party_number,
729: x_return_status => x_return_status,
730: x_msg_count => x_msg_count,
731: x_msg_data => x_msg_data);
732: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
733: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - l_org_contact_party_id : '|| l_org_contact_party_id);
734: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_return_status : '|| x_return_status);
735: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_count : '|| x_msg_count);
736: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_data :' || x_msg_data);

Line 733: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - l_org_contact_party_id : '|| l_org_contact_party_id);

729: x_return_status => x_return_status,
730: x_msg_count => x_msg_count,
731: x_msg_data => x_msg_data);
732: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
733: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - l_org_contact_party_id : '|| l_org_contact_party_id);
734: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_return_status : '|| x_return_status);
735: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_count : '|| x_msg_count);
736: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_data :' || x_msg_data);
737: END IF;

Line 734: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_return_status : '|| x_return_status);

730: x_msg_count => x_msg_count,
731: x_msg_data => x_msg_data);
732: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
733: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - l_org_contact_party_id : '|| l_org_contact_party_id);
734: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_return_status : '|| x_return_status);
735: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_count : '|| x_msg_count);
736: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_data :' || x_msg_data);
737: END IF;
738:

Line 735: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_count : '|| x_msg_count);

731: x_msg_data => x_msg_data);
732: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
733: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - l_org_contact_party_id : '|| l_org_contact_party_id);
734: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_return_status : '|| x_return_status);
735: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_count : '|| x_msg_count);
736: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_data :' || x_msg_data);
737: END IF;
738:
739:

Line 736: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_data :' || x_msg_data);

732: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
733: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - l_org_contact_party_id : '|| l_org_contact_party_id);
734: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_return_status : '|| x_return_status);
735: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_count : '|| x_msg_count);
736: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_data :' || x_msg_data);
737: END IF;
738:
739:
740: if x_return_status <> FND_API.G_RET_STS_SUCCESS then

Line 749: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

745: -- Create Relationship contact_points, pass rel_party_id from the
746: -- above API as owner_table_id
747: -- Call internal Create_Contact_Points API
748:
749: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
750: IBE_UTIL.debug('Call Create_Contact_Points() API');
751: END IF;
752: Create_Contact_Points(
753: p_owner_table_id => x_rel_party_id,

Line 750: IBE_UTIL.debug('Call Create_Contact_Points() API');

746: -- above API as owner_table_id
747: -- Call internal Create_Contact_Points API
748:
749: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
750: IBE_UTIL.debug('Call Create_Contact_Points() API');
751: END IF;
752: Create_Contact_Points(
753: p_owner_table_id => x_rel_party_id,
754: p_email_rec => p_email_rec,

Line 764: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

760: x_return_status => x_return_status,
761: x_msg_count => x_msg_count,
762: x_msg_data => x_msg_data);
763:
764: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
765: IBE_UTIL.debug('After call to Create_Contact_Points() - x_return_status : '|| x_return_status);
766: IBE_UTIL.debug('After call to Create_Contact_Points() - x_msg_count : '|| x_msg_count);
767: IBE_UTIL.debug('After call to Create_Contact_Points()- x_msg_data : '|| x_msg_data);
768: END IF;

Line 765: IBE_UTIL.debug('After call to Create_Contact_Points() - x_return_status : '|| x_return_status);

761: x_msg_count => x_msg_count,
762: x_msg_data => x_msg_data);
763:
764: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
765: IBE_UTIL.debug('After call to Create_Contact_Points() - x_return_status : '|| x_return_status);
766: IBE_UTIL.debug('After call to Create_Contact_Points() - x_msg_count : '|| x_msg_count);
767: IBE_UTIL.debug('After call to Create_Contact_Points()- x_msg_data : '|| x_msg_data);
768: END IF;
769: IF x_return_status = FND_API.G_RET_STS_ERROR THEN

Line 766: IBE_UTIL.debug('After call to Create_Contact_Points() - x_msg_count : '|| x_msg_count);

762: x_msg_data => x_msg_data);
763:
764: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
765: IBE_UTIL.debug('After call to Create_Contact_Points() - x_return_status : '|| x_return_status);
766: IBE_UTIL.debug('After call to Create_Contact_Points() - x_msg_count : '|| x_msg_count);
767: IBE_UTIL.debug('After call to Create_Contact_Points()- x_msg_data : '|| x_msg_data);
768: END IF;
769: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
770: RAISE FND_API.G_EXC_ERROR;

Line 767: IBE_UTIL.debug('After call to Create_Contact_Points()- x_msg_data : '|| x_msg_data);

763:
764: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
765: IBE_UTIL.debug('After call to Create_Contact_Points() - x_return_status : '|| x_return_status);
766: IBE_UTIL.debug('After call to Create_Contact_Points() - x_msg_count : '|| x_msg_count);
767: IBE_UTIL.debug('After call to Create_Contact_Points()- x_msg_data : '|| x_msg_data);
768: END IF;
769: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
770: RAISE FND_API.G_EXC_ERROR;
771: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 785: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

781: p_count => x_msg_count,
782: p_data => x_msg_data
783: );
784:
785: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
786: IBE_UTIL.debug('exit ibe_party_v2.create_individual_user');
787: END IF;
788:
789:

Line 786: IBE_UTIL.debug('exit ibe_party_v2.create_individual_user');

782: p_data => x_msg_data
783: );
784:
785: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
786: IBE_UTIL.debug('exit ibe_party_v2.create_individual_user');
787: END IF;
788:
789:
790: EXCEPTION

Line 802: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

798: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
799: p_data => x_msg_data,
800: p_encoded => 'F');
801:
802: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
803: IBE_UTIL.debug('G_EXC_ERROR exception');
804: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
805: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
806: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 803: IBE_UTIL.debug('G_EXC_ERROR exception');

799: p_data => x_msg_data,
800: p_encoded => 'F');
801:
802: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
803: IBE_UTIL.debug('G_EXC_ERROR exception');
804: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
805: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
806: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
807: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 804: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

800: p_encoded => 'F');
801:
802: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
803: IBE_UTIL.debug('G_EXC_ERROR exception');
804: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
805: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
806: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
807: IBE_UTIL.debug('error text : '|| SQLERRM);
808: END IF;

Line 805: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

801:
802: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
803: IBE_UTIL.debug('G_EXC_ERROR exception');
804: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
805: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
806: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
807: IBE_UTIL.debug('error text : '|| SQLERRM);
808: END IF;
809:

Line 806: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

802: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
803: IBE_UTIL.debug('G_EXC_ERROR exception');
804: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
805: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
806: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
807: IBE_UTIL.debug('error text : '|| SQLERRM);
808: END IF;
809:
810: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 807: IBE_UTIL.debug('error text : '|| SQLERRM);

803: IBE_UTIL.debug('G_EXC_ERROR exception');
804: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
805: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
806: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
807: IBE_UTIL.debug('error text : '|| SQLERRM);
808: END IF;
809:
810: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
811:

Line 819: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

815: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
816: p_data => x_msg_data,
817: p_encoded => 'F');
818:
819: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
820: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
821: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
822: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
823: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 820: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');

816: p_data => x_msg_data,
817: p_encoded => 'F');
818:
819: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
820: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
821: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
822: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
823: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
824: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 821: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

817: p_encoded => 'F');
818:
819: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
820: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
821: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
822: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
823: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
824: IBE_UTIL.debug('error text : '|| SQLERRM);
825: END IF;

Line 822: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

818:
819: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
820: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
821: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
822: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
823: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
824: IBE_UTIL.debug('error text : '|| SQLERRM);
825: END IF;
826:

Line 823: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

819: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
820: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
821: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
822: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
823: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
824: IBE_UTIL.debug('error text : '|| SQLERRM);
825: END IF;
826:
827: WHEN OTHERS THEN

Line 824: IBE_UTIL.debug('error text : '|| SQLERRM);

820: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
821: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
822: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
823: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
824: IBE_UTIL.debug('error text : '|| SQLERRM);
825: END IF;
826:
827: WHEN OTHERS THEN
828:

Line 840: --IBE_UTIL.debug('OTHER exception');

836: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
837: p_data => x_msg_data,
838: p_encoded => 'F');
839:
840: --IBE_UTIL.debug('OTHER exception');
841: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
842: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
843: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
844: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 841: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

837: p_data => x_msg_data,
838: p_encoded => 'F');
839:
840: --IBE_UTIL.debug('OTHER exception');
841: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
842: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
843: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
844: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
845: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 842: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

838: p_encoded => 'F');
839:
840: --IBE_UTIL.debug('OTHER exception');
841: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
842: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
843: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
844: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
845: IBE_UTIL.debug('error text : '|| SQLERRM);
846: END IF;

Line 843: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

839:
840: --IBE_UTIL.debug('OTHER exception');
841: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
842: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
843: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
844: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
845: IBE_UTIL.debug('error text : '|| SQLERRM);
846: END IF;
847:

Line 844: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

840: --IBE_UTIL.debug('OTHER exception');
841: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
842: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
843: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
844: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
845: IBE_UTIL.debug('error text : '|| SQLERRM);
846: END IF;
847:
848: END;

Line 845: IBE_UTIL.debug('error text : '|| SQLERRM);

841: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
842: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
843: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
844: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
845: IBE_UTIL.debug('error text : '|| SQLERRM);
846: END IF;
847:
848: END;
849:

Line 896: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

892: l_work_phone_rec HZ_CONTACT_POINT_V2PUB.phone_rec_type := null;
893: l_fax_rec HZ_CONTACT_POINT_V2PUB.phone_rec_type := null;
894: l_email_rec HZ_CONTACT_POINT_V2PUB.email_rec_type := null;
895: BEGIN
896: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
897: IBE_UTIL.debug('enter ibe_party_v2pvt.create_person');
898: END IF;
899:
900: l_person_rec := p_person_rec;

Line 897: IBE_UTIL.debug('enter ibe_party_v2pvt.create_person');

893: l_fax_rec HZ_CONTACT_POINT_V2PUB.phone_rec_type := null;
894: l_email_rec HZ_CONTACT_POINT_V2PUB.email_rec_type := null;
895: BEGIN
896: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
897: IBE_UTIL.debug('enter ibe_party_v2pvt.create_person');
898: END IF;
899:
900: l_person_rec := p_person_rec;
901: l_person_rec.created_by_module := p_created_by_module;

Line 913: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

909:
910: -- Initialize API return status to success
911: x_return_status := FND_API.G_RET_STS_SUCCESS;
912:
913: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
914: IBE_UTIL.debug('Call Create_Person() API');
915: END IF;
916:
917: /*

Line 914: IBE_UTIL.debug('Call Create_Person() API');

910: -- Initialize API return status to success
911: x_return_status := FND_API.G_RET_STS_SUCCESS;
912:
913: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
914: IBE_UTIL.debug('Call Create_Person() API');
915: END IF;
916:
917: /*
918: -- bug 2600165 fix --

Line 920: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

916:
917: /*
918: -- bug 2600165 fix --
919: IF NVL(fnd_profile.value('HZ_GENERATE_PARTY_NUMBER'), 'Y') = 'N' THEN
920: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
921: IBE_UTIL.debug('Party Number Auto generation is off');
922: END IF;
923: select hz_party_number_s.nextval into l_party_number from dual;
924: l_person_rec.party_rec.party_number := l_party_number;

Line 921: IBE_UTIL.debug('Party Number Auto generation is off');

917: /*
918: -- bug 2600165 fix --
919: IF NVL(fnd_profile.value('HZ_GENERATE_PARTY_NUMBER'), 'Y') = 'N' THEN
920: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
921: IBE_UTIL.debug('Party Number Auto generation is off');
922: END IF;
923: select hz_party_number_s.nextval into l_party_number from dual;
924: l_person_rec.party_rec.party_number := l_party_number;
925: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 925: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

921: IBE_UTIL.debug('Party Number Auto generation is off');
922: END IF;
923: select hz_party_number_s.nextval into l_party_number from dual;
924: l_person_rec.party_rec.party_number := l_party_number;
925: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
926: IBE_UTIL.debug('Person Party Number :' || l_party_number);
927: END IF;
928: END IF;
929: */

Line 926: IBE_UTIL.debug('Person Party Number :' || l_party_number);

922: END IF;
923: select hz_party_number_s.nextval into l_party_number from dual;
924: l_person_rec.party_rec.party_number := l_party_number;
925: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
926: IBE_UTIL.debug('Person Party Number :' || l_party_number);
927: END IF;
928: END IF;
929: */
930:

Line 948: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

944: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
945: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
946: END IF;
947:
948: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
949: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - l_party_id : '|| l_party_id);
950: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - x_return_status : '|| x_return_status);
951: IBE_UTIL.debug('After call HZ_PARTY_V2PUB.create_person - x_msg_count : '|| x_msg_count);
952: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - x_msg_data : '|| x_msg_data);

Line 949: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - l_party_id : '|| l_party_id);

945: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
946: END IF;
947:
948: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
949: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - l_party_id : '|| l_party_id);
950: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - x_return_status : '|| x_return_status);
951: IBE_UTIL.debug('After call HZ_PARTY_V2PUB.create_person - x_msg_count : '|| x_msg_count);
952: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - x_msg_data : '|| x_msg_data);
953: END IF;

Line 950: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - x_return_status : '|| x_return_status);

946: END IF;
947:
948: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
949: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - l_party_id : '|| l_party_id);
950: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - x_return_status : '|| x_return_status);
951: IBE_UTIL.debug('After call HZ_PARTY_V2PUB.create_person - x_msg_count : '|| x_msg_count);
952: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - x_msg_data : '|| x_msg_data);
953: END IF;
954:

Line 951: IBE_UTIL.debug('After call HZ_PARTY_V2PUB.create_person - x_msg_count : '|| x_msg_count);

947:
948: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
949: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - l_party_id : '|| l_party_id);
950: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - x_return_status : '|| x_return_status);
951: IBE_UTIL.debug('After call HZ_PARTY_V2PUB.create_person - x_msg_count : '|| x_msg_count);
952: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - x_msg_data : '|| x_msg_data);
953: END IF;
954:
955: x_person_party_id := l_party_id;

Line 952: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - x_msg_data : '|| x_msg_data);

948: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
949: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - l_party_id : '|| l_party_id);
950: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - x_return_status : '|| x_return_status);
951: IBE_UTIL.debug('After call HZ_PARTY_V2PUB.create_person - x_msg_count : '|| x_msg_count);
952: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_person - x_msg_data : '|| x_msg_data);
953: END IF;
954:
955: x_person_party_id := l_party_id;
956:

Line 959: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

955: x_person_party_id := l_party_id;
956:
957:
958: -- Call internal Create_Contact_Points API
959: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
960: IBE_UTIL.debug('Call Create_Contact_Points() API');
961: END IF;
962: Create_Contact_Points(
963: p_owner_table_id => l_party_id,

Line 960: IBE_UTIL.debug('Call Create_Contact_Points() API');

956:
957:
958: -- Call internal Create_Contact_Points API
959: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
960: IBE_UTIL.debug('Call Create_Contact_Points() API');
961: END IF;
962: Create_Contact_Points(
963: p_owner_table_id => l_party_id,
964: p_email_rec => p_email_rec,

Line 974: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

970: x_return_status => x_return_status,
971: x_msg_count => x_msg_count,
972: x_msg_data => x_msg_data);
973:
974: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
975: IBE_UTIL.debug('After call to Create_Contact_Points() - x_return_status : '|| x_return_status);
976: IBE_UTIL.debug('After call to Create_Contact_Points() - x_msg_count : '|| x_msg_count);
977: IBE_UTIL.debug('After call to Create_Contact_Points()- x_msg_data : '|| x_msg_data);
978: END IF;

Line 975: IBE_UTIL.debug('After call to Create_Contact_Points() - x_return_status : '|| x_return_status);

971: x_msg_count => x_msg_count,
972: x_msg_data => x_msg_data);
973:
974: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
975: IBE_UTIL.debug('After call to Create_Contact_Points() - x_return_status : '|| x_return_status);
976: IBE_UTIL.debug('After call to Create_Contact_Points() - x_msg_count : '|| x_msg_count);
977: IBE_UTIL.debug('After call to Create_Contact_Points()- x_msg_data : '|| x_msg_data);
978: END IF;
979: IF x_return_status = FND_API.G_RET_STS_ERROR THEN

Line 976: IBE_UTIL.debug('After call to Create_Contact_Points() - x_msg_count : '|| x_msg_count);

972: x_msg_data => x_msg_data);
973:
974: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
975: IBE_UTIL.debug('After call to Create_Contact_Points() - x_return_status : '|| x_return_status);
976: IBE_UTIL.debug('After call to Create_Contact_Points() - x_msg_count : '|| x_msg_count);
977: IBE_UTIL.debug('After call to Create_Contact_Points()- x_msg_data : '|| x_msg_data);
978: END IF;
979: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
980: RAISE FND_API.G_EXC_ERROR;

Line 977: IBE_UTIL.debug('After call to Create_Contact_Points()- x_msg_data : '|| x_msg_data);

973:
974: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
975: IBE_UTIL.debug('After call to Create_Contact_Points() - x_return_status : '|| x_return_status);
976: IBE_UTIL.debug('After call to Create_Contact_Points() - x_msg_count : '|| x_msg_count);
977: IBE_UTIL.debug('After call to Create_Contact_Points()- x_msg_data : '|| x_msg_data);
978: END IF;
979: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
980: RAISE FND_API.G_EXC_ERROR;
981: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 990: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

986:
987:
988: If (p_account= 'true') then
989: /*** Create Account for the Person***/
990: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
991: IBE_UTIL.debug(' Call to Create_Account');
992: END IF;
993:
994: Create_Account(

Line 991: IBE_UTIL.debug(' Call to Create_Account');

987:
988: If (p_account= 'true') then
989: /*** Create Account for the Person***/
990: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
991: IBE_UTIL.debug(' Call to Create_Account');
992: END IF;
993:
994: Create_Account(
995: p_party_id => l_party_id,

Line 1005: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1001: x_msg_data =>x_msg_data);
1002:
1003:
1004:
1005: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1006: IBE_UTIL.debug('After call to Create_Account() - x_return_status : '|| x_return_status);
1007: IBE_UTIL.debug('After call to Create_Account() - x_msg_count : '|| x_msg_count);
1008: IBE_UTIL.debug('After call to Create_Account()- x_msg_data : '|| x_msg_data);
1009: END IF;

Line 1006: IBE_UTIL.debug('After call to Create_Account() - x_return_status : '|| x_return_status);

1002:
1003:
1004:
1005: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1006: IBE_UTIL.debug('After call to Create_Account() - x_return_status : '|| x_return_status);
1007: IBE_UTIL.debug('After call to Create_Account() - x_msg_count : '|| x_msg_count);
1008: IBE_UTIL.debug('After call to Create_Account()- x_msg_data : '|| x_msg_data);
1009: END IF;
1010: IF x_return_status = FND_API.G_RET_STS_ERROR THEN

Line 1007: IBE_UTIL.debug('After call to Create_Account() - x_msg_count : '|| x_msg_count);

1003:
1004:
1005: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1006: IBE_UTIL.debug('After call to Create_Account() - x_return_status : '|| x_return_status);
1007: IBE_UTIL.debug('After call to Create_Account() - x_msg_count : '|| x_msg_count);
1008: IBE_UTIL.debug('After call to Create_Account()- x_msg_data : '|| x_msg_data);
1009: END IF;
1010: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
1011: RAISE FND_API.G_EXC_ERROR;

Line 1008: IBE_UTIL.debug('After call to Create_Account()- x_msg_data : '|| x_msg_data);

1004:
1005: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1006: IBE_UTIL.debug('After call to Create_Account() - x_return_status : '|| x_return_status);
1007: IBE_UTIL.debug('After call to Create_Account() - x_msg_count : '|| x_msg_count);
1008: IBE_UTIL.debug('After call to Create_Account()- x_msg_data : '|| x_msg_data);
1009: END IF;
1010: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
1011: RAISE FND_API.G_EXC_ERROR;
1012: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 1024: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1020: p_count => x_msg_count,
1021: p_data => x_msg_data
1022: );
1023:
1024: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1025: IBE_UTIL.debug('exit ibe_party_v2.create_person');
1026: END IF;
1027:
1028:

Line 1025: IBE_UTIL.debug('exit ibe_party_v2.create_person');

1021: p_data => x_msg_data
1022: );
1023:
1024: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1025: IBE_UTIL.debug('exit ibe_party_v2.create_person');
1026: END IF;
1027:
1028:
1029: EXCEPTION

Line 1041: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1037: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
1038: p_data => x_msg_data,
1039: p_encoded => 'F');
1040:
1041: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1042: IBE_UTIL.debug('G_EXC_ERROR exception');
1043: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1044: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1045: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 1042: IBE_UTIL.debug('G_EXC_ERROR exception');

1038: p_data => x_msg_data,
1039: p_encoded => 'F');
1040:
1041: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1042: IBE_UTIL.debug('G_EXC_ERROR exception');
1043: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1044: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1045: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1046: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 1043: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

1039: p_encoded => 'F');
1040:
1041: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1042: IBE_UTIL.debug('G_EXC_ERROR exception');
1043: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1044: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1045: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1046: IBE_UTIL.debug('error text : '|| SQLERRM);
1047: END IF;

Line 1044: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

1040:
1041: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1042: IBE_UTIL.debug('G_EXC_ERROR exception');
1043: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1044: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1045: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1046: IBE_UTIL.debug('error text : '|| SQLERRM);
1047: END IF;
1048:

Line 1045: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

1041: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1042: IBE_UTIL.debug('G_EXC_ERROR exception');
1043: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1044: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1045: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1046: IBE_UTIL.debug('error text : '|| SQLERRM);
1047: END IF;
1048:
1049: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 1046: IBE_UTIL.debug('error text : '|| SQLERRM);

1042: IBE_UTIL.debug('G_EXC_ERROR exception');
1043: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1044: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1045: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1046: IBE_UTIL.debug('error text : '|| SQLERRM);
1047: END IF;
1048:
1049: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1050:

Line 1058: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1054: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
1055: p_data => x_msg_data,
1056: p_encoded => 'F');
1057:
1058: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1059: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1060: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1061: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1062: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 1059: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');

1055: p_data => x_msg_data,
1056: p_encoded => 'F');
1057:
1058: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1059: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1060: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1061: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1062: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1063: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 1060: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

1056: p_encoded => 'F');
1057:
1058: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1059: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1060: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1061: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1062: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1063: IBE_UTIL.debug('error text : '|| SQLERRM);
1064: END IF;

Line 1061: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

1057:
1058: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1059: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1060: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1061: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1062: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1063: IBE_UTIL.debug('error text : '|| SQLERRM);
1064: END IF;
1065:

Line 1062: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

1058: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1059: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1060: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1061: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1062: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1063: IBE_UTIL.debug('error text : '|| SQLERRM);
1064: END IF;
1065:
1066: WHEN OTHERS THEN

Line 1063: IBE_UTIL.debug('error text : '|| SQLERRM);

1059: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1060: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1061: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1062: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1063: IBE_UTIL.debug('error text : '|| SQLERRM);
1064: END IF;
1065:
1066: WHEN OTHERS THEN
1067:

Line 1079: --IBE_UTIL.debug('OTHER exception');

1075: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
1076: p_data => x_msg_data,
1077: p_encoded => 'F');
1078:
1079: --IBE_UTIL.debug('OTHER exception');
1080: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1081: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1082: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1083: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 1080: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1076: p_data => x_msg_data,
1077: p_encoded => 'F');
1078:
1079: --IBE_UTIL.debug('OTHER exception');
1080: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1081: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1082: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1083: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1084: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 1081: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

1077: p_encoded => 'F');
1078:
1079: --IBE_UTIL.debug('OTHER exception');
1080: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1081: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1082: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1083: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1084: IBE_UTIL.debug('error text : '|| SQLERRM);
1085: END IF;

Line 1082: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

1078:
1079: --IBE_UTIL.debug('OTHER exception');
1080: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1081: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1082: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1083: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1084: IBE_UTIL.debug('error text : '|| SQLERRM);
1085: END IF;
1086: END create_person;

Line 1083: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

1079: --IBE_UTIL.debug('OTHER exception');
1080: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1081: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1082: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1083: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1084: IBE_UTIL.debug('error text : '|| SQLERRM);
1085: END IF;
1086: END create_person;
1087:

Line 1084: IBE_UTIL.debug('error text : '|| SQLERRM);

1080: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1081: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1082: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1083: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1084: IBE_UTIL.debug('error text : '|| SQLERRM);
1085: END IF;
1086: END create_person;
1087:
1088: /*+====================================================================

Line 1148: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1144:
1145:
1146: --l_account_id NUMBER;
1147: BEGIN
1148: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1149: IBE_UTIL.debug('enter ibe_party_v2pvt.create_organization');
1150: END IF;
1151:
1152:

Line 1149: IBE_UTIL.debug('enter ibe_party_v2pvt.create_organization');

1145:
1146: --l_account_id NUMBER;
1147: BEGIN
1148: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1149: IBE_UTIL.debug('enter ibe_party_v2pvt.create_organization');
1150: END IF;
1151:
1152:
1153: l_organization_rec := p_organization_rec;

Line 1167: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1163:
1164: -- Initialize API return status to success
1165: x_return_status := FND_API.G_RET_STS_SUCCESS;
1166:
1167: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1168: IBE_UTIL.debug('Call Create_Organization() API');
1169: END IF;
1170: /*
1171: -- bug 2600165 fix --

Line 1168: IBE_UTIL.debug('Call Create_Organization() API');

1164: -- Initialize API return status to success
1165: x_return_status := FND_API.G_RET_STS_SUCCESS;
1166:
1167: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1168: IBE_UTIL.debug('Call Create_Organization() API');
1169: END IF;
1170: /*
1171: -- bug 2600165 fix --
1172: IF NVL(fnd_profile.value('HZ_GENERATE_PARTY_NUMBER'), 'Y') = 'N' THEN

Line 1173: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1169: END IF;
1170: /*
1171: -- bug 2600165 fix --
1172: IF NVL(fnd_profile.value('HZ_GENERATE_PARTY_NUMBER'), 'Y') = 'N' THEN
1173: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1174: IBE_UTIL.debug('Party Number Auto generation is off');
1175: END IF;
1176: select hz_party_number_s.nextval into l_party_number from dual;
1177: l_organization_rec.party_rec.party_number := l_party_number;

Line 1174: IBE_UTIL.debug('Party Number Auto generation is off');

1170: /*
1171: -- bug 2600165 fix --
1172: IF NVL(fnd_profile.value('HZ_GENERATE_PARTY_NUMBER'), 'Y') = 'N' THEN
1173: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1174: IBE_UTIL.debug('Party Number Auto generation is off');
1175: END IF;
1176: select hz_party_number_s.nextval into l_party_number from dual;
1177: l_organization_rec.party_rec.party_number := l_party_number;
1178: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 1178: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1174: IBE_UTIL.debug('Party Number Auto generation is off');
1175: END IF;
1176: select hz_party_number_s.nextval into l_party_number from dual;
1177: l_organization_rec.party_rec.party_number := l_party_number;
1178: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1179: IBE_UTIL.debug('Organization Party Number :' || l_party_number);
1180: END IF;
1181:
1182: END IF;

Line 1179: IBE_UTIL.debug('Organization Party Number :' || l_party_number);

1175: END IF;
1176: select hz_party_number_s.nextval into l_party_number from dual;
1177: l_organization_rec.party_rec.party_number := l_party_number;
1178: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1179: IBE_UTIL.debug('Organization Party Number :' || l_party_number);
1180: END IF;
1181:
1182: END IF;
1183: */

Line 1194: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1190: x_profile_id => l_profile_id,
1191: x_return_status => x_return_status,
1192: x_msg_count => x_msg_count,
1193: x_msg_data => x_msg_data);
1194: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1195: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - l_party_id : '|| l_party_id);
1196: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - x_return_status : '|| x_return_status);
1197: IBE_UTIL.debug('After call HZ_PARTY_V2PUB.create_organization - x_msg_count : '|| x_msg_count);
1198: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - x_msg_data : '|| x_msg_data);

Line 1195: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - l_party_id : '|| l_party_id);

1191: x_return_status => x_return_status,
1192: x_msg_count => x_msg_count,
1193: x_msg_data => x_msg_data);
1194: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1195: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - l_party_id : '|| l_party_id);
1196: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - x_return_status : '|| x_return_status);
1197: IBE_UTIL.debug('After call HZ_PARTY_V2PUB.create_organization - x_msg_count : '|| x_msg_count);
1198: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - x_msg_data : '|| x_msg_data);
1199: END IF;

Line 1196: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - x_return_status : '|| x_return_status);

1192: x_msg_count => x_msg_count,
1193: x_msg_data => x_msg_data);
1194: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1195: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - l_party_id : '|| l_party_id);
1196: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - x_return_status : '|| x_return_status);
1197: IBE_UTIL.debug('After call HZ_PARTY_V2PUB.create_organization - x_msg_count : '|| x_msg_count);
1198: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - x_msg_data : '|| x_msg_data);
1199: END IF;
1200: if x_return_status <> FND_API.G_RET_STS_SUCCESS then

Line 1197: IBE_UTIL.debug('After call HZ_PARTY_V2PUB.create_organization - x_msg_count : '|| x_msg_count);

1193: x_msg_data => x_msg_data);
1194: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1195: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - l_party_id : '|| l_party_id);
1196: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - x_return_status : '|| x_return_status);
1197: IBE_UTIL.debug('After call HZ_PARTY_V2PUB.create_organization - x_msg_count : '|| x_msg_count);
1198: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - x_msg_data : '|| x_msg_data);
1199: END IF;
1200: if x_return_status <> FND_API.G_RET_STS_SUCCESS then
1201: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 1198: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - x_msg_data : '|| x_msg_data);

1194: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1195: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - l_party_id : '|| l_party_id);
1196: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - x_return_status : '|| x_return_status);
1197: IBE_UTIL.debug('After call HZ_PARTY_V2PUB.create_organization - x_msg_count : '|| x_msg_count);
1198: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create_organization - x_msg_data : '|| x_msg_data);
1199: END IF;
1200: if x_return_status <> FND_API.G_RET_STS_SUCCESS then
1201: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1202: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 1217: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1213: l_party_site_rec.party_id := x_org_party_id;
1214: l_party_site_rec.created_by_module := p_created_by_module;
1215: l_party_site_rec.application_id := G_APPLICATION_ID;
1216:
1217: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1218: IBE_UTIL.debug('Call IBE_ADDRESS_V2PVT.creat_address() API');
1219: IBE_UTIL.debug('Call IBE_ADDRESS_V2PVT.creat_address() API address1 :'||l_location_rec.address1);
1220: END IF;
1221: -- calling internal API to create address (location , party_site)

Line 1218: IBE_UTIL.debug('Call IBE_ADDRESS_V2PVT.creat_address() API');

1214: l_party_site_rec.created_by_module := p_created_by_module;
1215: l_party_site_rec.application_id := G_APPLICATION_ID;
1216:
1217: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1218: IBE_UTIL.debug('Call IBE_ADDRESS_V2PVT.creat_address() API');
1219: IBE_UTIL.debug('Call IBE_ADDRESS_V2PVT.creat_address() API address1 :'||l_location_rec.address1);
1220: END IF;
1221: -- calling internal API to create address (location , party_site)
1222: IBE_ADDRESS_V2PVT.create_address(

Line 1219: IBE_UTIL.debug('Call IBE_ADDRESS_V2PVT.creat_address() API address1 :'||l_location_rec.address1);

1215: l_party_site_rec.application_id := G_APPLICATION_ID;
1216:
1217: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1218: IBE_UTIL.debug('Call IBE_ADDRESS_V2PVT.creat_address() API');
1219: IBE_UTIL.debug('Call IBE_ADDRESS_V2PVT.creat_address() API address1 :'||l_location_rec.address1);
1220: END IF;
1221: -- calling internal API to create address (location , party_site)
1222: IBE_ADDRESS_V2PVT.create_address(
1223: p_api_version => 1.0,

Line 1244: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1240: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1241: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
1242: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1243: END IF;
1244: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1245: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_location_id : '|| l_location_id);
1246: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_party_site_id : '|| x_party_site_id);
1247: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_return_status : '|| x_return_status);
1248: IBE_UTIL.debug('After call IBE_ADDRESS_V2PVT.create_address - x_msg_count : '|| x_msg_count);

Line 1245: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_location_id : '|| l_location_id);

1241: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
1242: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1243: END IF;
1244: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1245: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_location_id : '|| l_location_id);
1246: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_party_site_id : '|| x_party_site_id);
1247: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_return_status : '|| x_return_status);
1248: IBE_UTIL.debug('After call IBE_ADDRESS_V2PVT.create_address - x_msg_count : '|| x_msg_count);
1249: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_data : '|| x_msg_data);

Line 1246: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_party_site_id : '|| x_party_site_id);

1242: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1243: END IF;
1244: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1245: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_location_id : '|| l_location_id);
1246: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_party_site_id : '|| x_party_site_id);
1247: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_return_status : '|| x_return_status);
1248: IBE_UTIL.debug('After call IBE_ADDRESS_V2PVT.create_address - x_msg_count : '|| x_msg_count);
1249: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_data : '|| x_msg_data);
1250: END IF;

Line 1247: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_return_status : '|| x_return_status);

1243: END IF;
1244: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1245: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_location_id : '|| l_location_id);
1246: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_party_site_id : '|| x_party_site_id);
1247: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_return_status : '|| x_return_status);
1248: IBE_UTIL.debug('After call IBE_ADDRESS_V2PVT.create_address - x_msg_count : '|| x_msg_count);
1249: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_data : '|| x_msg_data);
1250: END IF;
1251:

Line 1248: IBE_UTIL.debug('After call IBE_ADDRESS_V2PVT.create_address - x_msg_count : '|| x_msg_count);

1244: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1245: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_location_id : '|| l_location_id);
1246: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_party_site_id : '|| x_party_site_id);
1247: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_return_status : '|| x_return_status);
1248: IBE_UTIL.debug('After call IBE_ADDRESS_V2PVT.create_address - x_msg_count : '|| x_msg_count);
1249: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_data : '|| x_msg_data);
1250: END IF;
1251:
1252:

Line 1249: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_data : '|| x_msg_data);

1245: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_location_id : '|| l_location_id);
1246: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_party_site_id : '|| x_party_site_id);
1247: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_return_status : '|| x_return_status);
1248: IBE_UTIL.debug('After call IBE_ADDRESS_V2PVT.create_address - x_msg_count : '|| x_msg_count);
1249: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_data : '|| x_msg_data);
1250: END IF;
1251:
1252:
1253:

Line 1257: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1253:
1254:
1255:
1256: -- Call internal Create_Contact_Points API to create Org Contact Points
1257: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1258: IBE_UTIL.debug('Call Create_Contact_Points() API');
1259: END IF;
1260: Create_Contact_Points(
1261: p_owner_table_id => x_org_party_id,

Line 1258: IBE_UTIL.debug('Call Create_Contact_Points() API');

1254:
1255:
1256: -- Call internal Create_Contact_Points API to create Org Contact Points
1257: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1258: IBE_UTIL.debug('Call Create_Contact_Points() API');
1259: END IF;
1260: Create_Contact_Points(
1261: p_owner_table_id => x_org_party_id,
1262: p_work_phone_rec => p_org_workphone_rec,

Line 1272: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1268: x_return_status => x_return_status,
1269: x_msg_count => x_msg_count,
1270: x_msg_data => x_msg_data);
1271:
1272: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1273: IBE_UTIL.debug('After call to Create_Contact_Points() - x_return_status : '|| x_return_status);
1274: IBE_UTIL.debug('After call to Create_Contact_Points() - x_msg_count : '|| x_msg_count);
1275: IBE_UTIL.debug('After call to Create_Contact_Points()- x_msg_data : '|| x_msg_data);
1276: END IF;

Line 1273: IBE_UTIL.debug('After call to Create_Contact_Points() - x_return_status : '|| x_return_status);

1269: x_msg_count => x_msg_count,
1270: x_msg_data => x_msg_data);
1271:
1272: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1273: IBE_UTIL.debug('After call to Create_Contact_Points() - x_return_status : '|| x_return_status);
1274: IBE_UTIL.debug('After call to Create_Contact_Points() - x_msg_count : '|| x_msg_count);
1275: IBE_UTIL.debug('After call to Create_Contact_Points()- x_msg_data : '|| x_msg_data);
1276: END IF;
1277: IF x_return_status = FND_API.G_RET_STS_ERROR THEN

Line 1274: IBE_UTIL.debug('After call to Create_Contact_Points() - x_msg_count : '|| x_msg_count);

1270: x_msg_data => x_msg_data);
1271:
1272: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1273: IBE_UTIL.debug('After call to Create_Contact_Points() - x_return_status : '|| x_return_status);
1274: IBE_UTIL.debug('After call to Create_Contact_Points() - x_msg_count : '|| x_msg_count);
1275: IBE_UTIL.debug('After call to Create_Contact_Points()- x_msg_data : '|| x_msg_data);
1276: END IF;
1277: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
1278: RAISE FND_API.G_EXC_ERROR;

Line 1275: IBE_UTIL.debug('After call to Create_Contact_Points()- x_msg_data : '|| x_msg_data);

1271:
1272: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1273: IBE_UTIL.debug('After call to Create_Contact_Points() - x_return_status : '|| x_return_status);
1274: IBE_UTIL.debug('After call to Create_Contact_Points() - x_msg_count : '|| x_msg_count);
1275: IBE_UTIL.debug('After call to Create_Contact_Points()- x_msg_data : '|| x_msg_data);
1276: END IF;
1277: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
1278: RAISE FND_API.G_EXC_ERROR;
1279: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 1291: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1287:
1288:
1289: If (p_account = 'true') then
1290: /*** Create Account for the Organization***/
1291: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1292: IBE_UTIL.debug(' Call to Create_Account');
1293: END IF;
1294:
1295: Create_Account(

Line 1292: IBE_UTIL.debug(' Call to Create_Account');

1288:
1289: If (p_account = 'true') then
1290: /*** Create Account for the Organization***/
1291: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1292: IBE_UTIL.debug(' Call to Create_Account');
1293: END IF;
1294:
1295: Create_Account(
1296: p_party_id => x_org_party_id,

Line 1306: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1302: x_msg_data =>x_msg_data);
1303:
1304:
1305:
1306: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1307: IBE_UTIL.debug('After call to Create_Account() - x_return_status : '|| x_return_status);
1308: IBE_UTIL.debug('After call to Create_Account() - x_account_id : '|| x_account_id);
1309: IBE_UTIL.debug('After call to Create_Account() - x_msg_count : '|| x_msg_count);
1310: IBE_UTIL.debug('After call to Create_Account()- x_msg_data : '|| x_msg_data);

Line 1307: IBE_UTIL.debug('After call to Create_Account() - x_return_status : '|| x_return_status);

1303:
1304:
1305:
1306: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1307: IBE_UTIL.debug('After call to Create_Account() - x_return_status : '|| x_return_status);
1308: IBE_UTIL.debug('After call to Create_Account() - x_account_id : '|| x_account_id);
1309: IBE_UTIL.debug('After call to Create_Account() - x_msg_count : '|| x_msg_count);
1310: IBE_UTIL.debug('After call to Create_Account()- x_msg_data : '|| x_msg_data);
1311: END IF;

Line 1308: IBE_UTIL.debug('After call to Create_Account() - x_account_id : '|| x_account_id);

1304:
1305:
1306: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1307: IBE_UTIL.debug('After call to Create_Account() - x_return_status : '|| x_return_status);
1308: IBE_UTIL.debug('After call to Create_Account() - x_account_id : '|| x_account_id);
1309: IBE_UTIL.debug('After call to Create_Account() - x_msg_count : '|| x_msg_count);
1310: IBE_UTIL.debug('After call to Create_Account()- x_msg_data : '|| x_msg_data);
1311: END IF;
1312: IF x_return_status = FND_API.G_RET_STS_ERROR THEN

Line 1309: IBE_UTIL.debug('After call to Create_Account() - x_msg_count : '|| x_msg_count);

1305:
1306: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1307: IBE_UTIL.debug('After call to Create_Account() - x_return_status : '|| x_return_status);
1308: IBE_UTIL.debug('After call to Create_Account() - x_account_id : '|| x_account_id);
1309: IBE_UTIL.debug('After call to Create_Account() - x_msg_count : '|| x_msg_count);
1310: IBE_UTIL.debug('After call to Create_Account()- x_msg_data : '|| x_msg_data);
1311: END IF;
1312: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
1313: RAISE FND_API.G_EXC_ERROR;

Line 1310: IBE_UTIL.debug('After call to Create_Account()- x_msg_data : '|| x_msg_data);

1306: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1307: IBE_UTIL.debug('After call to Create_Account() - x_return_status : '|| x_return_status);
1308: IBE_UTIL.debug('After call to Create_Account() - x_account_id : '|| x_account_id);
1309: IBE_UTIL.debug('After call to Create_Account() - x_msg_count : '|| x_msg_count);
1310: IBE_UTIL.debug('After call to Create_Account()- x_msg_data : '|| x_msg_data);
1311: END IF;
1312: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
1313: RAISE FND_API.G_EXC_ERROR;
1314: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 1326: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1322: p_count => x_msg_count,
1323: p_data => x_msg_data
1324: );
1325:
1326: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1327: IBE_UTIL.debug('exit ibe_party_v2.create_person');
1328: END IF;
1329:
1330:

Line 1327: IBE_UTIL.debug('exit ibe_party_v2.create_person');

1323: p_data => x_msg_data
1324: );
1325:
1326: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1327: IBE_UTIL.debug('exit ibe_party_v2.create_person');
1328: END IF;
1329:
1330:
1331: EXCEPTION

Line 1343: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1339: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
1340: p_data => x_msg_data,
1341: p_encoded => 'F');
1342:
1343: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1344: IBE_UTIL.debug('G_EXC_ERROR exception');
1345: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1346: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1347: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 1344: IBE_UTIL.debug('G_EXC_ERROR exception');

1340: p_data => x_msg_data,
1341: p_encoded => 'F');
1342:
1343: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1344: IBE_UTIL.debug('G_EXC_ERROR exception');
1345: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1346: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1347: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1348: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 1345: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

1341: p_encoded => 'F');
1342:
1343: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1344: IBE_UTIL.debug('G_EXC_ERROR exception');
1345: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1346: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1347: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1348: IBE_UTIL.debug('error text : '|| SQLERRM);
1349: END IF;

Line 1346: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

1342:
1343: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1344: IBE_UTIL.debug('G_EXC_ERROR exception');
1345: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1346: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1347: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1348: IBE_UTIL.debug('error text : '|| SQLERRM);
1349: END IF;
1350:

Line 1347: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

1343: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1344: IBE_UTIL.debug('G_EXC_ERROR exception');
1345: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1346: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1347: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1348: IBE_UTIL.debug('error text : '|| SQLERRM);
1349: END IF;
1350:
1351: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 1348: IBE_UTIL.debug('error text : '|| SQLERRM);

1344: IBE_UTIL.debug('G_EXC_ERROR exception');
1345: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1346: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1347: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1348: IBE_UTIL.debug('error text : '|| SQLERRM);
1349: END IF;
1350:
1351: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1352:

Line 1360: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1356: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
1357: p_data => x_msg_data,
1358: p_encoded => 'F');
1359:
1360: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1361: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1362: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1363: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1364: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 1361: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');

1357: p_data => x_msg_data,
1358: p_encoded => 'F');
1359:
1360: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1361: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1362: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1363: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1364: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1365: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 1362: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

1358: p_encoded => 'F');
1359:
1360: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1361: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1362: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1363: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1364: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1365: IBE_UTIL.debug('error text : '|| SQLERRM);
1366: END IF;

Line 1363: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

1359:
1360: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1361: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1362: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1363: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1364: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1365: IBE_UTIL.debug('error text : '|| SQLERRM);
1366: END IF;
1367:

Line 1364: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

1360: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1361: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1362: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1363: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1364: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1365: IBE_UTIL.debug('error text : '|| SQLERRM);
1366: END IF;
1367:
1368: WHEN OTHERS THEN

Line 1365: IBE_UTIL.debug('error text : '|| SQLERRM);

1361: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1362: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1363: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1364: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1365: IBE_UTIL.debug('error text : '|| SQLERRM);
1366: END IF;
1367:
1368: WHEN OTHERS THEN
1369:

Line 1381: --IBE_UTIL.debug('OTHER exception');

1377: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
1378: p_data => x_msg_data,
1379: p_encoded => 'F');
1380:
1381: --IBE_UTIL.debug('OTHER exception');
1382: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1383: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1384: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1385: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 1382: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1378: p_data => x_msg_data,
1379: p_encoded => 'F');
1380:
1381: --IBE_UTIL.debug('OTHER exception');
1382: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1383: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1384: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1385: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1386: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 1383: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

1379: p_encoded => 'F');
1380:
1381: --IBE_UTIL.debug('OTHER exception');
1382: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1383: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1384: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1385: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1386: IBE_UTIL.debug('error text : '|| SQLERRM);
1387: END IF;

Line 1384: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

1380:
1381: --IBE_UTIL.debug('OTHER exception');
1382: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1383: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1384: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1385: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1386: IBE_UTIL.debug('error text : '|| SQLERRM);
1387: END IF;
1388: END create_organization;

Line 1385: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

1381: --IBE_UTIL.debug('OTHER exception');
1382: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1383: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1384: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1385: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1386: IBE_UTIL.debug('error text : '|| SQLERRM);
1387: END IF;
1388: END create_organization;
1389:

Line 1386: IBE_UTIL.debug('error text : '|| SQLERRM);

1382: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1383: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1384: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1385: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1386: IBE_UTIL.debug('error text : '|| SQLERRM);
1387: END IF;
1388: END create_organization;
1389:
1390:

Line 1427: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1423:
1424: l_contact_point_rec HZ_CONTACT_POINT_V2PUB.CONTACT_POINT_REC_TYPE;
1425:
1426: BEGIN
1427: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1428: IBE_UTIL.debug('enter ibe_party_v2pvt.create_contact_points');
1429: END IF;
1430:
1431: l_contact_point_rec.status := 'A';

Line 1428: IBE_UTIL.debug('enter ibe_party_v2pvt.create_contact_points');

1424: l_contact_point_rec HZ_CONTACT_POINT_V2PUB.CONTACT_POINT_REC_TYPE;
1425:
1426: BEGIN
1427: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1428: IBE_UTIL.debug('enter ibe_party_v2pvt.create_contact_points');
1429: END IF;
1430:
1431: l_contact_point_rec.status := 'A';
1432: l_contact_point_rec.owner_table_name := 'HZ_PARTIES';

Line 1441: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1437:
1438:
1439: -- initialize message list
1440: FND_MSG_PUB.initialize;
1441: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1442: IBE_UTIL.debug('Enter Create_Contact_Points()');
1443: END IF;
1444:
1445: -- Initialize API return status to success

Line 1442: IBE_UTIL.debug('Enter Create_Contact_Points()');

1438:
1439: -- initialize message list
1440: FND_MSG_PUB.initialize;
1441: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1442: IBE_UTIL.debug('Enter Create_Contact_Points()');
1443: END IF;
1444:
1445: -- Initialize API return status to success
1446: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 1450: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1446: x_return_status := FND_API.G_RET_STS_SUCCESS;
1447: l_contact_point_rec.contact_point_type := null;
1448: if (p_email_rec.email_address is not NULL) then
1449:
1450: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1451: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_email_contact_point API');
1452: END IF;
1453: l_contact_point_rec.contact_point_type := 'EMAIL';
1454:

Line 1451: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_email_contact_point API');

1447: l_contact_point_rec.contact_point_type := null;
1448: if (p_email_rec.email_address is not NULL) then
1449:
1450: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1451: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_email_contact_point API');
1452: END IF;
1453: l_contact_point_rec.contact_point_type := 'EMAIL';
1454:
1455: -- calling TCA API to create_email_contact_points

Line 1464: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1460: x_contact_point_id => l_contact_point_id,
1461: x_return_status => x_return_status,
1462: x_msg_count => x_msg_count,
1463: x_msg_data => x_msg_data);
1464: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1465: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point l_contact_point_id : '|| l_contact_point_id);
1466: END IF;
1467: if x_return_status <> FND_API.G_RET_STS_SUCCESS then
1468: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 1465: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point l_contact_point_id : '|| l_contact_point_id);

1461: x_return_status => x_return_status,
1462: x_msg_count => x_msg_count,
1463: x_msg_data => x_msg_data);
1464: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1465: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point l_contact_point_id : '|| l_contact_point_id);
1466: END IF;
1467: if x_return_status <> FND_API.G_RET_STS_SUCCESS then
1468: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1469: end if;

Line 1474: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1470:
1471: end if;
1472:
1473: l_contact_point_rec.contact_point_type := null;
1474: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1475: IBE_UTIL.debug(' Workphone_Number : '|| Length(p_work_phone_rec.phone_number));
1476: END IF;
1477: if ( p_work_phone_rec.phone_number is not NULL) or (p_work_phone_rec.phone_number <> '' ) then
1478: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 1475: IBE_UTIL.debug(' Workphone_Number : '|| Length(p_work_phone_rec.phone_number));

1471: end if;
1472:
1473: l_contact_point_rec.contact_point_type := null;
1474: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1475: IBE_UTIL.debug(' Workphone_Number : '|| Length(p_work_phone_rec.phone_number));
1476: END IF;
1477: if ( p_work_phone_rec.phone_number is not NULL) or (p_work_phone_rec.phone_number <> '' ) then
1478: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1479: IBE_UTIL.debug('Work Phone num is not null phone_Number : '|| p_work_phone_rec.phone_number);

Line 1478: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1474: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1475: IBE_UTIL.debug(' Workphone_Number : '|| Length(p_work_phone_rec.phone_number));
1476: END IF;
1477: if ( p_work_phone_rec.phone_number is not NULL) or (p_work_phone_rec.phone_number <> '' ) then
1478: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1479: IBE_UTIL.debug('Work Phone num is not null phone_Number : '|| p_work_phone_rec.phone_number);
1480: END IF;
1481: l_contact_point_rec.contact_point_type := 'PHONE';
1482: if (p_contact_point_purpose) then

Line 1479: IBE_UTIL.debug('Work Phone num is not null phone_Number : '|| p_work_phone_rec.phone_number);

1475: IBE_UTIL.debug(' Workphone_Number : '|| Length(p_work_phone_rec.phone_number));
1476: END IF;
1477: if ( p_work_phone_rec.phone_number is not NULL) or (p_work_phone_rec.phone_number <> '' ) then
1478: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1479: IBE_UTIL.debug('Work Phone num is not null phone_Number : '|| p_work_phone_rec.phone_number);
1480: END IF;
1481: l_contact_point_rec.contact_point_type := 'PHONE';
1482: if (p_contact_point_purpose) then
1483: l_contact_point_rec.contact_point_purpose := 'BUSINESS';

Line 1485: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1481: l_contact_point_rec.contact_point_type := 'PHONE';
1482: if (p_contact_point_purpose) then
1483: l_contact_point_rec.contact_point_purpose := 'BUSINESS';
1484: end if;
1485: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1486: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_phone_contact_point API');
1487: END IF;
1488: --l_contact_point_rec.primary_flag := 'Y';
1489: HZ_CONTACT_POINT_V2PUB.create_phone_contact_point (

Line 1486: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_phone_contact_point API');

1482: if (p_contact_point_purpose) then
1483: l_contact_point_rec.contact_point_purpose := 'BUSINESS';
1484: end if;
1485: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1486: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_phone_contact_point API');
1487: END IF;
1488: --l_contact_point_rec.primary_flag := 'Y';
1489: HZ_CONTACT_POINT_V2PUB.create_phone_contact_point (
1490: p_contact_point_rec => l_contact_point_rec,

Line 1496: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1492: x_contact_point_id => l_contact_point_id,
1493: x_return_status => x_return_status,
1494: x_msg_count => x_msg_count,
1495: x_msg_data => x_msg_data );
1496: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1497: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_phone_contact_point(work) - l_contact_point_id : '|| l_contact_point_id);
1498: END IF;
1499: if x_return_status <> FND_API.G_RET_STS_SUCCESS then
1500: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 1497: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_phone_contact_point(work) - l_contact_point_id : '|| l_contact_point_id);

1493: x_return_status => x_return_status,
1494: x_msg_count => x_msg_count,
1495: x_msg_data => x_msg_data );
1496: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1497: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_phone_contact_point(work) - l_contact_point_id : '|| l_contact_point_id);
1498: END IF;
1499: if x_return_status <> FND_API.G_RET_STS_SUCCESS then
1500: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1501: end if;

Line 1505: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1501: end if;
1502: end if;
1503:
1504: l_contact_point_rec.contact_point_type := null;
1505: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1506: IBE_UTIL.debug('HOME_phone_Number : '|| p_home_phone_rec.phone_number);
1507: END IF;
1508: if ( p_home_phone_rec.phone_number is not NULL ) then
1509: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 1506: IBE_UTIL.debug('HOME_phone_Number : '|| p_home_phone_rec.phone_number);

1502: end if;
1503:
1504: l_contact_point_rec.contact_point_type := null;
1505: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1506: IBE_UTIL.debug('HOME_phone_Number : '|| p_home_phone_rec.phone_number);
1507: END IF;
1508: if ( p_home_phone_rec.phone_number is not NULL ) then
1509: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1510: IBE_UTIL.debug('Home Phone num is not null phone_Number : '|| p_home_phone_rec.phone_number);

Line 1509: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1505: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1506: IBE_UTIL.debug('HOME_phone_Number : '|| p_home_phone_rec.phone_number);
1507: END IF;
1508: if ( p_home_phone_rec.phone_number is not NULL ) then
1509: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1510: IBE_UTIL.debug('Home Phone num is not null phone_Number : '|| p_home_phone_rec.phone_number);
1511: END IF;
1512: l_contact_point_rec.contact_point_type := 'PHONE';
1513: if (p_contact_point_purpose) then

Line 1510: IBE_UTIL.debug('Home Phone num is not null phone_Number : '|| p_home_phone_rec.phone_number);

1506: IBE_UTIL.debug('HOME_phone_Number : '|| p_home_phone_rec.phone_number);
1507: END IF;
1508: if ( p_home_phone_rec.phone_number is not NULL ) then
1509: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1510: IBE_UTIL.debug('Home Phone num is not null phone_Number : '|| p_home_phone_rec.phone_number);
1511: END IF;
1512: l_contact_point_rec.contact_point_type := 'PHONE';
1513: if (p_contact_point_purpose) then
1514: l_contact_point_rec.contact_point_purpose := 'PERSONAL';

Line 1519: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1515: end if;
1516: --if (p_work_phone_rec.phone_number is null) then
1517: --l_contact_point_rec.primary_flag := 'Y';
1518: --end if;
1519: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1520: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_phone_contact_point API');
1521: END IF;
1522: HZ_CONTACT_POINT_V2PUB.create_phone_contact_point (
1523: p_contact_point_rec => l_contact_point_rec,

Line 1520: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_phone_contact_point API');

1516: --if (p_work_phone_rec.phone_number is null) then
1517: --l_contact_point_rec.primary_flag := 'Y';
1518: --end if;
1519: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1520: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_phone_contact_point API');
1521: END IF;
1522: HZ_CONTACT_POINT_V2PUB.create_phone_contact_point (
1523: p_contact_point_rec => l_contact_point_rec,
1524: p_phone_rec => p_home_phone_rec,

Line 1529: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1525: x_contact_point_id => l_contact_point_id,
1526: x_return_status => x_return_status,
1527: x_msg_count => x_msg_count,
1528: x_msg_data => x_msg_data );
1529: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1530: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_phone_contact_point (home)- l_contact_point_id : '|| l_contact_point_id);
1531: END IF;
1532: if x_return_status <> FND_API.G_RET_STS_SUCCESS then
1533: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 1530: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_phone_contact_point (home)- l_contact_point_id : '|| l_contact_point_id);

1526: x_return_status => x_return_status,
1527: x_msg_count => x_msg_count,
1528: x_msg_data => x_msg_data );
1529: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1530: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_phone_contact_point (home)- l_contact_point_id : '|| l_contact_point_id);
1531: END IF;
1532: if x_return_status <> FND_API.G_RET_STS_SUCCESS then
1533: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1534: end if;

Line 1536: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1532: if x_return_status <> FND_API.G_RET_STS_SUCCESS then
1533: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1534: end if;
1535: end if;
1536: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1537: IBE_UTIL.debug('Fax_phone_Number : '|| p_fax_rec.phone_number);
1538: END IF;
1539: if ( p_fax_rec.phone_number is not NULL ) then
1540: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 1537: IBE_UTIL.debug('Fax_phone_Number : '|| p_fax_rec.phone_number);

1533: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1534: end if;
1535: end if;
1536: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1537: IBE_UTIL.debug('Fax_phone_Number : '|| p_fax_rec.phone_number);
1538: END IF;
1539: if ( p_fax_rec.phone_number is not NULL ) then
1540: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1541: IBE_UTIL.debug('Fax_phone_Number is not null ');

Line 1540: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1536: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1537: IBE_UTIL.debug('Fax_phone_Number : '|| p_fax_rec.phone_number);
1538: END IF;
1539: if ( p_fax_rec.phone_number is not NULL ) then
1540: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1541: IBE_UTIL.debug('Fax_phone_Number is not null ');
1542: END IF;
1543:
1544: l_contact_point_rec.contact_point_type := 'PHONE';

Line 1541: IBE_UTIL.debug('Fax_phone_Number is not null ');

1537: IBE_UTIL.debug('Fax_phone_Number : '|| p_fax_rec.phone_number);
1538: END IF;
1539: if ( p_fax_rec.phone_number is not NULL ) then
1540: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1541: IBE_UTIL.debug('Fax_phone_Number is not null ');
1542: END IF;
1543:
1544: l_contact_point_rec.contact_point_type := 'PHONE';
1545: l_contact_point_rec.contact_point_purpose := null;

Line 1550: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1546:
1547: --if (p_work_phone_rec.phone_number is null) and (p_home_phone_rec.phone_number is null) then
1548: --l_contact_point_rec.primary_flag := 'Y';
1549: --end if;
1550: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1551: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_phone_contact_point API');
1552: END IF;
1553: HZ_CONTACT_POINT_V2PUB.create_phone_contact_point (
1554: p_contact_point_rec => l_contact_point_rec,

Line 1551: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_phone_contact_point API');

1547: --if (p_work_phone_rec.phone_number is null) and (p_home_phone_rec.phone_number is null) then
1548: --l_contact_point_rec.primary_flag := 'Y';
1549: --end if;
1550: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1551: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_phone_contact_point API');
1552: END IF;
1553: HZ_CONTACT_POINT_V2PUB.create_phone_contact_point (
1554: p_contact_point_rec => l_contact_point_rec,
1555: p_phone_rec => p_fax_rec,

Line 1560: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1556: x_contact_point_id => l_contact_point_id,
1557: x_return_status => x_return_status,
1558: x_msg_count => x_msg_count,
1559: x_msg_data => x_msg_data );
1560: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1561: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_phone_contact_point (fax)- l_contact_point_id : '|| l_contact_point_id);
1562: END IF;
1563: if x_return_status <> FND_API.G_RET_STS_SUCCESS then
1564: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 1561: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_phone_contact_point (fax)- l_contact_point_id : '|| l_contact_point_id);

1557: x_return_status => x_return_status,
1558: x_msg_count => x_msg_count,
1559: x_msg_data => x_msg_data );
1560: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1561: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_phone_contact_point (fax)- l_contact_point_id : '|| l_contact_point_id);
1562: END IF;
1563: if x_return_status <> FND_API.G_RET_STS_SUCCESS then
1564: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1565: end if;

Line 1574: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1570: p_count => x_msg_count,
1571: p_data => x_msg_data
1572: );
1573:
1574: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1575: IBE_UTIL.debug('exit ibe_party_v2.create_contact_points');
1576: END IF;
1577:
1578:

Line 1575: IBE_UTIL.debug('exit ibe_party_v2.create_contact_points');

1571: p_data => x_msg_data
1572: );
1573:
1574: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1575: IBE_UTIL.debug('exit ibe_party_v2.create_contact_points');
1576: END IF;
1577:
1578:
1579: EXCEPTION

Line 1591: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1587: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
1588: p_data => x_msg_data,
1589: p_encoded => 'F');
1590:
1591: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1592: IBE_UTIL.debug('G_EXC_ERROR exception');
1593: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1594: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1595: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 1592: IBE_UTIL.debug('G_EXC_ERROR exception');

1588: p_data => x_msg_data,
1589: p_encoded => 'F');
1590:
1591: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1592: IBE_UTIL.debug('G_EXC_ERROR exception');
1593: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1594: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1595: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1596: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 1593: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

1589: p_encoded => 'F');
1590:
1591: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1592: IBE_UTIL.debug('G_EXC_ERROR exception');
1593: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1594: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1595: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1596: IBE_UTIL.debug('error text : '|| SQLERRM);
1597: END IF;

Line 1594: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

1590:
1591: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1592: IBE_UTIL.debug('G_EXC_ERROR exception');
1593: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1594: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1595: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1596: IBE_UTIL.debug('error text : '|| SQLERRM);
1597: END IF;
1598:

Line 1595: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

1591: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1592: IBE_UTIL.debug('G_EXC_ERROR exception');
1593: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1594: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1595: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1596: IBE_UTIL.debug('error text : '|| SQLERRM);
1597: END IF;
1598:
1599: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 1596: IBE_UTIL.debug('error text : '|| SQLERRM);

1592: IBE_UTIL.debug('G_EXC_ERROR exception');
1593: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1594: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1595: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1596: IBE_UTIL.debug('error text : '|| SQLERRM);
1597: END IF;
1598:
1599: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1600:

Line 1608: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1604: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
1605: p_data => x_msg_data,
1606: p_encoded => 'F');
1607:
1608: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1609: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1610: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1611: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1612: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 1609: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');

1605: p_data => x_msg_data,
1606: p_encoded => 'F');
1607:
1608: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1609: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1610: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1611: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1612: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1613: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 1610: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

1606: p_encoded => 'F');
1607:
1608: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1609: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1610: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1611: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1612: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1613: IBE_UTIL.debug('error text : '|| SQLERRM);
1614: END IF;

Line 1611: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

1607:
1608: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1609: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1610: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1611: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1612: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1613: IBE_UTIL.debug('error text : '|| SQLERRM);
1614: END IF;
1615:

Line 1612: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

1608: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1609: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1610: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1611: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1612: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1613: IBE_UTIL.debug('error text : '|| SQLERRM);
1614: END IF;
1615:
1616: WHEN OTHERS THEN

Line 1613: IBE_UTIL.debug('error text : '|| SQLERRM);

1609: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1610: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1611: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1612: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1613: IBE_UTIL.debug('error text : '|| SQLERRM);
1614: END IF;
1615:
1616: WHEN OTHERS THEN
1617:

Line 1629: --IBE_UTIL.debug('OTHER exception');

1625: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
1626: p_data => x_msg_data,
1627: p_encoded => 'F');
1628:
1629: --IBE_UTIL.debug('OTHER exception');
1630: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1631: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1632: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1633: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 1630: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1626: p_data => x_msg_data,
1627: p_encoded => 'F');
1628:
1629: --IBE_UTIL.debug('OTHER exception');
1630: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1631: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1632: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1633: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1634: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 1631: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

1627: p_encoded => 'F');
1628:
1629: --IBE_UTIL.debug('OTHER exception');
1630: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1631: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1632: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1633: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1634: IBE_UTIL.debug('error text : '|| SQLERRM);
1635: END IF;

Line 1632: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

1628:
1629: --IBE_UTIL.debug('OTHER exception');
1630: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1631: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1632: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1633: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1634: IBE_UTIL.debug('error text : '|| SQLERRM);
1635: END IF;
1636:

Line 1633: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

1629: --IBE_UTIL.debug('OTHER exception');
1630: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1631: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1632: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1633: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1634: IBE_UTIL.debug('error text : '|| SQLERRM);
1635: END IF;
1636:
1637:

Line 1634: IBE_UTIL.debug('error text : '|| SQLERRM);

1630: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1631: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1632: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1633: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1634: IBE_UTIL.debug('error text : '|| SQLERRM);
1635: END IF;
1636:
1637:
1638: END create_contact_points;

Line 1678: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1674: l_id NUMBER;
1675:
1676:
1677: BEGIN
1678: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1679: IBE_UTIL.debug('enter ibe_party_v2pvt.update_contact_preference');
1680: END IF;
1681:
1682: FND_MSG_PUB.initialize;

Line 1679: IBE_UTIL.debug('enter ibe_party_v2pvt.update_contact_preference');

1675:
1676:
1677: BEGIN
1678: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1679: IBE_UTIL.debug('enter ibe_party_v2pvt.update_contact_preference');
1680: END IF;
1681:
1682: FND_MSG_PUB.initialize;
1683:

Line 1699: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1695: l_contact_preference_rec.preference_code := p_preference;
1696: if (p_object_version_number is not null) then
1697: l_object_version_number := p_object_version_number;
1698: end if;
1699: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1700: IBE_UTIL.debug('Call HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference API');
1701: END IF;
1702: HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference(
1703: FND_API.G_FALSE,

Line 1700: IBE_UTIL.debug('Call HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference API');

1696: if (p_object_version_number is not null) then
1697: l_object_version_number := p_object_version_number;
1698: end if;
1699: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1700: IBE_UTIL.debug('Call HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference API');
1701: END IF;
1702: HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference(
1703: FND_API.G_FALSE,
1704: l_contact_preference_rec,

Line 1710: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1706: x_return_status,
1707: x_msg_count,
1708: x_msg_data
1709: );
1710: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1711: IBE_UTIL.debug('After Call HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference API');
1712: END IF;
1713: --create row when no record found
1714: EXCEPTION WHEN NO_DATA_FOUND THEN

Line 1711: IBE_UTIL.debug('After Call HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference API');

1707: x_msg_count,
1708: x_msg_data
1709: );
1710: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1711: IBE_UTIL.debug('After Call HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference API');
1712: END IF;
1713: --create row when no record found
1714: EXCEPTION WHEN NO_DATA_FOUND THEN
1715: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 1715: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1711: IBE_UTIL.debug('After Call HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference API');
1712: END IF;
1713: --create row when no record found
1714: EXCEPTION WHEN NO_DATA_FOUND THEN
1715: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1716: IBE_UTIL.debug('Got No Data Found Exception in update_contact_preference');
1717: END IF;
1718:
1719: l_contact_preference_rec2.contact_level_table := 'HZ_PARTIES';

Line 1716: IBE_UTIL.debug('Got No Data Found Exception in update_contact_preference');

1712: END IF;
1713: --create row when no record found
1714: EXCEPTION WHEN NO_DATA_FOUND THEN
1715: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1716: IBE_UTIL.debug('Got No Data Found Exception in update_contact_preference');
1717: END IF;
1718:
1719: l_contact_preference_rec2.contact_level_table := 'HZ_PARTIES';
1720: l_contact_preference_rec2.contact_level_table_id := p_party_id;

Line 1727: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1723: l_contact_preference_rec2.requested_by := 'INTERNAL';
1724: l_contact_preference_rec2.status := 'A';
1725: l_contact_preference_rec2.created_by_module := p_created_by_module;
1726:
1727: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1728: IBE_UTIL.debug('Call HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference API');
1729: END IF;
1730: HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference(
1731: FND_API.G_FALSE,

Line 1728: IBE_UTIL.debug('Call HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference API');

1724: l_contact_preference_rec2.status := 'A';
1725: l_contact_preference_rec2.created_by_module := p_created_by_module;
1726:
1727: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1728: IBE_UTIL.debug('Call HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference API');
1729: END IF;
1730: HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference(
1731: FND_API.G_FALSE,
1732: l_contact_preference_rec2,

Line 1738: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1734: x_return_status,
1735: x_msg_count,
1736: x_msg_data
1737: );
1738: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1739: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference API');
1740: END IF;
1741: END;
1742: --end set/create contact preferences

Line 1739: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference API');

1735: x_msg_count,
1736: x_msg_data
1737: );
1738: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1739: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference API');
1740: END IF;
1741: END;
1742: --end set/create contact preferences
1743:

Line 1746: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1742: --end set/create contact preferences
1743:
1744:
1745: -- standard call to get message count and if count is 1, get message info
1746: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1747: IBE_UTIL.debug('Before FND_MSG_API.count_and_get');
1748: END IF;
1749:
1750: FND_MSG_PUB.count_and_get(

Line 1747: IBE_UTIL.debug('Before FND_MSG_API.count_and_get');

1743:
1744:
1745: -- standard call to get message count and if count is 1, get message info
1746: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1747: IBE_UTIL.debug('Before FND_MSG_API.count_and_get');
1748: END IF;
1749:
1750: FND_MSG_PUB.count_and_get(
1751: p_encoded => FND_API.G_FALSE,

Line 1756: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1752: p_count => x_msg_count,
1753: p_data => x_msg_data
1754: );
1755:
1756: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1757: IBE_UTIL.debug('After FND_MSG_API.count_and_get');
1758: END IF;
1759:
1760: --standard exception catching for main body

Line 1757: IBE_UTIL.debug('After FND_MSG_API.count_and_get');

1753: p_data => x_msg_data
1754: );
1755:
1756: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1757: IBE_UTIL.debug('After FND_MSG_API.count_and_get');
1758: END IF;
1759:
1760: --standard exception catching for main body
1761: EXCEPTION

Line 1763: --IBE_UTIL.enable_debug();

1759:
1760: --standard exception catching for main body
1761: EXCEPTION
1762: WHEN FND_API.G_EXC_ERROR THEN
1763: --IBE_UTIL.enable_debug();
1764:
1765: x_return_status := FND_API.G_RET_STS_ERROR;
1766:
1767: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 1767: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1763: --IBE_UTIL.enable_debug();
1764:
1765: x_return_status := FND_API.G_RET_STS_ERROR;
1766:
1767: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1768: IBE_UTIL.debug('Before FND_MSG_API.count_and_get in Exception');
1769: END IF;
1770: FND_MSG_PUB.count_and_get(
1771: p_encoded => FND_API.G_FALSE,

Line 1768: IBE_UTIL.debug('Before FND_MSG_API.count_and_get in Exception');

1764:
1765: x_return_status := FND_API.G_RET_STS_ERROR;
1766:
1767: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1768: IBE_UTIL.debug('Before FND_MSG_API.count_and_get in Exception');
1769: END IF;
1770: FND_MSG_PUB.count_and_get(
1771: p_encoded => FND_API.G_FALSE,
1772: p_count => x_msg_count,

Line 1775: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1771: p_encoded => FND_API.G_FALSE,
1772: p_count => x_msg_count,
1773: p_data => x_msg_data
1774: );
1775: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1776: IBE_UTIL.debug('G_EXC_ERROR exception');
1777: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1778: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1779: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 1776: IBE_UTIL.debug('G_EXC_ERROR exception');

1772: p_count => x_msg_count,
1773: p_data => x_msg_data
1774: );
1775: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1776: IBE_UTIL.debug('G_EXC_ERROR exception');
1777: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1778: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1779: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1780: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 1777: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

1773: p_data => x_msg_data
1774: );
1775: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1776: IBE_UTIL.debug('G_EXC_ERROR exception');
1777: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1778: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1779: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1780: IBE_UTIL.debug('error text : '|| SQLERRM);
1781: END IF;

Line 1778: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

1774: );
1775: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1776: IBE_UTIL.debug('G_EXC_ERROR exception');
1777: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1778: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1779: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1780: IBE_UTIL.debug('error text : '|| SQLERRM);
1781: END IF;
1782:

Line 1779: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

1775: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1776: IBE_UTIL.debug('G_EXC_ERROR exception');
1777: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1778: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1779: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1780: IBE_UTIL.debug('error text : '|| SQLERRM);
1781: END IF;
1782:
1783: --IBE_UTIL.disable_debug();

Line 1780: IBE_UTIL.debug('error text : '|| SQLERRM);

1776: IBE_UTIL.debug('G_EXC_ERROR exception');
1777: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1778: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1779: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1780: IBE_UTIL.debug('error text : '|| SQLERRM);
1781: END IF;
1782:
1783: --IBE_UTIL.disable_debug();
1784:

Line 1783: --IBE_UTIL.disable_debug();

1779: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1780: IBE_UTIL.debug('error text : '|| SQLERRM);
1781: END IF;
1782:
1783: --IBE_UTIL.disable_debug();
1784:
1785: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1786: --IBE_UTIL.enable_debug();
1787:

Line 1786: --IBE_UTIL.enable_debug();

1782:
1783: --IBE_UTIL.disable_debug();
1784:
1785: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1786: --IBE_UTIL.enable_debug();
1787:
1788: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1789: FND_MSG_PUB.count_and_get(
1790: p_encoded => FND_API.G_FALSE,

Line 1794: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1790: p_encoded => FND_API.G_FALSE,
1791: p_count => x_msg_count,
1792: p_data => x_msg_data
1793: );
1794: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1795: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1796: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1797: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1798: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 1795: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');

1791: p_count => x_msg_count,
1792: p_data => x_msg_data
1793: );
1794: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1795: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1796: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1797: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1798: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1799: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 1796: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

1792: p_data => x_msg_data
1793: );
1794: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1795: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1796: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1797: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1798: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1799: IBE_UTIL.debug('error text : '|| SQLERRM);
1800: END IF;

Line 1797: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

1793: );
1794: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1795: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1796: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1797: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1798: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1799: IBE_UTIL.debug('error text : '|| SQLERRM);
1800: END IF;
1801:

Line 1798: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

1794: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1795: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1796: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1797: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1798: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1799: IBE_UTIL.debug('error text : '|| SQLERRM);
1800: END IF;
1801:
1802:

Line 1799: IBE_UTIL.debug('error text : '|| SQLERRM);

1795: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1796: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1797: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1798: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1799: IBE_UTIL.debug('error text : '|| SQLERRM);
1800: END IF;
1801:
1802:
1803: WHEN OTHERS THEN

Line 1813: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1809: p_encoded => FND_API.G_FALSE,
1810: p_count => x_msg_count,
1811: p_data => x_msg_data
1812: );
1813: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1814: IBE_UTIL.debug('OTHER exception');
1815: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1816: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1817: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 1814: IBE_UTIL.debug('OTHER exception');

1810: p_count => x_msg_count,
1811: p_data => x_msg_data
1812: );
1813: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1814: IBE_UTIL.debug('OTHER exception');
1815: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1816: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1817: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1818: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 1815: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

1811: p_data => x_msg_data
1812: );
1813: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1814: IBE_UTIL.debug('OTHER exception');
1815: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1816: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1817: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1818: IBE_UTIL.debug('error text : '|| SQLERRM);
1819: END IF;

Line 1816: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

1812: );
1813: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1814: IBE_UTIL.debug('OTHER exception');
1815: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1816: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1817: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1818: IBE_UTIL.debug('error text : '|| SQLERRM);
1819: END IF;
1820:

Line 1817: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

1813: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1814: IBE_UTIL.debug('OTHER exception');
1815: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1816: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1817: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1818: IBE_UTIL.debug('error text : '|| SQLERRM);
1819: END IF;
1820:
1821:

Line 1818: IBE_UTIL.debug('error text : '|| SQLERRM);

1814: IBE_UTIL.debug('OTHER exception');
1815: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1816: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1817: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1818: IBE_UTIL.debug('error text : '|| SQLERRM);
1819: END IF;
1820:
1821:
1822:

Line 1862: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1858: l_object_version_number NUMBER;
1859:
1860: BEGIN
1861:
1862: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1863: IBE_UTIL.debug('enter ibe_party_v2pvt.update_person_language');
1864: END IF;
1865:
1866: FND_MSG_PUB.initialize;

Line 1863: IBE_UTIL.debug('enter ibe_party_v2pvt.update_person_language');

1859:
1860: BEGIN
1861:
1862: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1863: IBE_UTIL.debug('enter ibe_party_v2pvt.update_person_language');
1864: END IF;
1865:
1866: FND_MSG_PUB.initialize;
1867:

Line 1879: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1875:
1876: l_per_language_rec.primary_language_indicator := 'N';
1877: l_per_language_rec.language_use_reference_id := l_id;
1878:
1879: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1880: IBE_UTIL.debug('Call HZ_PERSON_INFO_V2PUB.update_person_language API to unset primary');
1881: END IF;
1882: hz_person_info_v2pub.update_person_language(
1883: p_person_language_rec => l_per_language_rec,

Line 1880: IBE_UTIL.debug('Call HZ_PERSON_INFO_V2PUB.update_person_language API to unset primary');

1876: l_per_language_rec.primary_language_indicator := 'N';
1877: l_per_language_rec.language_use_reference_id := l_id;
1878:
1879: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1880: IBE_UTIL.debug('Call HZ_PERSON_INFO_V2PUB.update_person_language API to unset primary');
1881: END IF;
1882: hz_person_info_v2pub.update_person_language(
1883: p_person_language_rec => l_per_language_rec,
1884: p_object_version_number => l_object_version_number,

Line 1888: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1884: p_object_version_number => l_object_version_number,
1885: x_return_status => x_return_status,
1886: x_msg_count => x_msg_count,
1887: x_msg_data => x_msg_data);
1888: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1889: IBE_UTIL.debug(' After Call HZ_PERSON_INFO_V2PUB.update_person_language APIto unset primary');
1890: END IF;
1891: EXCEPTION WHEN NO_DATA_FOUND THEN
1892: NULL;

Line 1889: IBE_UTIL.debug(' After Call HZ_PERSON_INFO_V2PUB.update_person_language APIto unset primary');

1885: x_return_status => x_return_status,
1886: x_msg_count => x_msg_count,
1887: x_msg_data => x_msg_data);
1888: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1889: IBE_UTIL.debug(' After Call HZ_PERSON_INFO_V2PUB.update_person_language APIto unset primary');
1890: END IF;
1891: EXCEPTION WHEN NO_DATA_FOUND THEN
1892: NULL;
1893: END;

Line 1909: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1905: l_per_language_rec2.primary_language_indicator := 'Y';
1906: l_per_language_rec2.language_use_reference_id := l_id;
1907:
1908:
1909: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1910: IBE_UTIL.debug('Call HZ_PERSON_INFO_V2PUB.update_person_language API to set primary');
1911: END IF;
1912: hz_person_info_v2pub.update_person_language(
1913: p_person_language_rec => l_per_language_rec2,

Line 1910: IBE_UTIL.debug('Call HZ_PERSON_INFO_V2PUB.update_person_language API to set primary');

1906: l_per_language_rec2.language_use_reference_id := l_id;
1907:
1908:
1909: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1910: IBE_UTIL.debug('Call HZ_PERSON_INFO_V2PUB.update_person_language API to set primary');
1911: END IF;
1912: hz_person_info_v2pub.update_person_language(
1913: p_person_language_rec => l_per_language_rec2,
1914: p_object_version_number => l_object_version_number,

Line 1919: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1915: x_return_status => x_return_status,
1916: x_msg_count => x_msg_count,
1917: x_msg_data => x_msg_data);
1918:
1919: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1920: IBE_UTIL.debug('After Call HZ_PERSON_INFO_V2PUB.update_person_language API to set primary');
1921: END IF;
1922: EXCEPTION WHEN NO_DATA_FOUND THEN
1923: l_per_language_rec2.primary_language_indicator := 'Y';

Line 1920: IBE_UTIL.debug('After Call HZ_PERSON_INFO_V2PUB.update_person_language API to set primary');

1916: x_msg_count => x_msg_count,
1917: x_msg_data => x_msg_data);
1918:
1919: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1920: IBE_UTIL.debug('After Call HZ_PERSON_INFO_V2PUB.update_person_language API to set primary');
1921: END IF;
1922: EXCEPTION WHEN NO_DATA_FOUND THEN
1923: l_per_language_rec2.primary_language_indicator := 'Y';
1924: l_per_language_rec2.party_id := p_party_id;

Line 1928: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1924: l_per_language_rec2.party_id := p_party_id;
1925: l_per_language_rec2.language_name := p_language_name;
1926: l_per_language_rec2.created_by_module := p_created_by_module;
1927:
1928: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1929: IBE_UTIL.debug('Call HZ_PERSON_INFO_V2PUB.create_person_language API to set primary');
1930: END IF;
1931: hz_person_info_v2pub.create_person_language(
1932: p_person_language_rec => l_per_language_rec2,

Line 1929: IBE_UTIL.debug('Call HZ_PERSON_INFO_V2PUB.create_person_language API to set primary');

1925: l_per_language_rec2.language_name := p_language_name;
1926: l_per_language_rec2.created_by_module := p_created_by_module;
1927:
1928: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1929: IBE_UTIL.debug('Call HZ_PERSON_INFO_V2PUB.create_person_language API to set primary');
1930: END IF;
1931: hz_person_info_v2pub.create_person_language(
1932: p_person_language_rec => l_per_language_rec2,
1933: x_language_use_reference_id => l_language_use_reference_id,

Line 1937: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1933: x_language_use_reference_id => l_language_use_reference_id,
1934: x_return_status => x_return_status,
1935: x_msg_count => x_msg_count,
1936: x_msg_data => x_msg_data);
1937: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1938: IBE_UTIL.debug('Call HZ_PERSON_INFO_V2PUB.create_person_language API to set primary');
1939: END IF;
1940:
1941: END;

Line 1938: IBE_UTIL.debug('Call HZ_PERSON_INFO_V2PUB.create_person_language API to set primary');

1934: x_return_status => x_return_status,
1935: x_msg_count => x_msg_count,
1936: x_msg_data => x_msg_data);
1937: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1938: IBE_UTIL.debug('Call HZ_PERSON_INFO_V2PUB.create_person_language API to set primary');
1939: END IF;
1940:
1941: END;
1942: --end set primary language indicator

Line 1952: --IBE_UTIL.disable_debug();

1948: p_encoded => FND_API.G_FALSE,
1949: p_count => x_msg_count,
1950: p_data => x_msg_data
1951: );
1952: --IBE_UTIL.disable_debug();
1953:
1954: --standard exception catching for main body
1955: EXCEPTION
1956: WHEN FND_API.G_EXC_ERROR THEN

Line 1964: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1960: p_encoded => FND_API.G_FALSE,
1961: p_count => x_msg_count,
1962: p_data => x_msg_data
1963: );
1964: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1965: IBE_UTIL.debug('G_EXC_ERROR exception');
1966: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1967: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1968: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 1965: IBE_UTIL.debug('G_EXC_ERROR exception');

1961: p_count => x_msg_count,
1962: p_data => x_msg_data
1963: );
1964: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1965: IBE_UTIL.debug('G_EXC_ERROR exception');
1966: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1967: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1968: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1969: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 1966: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

1962: p_data => x_msg_data
1963: );
1964: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1965: IBE_UTIL.debug('G_EXC_ERROR exception');
1966: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1967: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1968: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1969: IBE_UTIL.debug('error text : '|| SQLERRM);
1970: END IF;

Line 1967: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

1963: );
1964: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1965: IBE_UTIL.debug('G_EXC_ERROR exception');
1966: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1967: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1968: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1969: IBE_UTIL.debug('error text : '|| SQLERRM);
1970: END IF;
1971:

Line 1968: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

1964: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1965: IBE_UTIL.debug('G_EXC_ERROR exception');
1966: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1967: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1968: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1969: IBE_UTIL.debug('error text : '|| SQLERRM);
1970: END IF;
1971:
1972:

Line 1969: IBE_UTIL.debug('error text : '|| SQLERRM);

1965: IBE_UTIL.debug('G_EXC_ERROR exception');
1966: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1967: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1968: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1969: IBE_UTIL.debug('error text : '|| SQLERRM);
1970: END IF;
1971:
1972:
1973: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 1981: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1977: p_encoded => FND_API.G_FALSE,
1978: p_count => x_msg_count,
1979: p_data => x_msg_data
1980: );
1981: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1982: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1983: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1984: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1985: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 1982: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');

1978: p_count => x_msg_count,
1979: p_data => x_msg_data
1980: );
1981: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1982: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1983: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1984: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1985: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1986: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 1983: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

1979: p_data => x_msg_data
1980: );
1981: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1982: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1983: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1984: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1985: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1986: IBE_UTIL.debug('error text : '|| SQLERRM);
1987: END IF;

Line 1984: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

1980: );
1981: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1982: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1983: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1984: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1985: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1986: IBE_UTIL.debug('error text : '|| SQLERRM);
1987: END IF;
1988:

Line 1985: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

1981: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
1982: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1983: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1984: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1985: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1986: IBE_UTIL.debug('error text : '|| SQLERRM);
1987: END IF;
1988:
1989:

Line 1986: IBE_UTIL.debug('error text : '|| SQLERRM);

1982: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
1983: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
1984: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
1985: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
1986: IBE_UTIL.debug('error text : '|| SQLERRM);
1987: END IF;
1988:
1989:
1990: WHEN OTHERS THEN

Line 2000: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

1996: p_encoded => FND_API.G_FALSE,
1997: p_count => x_msg_count,
1998: p_data => x_msg_data
1999: );
2000: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2001: IBE_UTIL.debug('OTHER exception');
2002: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2003: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2004: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 2001: IBE_UTIL.debug('OTHER exception');

1997: p_count => x_msg_count,
1998: p_data => x_msg_data
1999: );
2000: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2001: IBE_UTIL.debug('OTHER exception');
2002: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2003: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2004: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2005: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 2002: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

1998: p_data => x_msg_data
1999: );
2000: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2001: IBE_UTIL.debug('OTHER exception');
2002: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2003: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2004: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2005: IBE_UTIL.debug('error text : '|| SQLERRM);
2006: END IF;

Line 2003: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

1999: );
2000: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2001: IBE_UTIL.debug('OTHER exception');
2002: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2003: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2004: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2005: IBE_UTIL.debug('error text : '|| SQLERRM);
2006: END IF;
2007:

Line 2004: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

2000: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2001: IBE_UTIL.debug('OTHER exception');
2002: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2003: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2004: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2005: IBE_UTIL.debug('error text : '|| SQLERRM);
2006: END IF;
2007:
2008:

Line 2005: IBE_UTIL.debug('error text : '|| SQLERRM);

2001: IBE_UTIL.debug('OTHER exception');
2002: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2003: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2004: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2005: IBE_UTIL.debug('error text : '|| SQLERRM);
2006: END IF;
2007:
2008:
2009: END update_person_language;

Line 2056: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2052:
2053:
2054:
2055: BEGIN
2056: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2057: IBE_UTIL.debug('enter ibe_party_v2pvt.create_account');
2058: END IF;
2059:
2060: -- initialize message list if p_init_msg_list is set to TRUE.

Line 2057: IBE_UTIL.debug('enter ibe_party_v2pvt.create_account');

2053:
2054:
2055: BEGIN
2056: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2057: IBE_UTIL.debug('enter ibe_party_v2pvt.create_account');
2058: END IF;
2059:
2060: -- initialize message list if p_init_msg_list is set to TRUE.
2061: FND_MSG_PUB.initialize;

Line 2090: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2086: END LOOP;
2087:
2088:
2089:
2090: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2091: IBE_UTIL.debug('account number from sequence : ' || l_account_number);
2092: END IF;
2093:
2094: ddp_account_rec.account_number := l_account_number;

Line 2091: IBE_UTIL.debug('account number from sequence : ' || l_account_number);

2087:
2088:
2089:
2090: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2091: IBE_UTIL.debug('account number from sequence : ' || l_account_number);
2092: END IF;
2093:
2094: ddp_account_rec.account_number := l_account_number;
2095: END IF;

Line 2104: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2100:
2101:
2102: if p_party_type = 'P' then
2103: ddp_person_rec.party_rec.party_id := p_party_id;
2104: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2105: IBE_UTIL.debug('Call HZ_CUST_ACCOUNT_V2PUB.create_cust_account() API to create Person Account');
2106: END IF;
2107: HZ_CUST_ACCOUNT_V2PUB.create_cust_account(
2108: p_cust_account_rec =>ddp_account_rec,

Line 2105: IBE_UTIL.debug('Call HZ_CUST_ACCOUNT_V2PUB.create_cust_account() API to create Person Account');

2101:
2102: if p_party_type = 'P' then
2103: ddp_person_rec.party_rec.party_id := p_party_id;
2104: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2105: IBE_UTIL.debug('Call HZ_CUST_ACCOUNT_V2PUB.create_cust_account() API to create Person Account');
2106: END IF;
2107: HZ_CUST_ACCOUNT_V2PUB.create_cust_account(
2108: p_cust_account_rec =>ddp_account_rec,
2109: p_person_rec =>ddp_person_rec,

Line 2123: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2119: x_profile_id => l_profile_id);
2120:
2121: elsif p_party_type = 'O' then
2122: ddp_organization_rec.party_rec.party_id := p_party_id;
2123: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2124: IBE_UTIL.debug('Call HZ_CUST_ACCOUNT_V2PUB.create_cust_account() API to create Organization Account');
2125: END IF;
2126: HZ_CUST_ACCOUNT_V2PUB.create_cust_account(
2127: p_cust_account_rec =>ddp_account_rec,

Line 2124: IBE_UTIL.debug('Call HZ_CUST_ACCOUNT_V2PUB.create_cust_account() API to create Organization Account');

2120:
2121: elsif p_party_type = 'O' then
2122: ddp_organization_rec.party_rec.party_id := p_party_id;
2123: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2124: IBE_UTIL.debug('Call HZ_CUST_ACCOUNT_V2PUB.create_cust_account() API to create Organization Account');
2125: END IF;
2126: HZ_CUST_ACCOUNT_V2PUB.create_cust_account(
2127: p_cust_account_rec =>ddp_account_rec,
2128: p_organization_rec =>ddp_organization_rec,

Line 2145: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2141: if x_return_status <> FND_API.G_RET_STS_SUCCESS then
2142: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
2143: end if;
2144:
2145: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2146: IBE_UTIL.debug('exit ibe_party_v2.create_account');
2147: END IF;
2148:
2149:

Line 2146: IBE_UTIL.debug('exit ibe_party_v2.create_account');

2142: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
2143: end if;
2144:
2145: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2146: IBE_UTIL.debug('exit ibe_party_v2.create_account');
2147: END IF;
2148:
2149:
2150: EXCEPTION

Line 2160: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2156: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
2157: p_data => x_msg_data,
2158: p_encoded => 'F');
2159:
2160: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2161: IBE_UTIL.debug('G_EXC_ERROR exception');
2162: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2163: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2164: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 2161: IBE_UTIL.debug('G_EXC_ERROR exception');

2157: p_data => x_msg_data,
2158: p_encoded => 'F');
2159:
2160: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2161: IBE_UTIL.debug('G_EXC_ERROR exception');
2162: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2163: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2164: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2165: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 2162: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

2158: p_encoded => 'F');
2159:
2160: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2161: IBE_UTIL.debug('G_EXC_ERROR exception');
2162: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2163: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2164: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2165: IBE_UTIL.debug('error text : '|| SQLERRM);
2166: END IF;

Line 2163: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

2159:
2160: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2161: IBE_UTIL.debug('G_EXC_ERROR exception');
2162: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2163: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2164: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2165: IBE_UTIL.debug('error text : '|| SQLERRM);
2166: END IF;
2167:

Line 2164: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

2160: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2161: IBE_UTIL.debug('G_EXC_ERROR exception');
2162: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2163: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2164: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2165: IBE_UTIL.debug('error text : '|| SQLERRM);
2166: END IF;
2167:
2168: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 2165: IBE_UTIL.debug('error text : '|| SQLERRM);

2161: IBE_UTIL.debug('G_EXC_ERROR exception');
2162: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2163: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2164: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2165: IBE_UTIL.debug('error text : '|| SQLERRM);
2166: END IF;
2167:
2168: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
2169:

Line 2177: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2173: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
2174: p_data => x_msg_data,
2175: p_encoded => 'F');
2176:
2177: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2178: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
2179: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2180: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2181: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 2178: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');

2174: p_data => x_msg_data,
2175: p_encoded => 'F');
2176:
2177: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2178: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
2179: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2180: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2181: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2182: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 2179: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

2175: p_encoded => 'F');
2176:
2177: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2178: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
2179: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2180: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2181: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2182: IBE_UTIL.debug('error text : '|| SQLERRM);
2183: END IF;

Line 2180: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

2176:
2177: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2178: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
2179: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2180: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2181: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2182: IBE_UTIL.debug('error text : '|| SQLERRM);
2183: END IF;
2184:

Line 2181: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

2177: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2178: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
2179: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2180: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2181: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2182: IBE_UTIL.debug('error text : '|| SQLERRM);
2183: END IF;
2184:
2185: WHEN OTHERS THEN

Line 2182: IBE_UTIL.debug('error text : '|| SQLERRM);

2178: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
2179: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2180: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2181: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2182: IBE_UTIL.debug('error text : '|| SQLERRM);
2183: END IF;
2184:
2185: WHEN OTHERS THEN
2186:

Line 2198: --IBE_UTIL.debug('OTHER exception');

2194: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
2195: p_data => x_msg_data,
2196: p_encoded => 'F');
2197:
2198: --IBE_UTIL.debug('OTHER exception');
2199: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2200: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2201: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2202: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 2199: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2195: p_data => x_msg_data,
2196: p_encoded => 'F');
2197:
2198: --IBE_UTIL.debug('OTHER exception');
2199: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2200: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2201: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2202: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2203: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 2200: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

2196: p_encoded => 'F');
2197:
2198: --IBE_UTIL.debug('OTHER exception');
2199: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2200: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2201: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2202: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2203: IBE_UTIL.debug('error text : '|| SQLERRM);
2204: END IF;

Line 2201: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

2197:
2198: --IBE_UTIL.debug('OTHER exception');
2199: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2200: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2201: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2202: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2203: IBE_UTIL.debug('error text : '|| SQLERRM);
2204: END IF;
2205: END create_account;

Line 2202: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

2198: --IBE_UTIL.debug('OTHER exception');
2199: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2200: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2201: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2202: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2203: IBE_UTIL.debug('error text : '|| SQLERRM);
2204: END IF;
2205: END create_account;
2206:

Line 2203: IBE_UTIL.debug('error text : '|| SQLERRM);

2199: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2200: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2201: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2202: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2203: IBE_UTIL.debug('error text : '|| SQLERRM);
2204: END IF;
2205: END create_account;
2206:
2207: /*+====================================================================

Line 2297: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2293: where contact_level_table_id = l_party_id;
2294: rec_cntct_pref c_getContactPref%rowtype;
2295:
2296: BEGIN
2297: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2298: IBE_UTIL.debug('Begin ibe_party_v2pvt.update_party_status');
2299: END IF;
2300: -- initialize message list if p_init_msg_list is set to TRUE.
2301: FND_MSG_PUB.initialize;

Line 2298: IBE_UTIL.debug('Begin ibe_party_v2pvt.update_party_status');

2294: rec_cntct_pref c_getContactPref%rowtype;
2295:
2296: BEGIN
2297: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2298: IBE_UTIL.debug('Begin ibe_party_v2pvt.update_party_status');
2299: END IF;
2300: -- initialize message list if p_init_msg_list is set to TRUE.
2301: FND_MSG_PUB.initialize;
2302: -- Initialize API return status to success

Line 2305: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2301: FND_MSG_PUB.initialize;
2302: -- Initialize API return status to success
2303: x_return_status := FND_API.G_RET_STS_SUCCESS;
2304:
2305: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2306: IBE_UTIL.debug('Input party_Id is '||p_party_id);
2307: END IF;
2308: --Get Party Details
2309: OPEN c_getPartyInfo(p_party_id);

Line 2306: IBE_UTIL.debug('Input party_Id is '||p_party_id);

2302: -- Initialize API return status to success
2303: x_return_status := FND_API.G_RET_STS_SUCCESS;
2304:
2305: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2306: IBE_UTIL.debug('Input party_Id is '||p_party_id);
2307: END IF;
2308: --Get Party Details
2309: OPEN c_getPartyInfo(p_party_id);
2310: LOOP

Line 2317: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2313: l_party_status := rec_party_info.status;
2314: EXIT WHEN c_getPartyInfo%notfound;
2315: END LOOP;
2316: CLOSE c_getPartyInfo;
2317: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2318: IBE_UTIL.debug('party_type is '||l_party_type);
2319: IBE_UTIL.debug('DB party_status is '||l_party_status);
2320: IBE_UTIL.debug('INPUT party_status is '||p_party_status);
2321: END IF;

Line 2318: IBE_UTIL.debug('party_type is '||l_party_type);

2314: EXIT WHEN c_getPartyInfo%notfound;
2315: END LOOP;
2316: CLOSE c_getPartyInfo;
2317: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2318: IBE_UTIL.debug('party_type is '||l_party_type);
2319: IBE_UTIL.debug('DB party_status is '||l_party_status);
2320: IBE_UTIL.debug('INPUT party_status is '||p_party_status);
2321: END IF;
2322: IF (p_party_status <> l_party_status)THEN

Line 2319: IBE_UTIL.debug('DB party_status is '||l_party_status);

2315: END LOOP;
2316: CLOSE c_getPartyInfo;
2317: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2318: IBE_UTIL.debug('party_type is '||l_party_type);
2319: IBE_UTIL.debug('DB party_status is '||l_party_status);
2320: IBE_UTIL.debug('INPUT party_status is '||p_party_status);
2321: END IF;
2322: IF (p_party_status <> l_party_status)THEN
2323: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 2320: IBE_UTIL.debug('INPUT party_status is '||p_party_status);

2316: CLOSE c_getPartyInfo;
2317: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2318: IBE_UTIL.debug('party_type is '||l_party_type);
2319: IBE_UTIL.debug('DB party_status is '||l_party_status);
2320: IBE_UTIL.debug('INPUT party_status is '||p_party_status);
2321: END IF;
2322: IF (p_party_status <> l_party_status)THEN
2323: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2324: IBE_UTIL.debug('DB Party Status and Input Party_Status are not equal,Begin Update');

Line 2323: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2319: IBE_UTIL.debug('DB party_status is '||l_party_status);
2320: IBE_UTIL.debug('INPUT party_status is '||p_party_status);
2321: END IF;
2322: IF (p_party_status <> l_party_status)THEN
2323: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2324: IBE_UTIL.debug('DB Party Status and Input Party_Status are not equal,Begin Update');
2325: END IF;
2326: IF(l_party_type = 'PERSON') THEN
2327: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 2324: IBE_UTIL.debug('DB Party Status and Input Party_Status are not equal,Begin Update');

2320: IBE_UTIL.debug('INPUT party_status is '||p_party_status);
2321: END IF;
2322: IF (p_party_status <> l_party_status)THEN
2323: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2324: IBE_UTIL.debug('DB Party Status and Input Party_Status are not equal,Begin Update');
2325: END IF;
2326: IF(l_party_type = 'PERSON') THEN
2327: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2328: IBE_UTIL.debug('Update Person Rec');

Line 2327: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2323: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2324: IBE_UTIL.debug('DB Party Status and Input Party_Status are not equal,Begin Update');
2325: END IF;
2326: IF(l_party_type = 'PERSON') THEN
2327: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2328: IBE_UTIL.debug('Update Person Rec');
2329: END IF;
2330: l_person_rec.party_rec.party_id := p_party_id;
2331: l_person_rec.party_rec.status := p_party_status;

Line 2328: IBE_UTIL.debug('Update Person Rec');

2324: IBE_UTIL.debug('DB Party Status and Input Party_Status are not equal,Begin Update');
2325: END IF;
2326: IF(l_party_type = 'PERSON') THEN
2327: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2328: IBE_UTIL.debug('Update Person Rec');
2329: END IF;
2330: l_person_rec.party_rec.party_id := p_party_id;
2331: l_person_rec.party_rec.status := p_party_status;
2332: hz_party_v2pub.update_person

Line 2340: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2336: x_return_status => x_return_status,
2337: x_msg_count => x_msg_count,
2338: x_msg_data => x_msg_data
2339: );
2340: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2341: IBE_UTIL.debug('x_msg_count from update_person'||x_msg_count);
2342: IBE_UTIL.debug('x_msg_data from update_person'||x_msg_data);
2343: END IF;
2344: ELSIF(l_party_type = 'PARTY_RELATIONSHIP') THEN

Line 2341: IBE_UTIL.debug('x_msg_count from update_person'||x_msg_count);

2337: x_msg_count => x_msg_count,
2338: x_msg_data => x_msg_data
2339: );
2340: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2341: IBE_UTIL.debug('x_msg_count from update_person'||x_msg_count);
2342: IBE_UTIL.debug('x_msg_data from update_person'||x_msg_data);
2343: END IF;
2344: ELSIF(l_party_type = 'PARTY_RELATIONSHIP') THEN
2345: --Org Contacts updation

Line 2342: IBE_UTIL.debug('x_msg_data from update_person'||x_msg_data);

2338: x_msg_data => x_msg_data
2339: );
2340: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2341: IBE_UTIL.debug('x_msg_count from update_person'||x_msg_count);
2342: IBE_UTIL.debug('x_msg_data from update_person'||x_msg_data);
2343: END IF;
2344: ELSIF(l_party_type = 'PARTY_RELATIONSHIP') THEN
2345: --Org Contacts updation
2346: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 2346: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2342: IBE_UTIL.debug('x_msg_data from update_person'||x_msg_data);
2343: END IF;
2344: ELSIF(l_party_type = 'PARTY_RELATIONSHIP') THEN
2345: --Org Contacts updation
2346: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2347: IBE_UTIL.debug('Update OrgContact with Party Rel');
2348: END IF;
2349: l_org_contact_rec.org_contact_id := rec_party_info.org_contact_id;
2350: l_org_contact_rec.party_rel_rec.relationship_id := rec_party_info.relationship_id;

Line 2347: IBE_UTIL.debug('Update OrgContact with Party Rel');

2343: END IF;
2344: ELSIF(l_party_type = 'PARTY_RELATIONSHIP') THEN
2345: --Org Contacts updation
2346: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2347: IBE_UTIL.debug('Update OrgContact with Party Rel');
2348: END IF;
2349: l_org_contact_rec.org_contact_id := rec_party_info.org_contact_id;
2350: l_org_contact_rec.party_rel_rec.relationship_id := rec_party_info.relationship_id;
2351: l_org_contact_rec.party_rel_rec.status := p_party_status;

Line 2363: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2359: x_return_status => x_return_status,
2360: x_msg_count => x_msg_count,
2361: x_msg_data => x_msg_data
2362: );
2363: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2364: IBE_UTIL.debug('x_msg_count from update_org_contact'||x_msg_count);
2365: IBE_UTIL.debug('x_msg_data from update_org_contact'||x_msg_data);
2366: END IF;
2367: --Person party entities and Org Party Entities should also be inactivate

Line 2364: IBE_UTIL.debug('x_msg_count from update_org_contact'||x_msg_count);

2360: x_msg_count => x_msg_count,
2361: x_msg_data => x_msg_data
2362: );
2363: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2364: IBE_UTIL.debug('x_msg_count from update_org_contact'||x_msg_count);
2365: IBE_UTIL.debug('x_msg_data from update_org_contact'||x_msg_data);
2366: END IF;
2367: --Person party entities and Org Party Entities should also be inactivate
2368: --So calling this same procedure again with Person PartyId/Org PartyId

Line 2365: IBE_UTIL.debug('x_msg_data from update_org_contact'||x_msg_data);

2361: x_msg_data => x_msg_data
2362: );
2363: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2364: IBE_UTIL.debug('x_msg_count from update_org_contact'||x_msg_count);
2365: IBE_UTIL.debug('x_msg_data from update_org_contact'||x_msg_data);
2366: END IF;
2367: --Person party entities and Org Party Entities should also be inactivate
2368: --So calling this same procedure again with Person PartyId/Org PartyId
2369: OPEN c_getPersonOrgPartyId(p_party_id);

Line 2373: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2369: OPEN c_getPersonOrgPartyId(p_party_id);
2370: LOOP
2371: FETCH c_getPersonOrgPartyId into l_org_id,l_person_party_id;
2372: EXIT WHEN c_getPersonOrgPartyId%notfound;
2373: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2374: IBE_UTIL.debug('update person_party_id'||l_person_party_id);
2375: END IF;
2376: update_party_status(l_person_party_id,p_party_status,FND_API.G_FALSE,FND_API.G_FALSE,x_return_status,x_msg_count,x_msg_data);
2377: IF (FND_API.To_Boolean(p_change_org_status))THEN

Line 2374: IBE_UTIL.debug('update person_party_id'||l_person_party_id);

2370: LOOP
2371: FETCH c_getPersonOrgPartyId into l_org_id,l_person_party_id;
2372: EXIT WHEN c_getPersonOrgPartyId%notfound;
2373: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2374: IBE_UTIL.debug('update person_party_id'||l_person_party_id);
2375: END IF;
2376: update_party_status(l_person_party_id,p_party_status,FND_API.G_FALSE,FND_API.G_FALSE,x_return_status,x_msg_count,x_msg_data);
2377: IF (FND_API.To_Boolean(p_change_org_status))THEN
2378: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 2378: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2374: IBE_UTIL.debug('update person_party_id'||l_person_party_id);
2375: END IF;
2376: update_party_status(l_person_party_id,p_party_status,FND_API.G_FALSE,FND_API.G_FALSE,x_return_status,x_msg_count,x_msg_data);
2377: IF (FND_API.To_Boolean(p_change_org_status))THEN
2378: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2379: IBE_UTIL.debug('change_org_status = True, update org_id'||l_org_id);
2380: END IF;
2381: update_party_status(l_org_id,p_party_status,FND_API.G_FALSE,FND_API.G_FALSE,x_return_status,x_msg_count,x_msg_data);
2382: END IF;

Line 2379: IBE_UTIL.debug('change_org_status = True, update org_id'||l_org_id);

2375: END IF;
2376: update_party_status(l_person_party_id,p_party_status,FND_API.G_FALSE,FND_API.G_FALSE,x_return_status,x_msg_count,x_msg_data);
2377: IF (FND_API.To_Boolean(p_change_org_status))THEN
2378: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2379: IBE_UTIL.debug('change_org_status = True, update org_id'||l_org_id);
2380: END IF;
2381: update_party_status(l_org_id,p_party_status,FND_API.G_FALSE,FND_API.G_FALSE,x_return_status,x_msg_count,x_msg_data);
2382: END IF;
2383: END LOOP;

Line 2386: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2382: END IF;
2383: END LOOP;
2384: CLOSE c_getPersonOrgPartyId;
2385: ELSIF(l_party_type = 'ORGANIZATION') THEN
2386: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2387: IBE_UTIL.debug('Update Organization');
2388: END IF;
2389: l_org_rec.party_rec.party_id := p_party_id;
2390: l_org_rec.party_rec.status := p_party_status;

Line 2387: IBE_UTIL.debug('Update Organization');

2383: END LOOP;
2384: CLOSE c_getPersonOrgPartyId;
2385: ELSIF(l_party_type = 'ORGANIZATION') THEN
2386: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2387: IBE_UTIL.debug('Update Organization');
2388: END IF;
2389: l_org_rec.party_rec.party_id := p_party_id;
2390: l_org_rec.party_rec.status := p_party_status;
2391: hz_party_v2pub.update_organization

Line 2399: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2395: x_return_status => x_return_status,
2396: x_msg_count => x_msg_count,
2397: x_msg_data => x_msg_data
2398: );
2399: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2400: IBE_UTIL.debug('x_msg_count from update_org'||x_msg_count);
2401: IBE_UTIL.debug('x_msg_data from update_org'||x_msg_data);
2402: END IF;
2403: END IF;

Line 2400: IBE_UTIL.debug('x_msg_count from update_org'||x_msg_count);

2396: x_msg_count => x_msg_count,
2397: x_msg_data => x_msg_data
2398: );
2399: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2400: IBE_UTIL.debug('x_msg_count from update_org'||x_msg_count);
2401: IBE_UTIL.debug('x_msg_data from update_org'||x_msg_data);
2402: END IF;
2403: END IF;
2404: --Cust Account status updation

Line 2401: IBE_UTIL.debug('x_msg_data from update_org'||x_msg_data);

2397: x_msg_data => x_msg_data
2398: );
2399: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2400: IBE_UTIL.debug('x_msg_count from update_org'||x_msg_count);
2401: IBE_UTIL.debug('x_msg_data from update_org'||x_msg_data);
2402: END IF;
2403: END IF;
2404: --Cust Account status updation
2405: IF(rec_party_info.cust_account_id IS NOT null) THEN

Line 2406: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2402: END IF;
2403: END IF;
2404: --Cust Account status updation
2405: IF(rec_party_info.cust_account_id IS NOT null) THEN
2406: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2407: IBE_UTIL.debug('Update Account Id'||rec_party_info.cust_account_id);
2408: END IF;
2409: l_account_rec.cust_account_id := rec_party_info.cust_account_id;
2410: l_account_rec.status := p_party_status;

Line 2407: IBE_UTIL.debug('Update Account Id'||rec_party_info.cust_account_id);

2403: END IF;
2404: --Cust Account status updation
2405: IF(rec_party_info.cust_account_id IS NOT null) THEN
2406: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2407: IBE_UTIL.debug('Update Account Id'||rec_party_info.cust_account_id);
2408: END IF;
2409: l_account_rec.cust_account_id := rec_party_info.cust_account_id;
2410: l_account_rec.status := p_party_status;
2411: hz_cust_account_v2pub.update_cust_account

Line 2418: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2414: x_return_status => x_return_status,
2415: x_msg_count => x_msg_count,
2416: x_msg_data => x_msg_data
2417: );
2418: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2419: IBE_UTIL.debug('x_msg_count from update_cust_account'||x_msg_count);
2420: IBE_UTIL.debug('x_msg_data from update_cust_account'||x_msg_data);
2421: END IF;
2422: END IF;

Line 2419: IBE_UTIL.debug('x_msg_count from update_cust_account'||x_msg_count);

2415: x_msg_count => x_msg_count,
2416: x_msg_data => x_msg_data
2417: );
2418: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2419: IBE_UTIL.debug('x_msg_count from update_cust_account'||x_msg_count);
2420: IBE_UTIL.debug('x_msg_data from update_cust_account'||x_msg_data);
2421: END IF;
2422: END IF;
2423: --Cust Acct Role status update

Line 2420: IBE_UTIL.debug('x_msg_data from update_cust_account'||x_msg_data);

2416: x_msg_data => x_msg_data
2417: );
2418: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2419: IBE_UTIL.debug('x_msg_count from update_cust_account'||x_msg_count);
2420: IBE_UTIL.debug('x_msg_data from update_cust_account'||x_msg_data);
2421: END IF;
2422: END IF;
2423: --Cust Acct Role status update
2424: FOR rec_custAcct_role in c_getCustAcctRole(p_party_id) loop

Line 2426: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2422: END IF;
2423: --Cust Acct Role status update
2424: FOR rec_custAcct_role in c_getCustAcctRole(p_party_id) loop
2425: exit when c_getCustAcctRole%notfound;
2426: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2427: IBE_UTIL.debug('Update AcctRole Id'||rec_custAcct_role.cust_account_role_id);
2428: END IF;
2429: l_custacct_role_rec.cust_account_role_id := rec_custAcct_role.cust_account_role_id;
2430: l_custacct_role_rec.status := p_party_status;

Line 2427: IBE_UTIL.debug('Update AcctRole Id'||rec_custAcct_role.cust_account_role_id);

2423: --Cust Acct Role status update
2424: FOR rec_custAcct_role in c_getCustAcctRole(p_party_id) loop
2425: exit when c_getCustAcctRole%notfound;
2426: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2427: IBE_UTIL.debug('Update AcctRole Id'||rec_custAcct_role.cust_account_role_id);
2428: END IF;
2429: l_custacct_role_rec.cust_account_role_id := rec_custAcct_role.cust_account_role_id;
2430: l_custacct_role_rec.status := p_party_status;
2431: hz_cust_account_role_v2pub.update_cust_account_role

Line 2438: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2434: x_return_status => x_return_status,
2435: x_msg_count => x_msg_count,
2436: x_msg_data => x_msg_data
2437: );
2438: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2439: IBE_UTIL.debug('x_msg_count from update_cust_account_role'||x_msg_count);
2440: IBE_UTIL.debug('x_msg_data from update_cust_account_role'||x_msg_data);
2441: END IF;
2442: end loop;

Line 2439: IBE_UTIL.debug('x_msg_count from update_cust_account_role'||x_msg_count);

2435: x_msg_count => x_msg_count,
2436: x_msg_data => x_msg_data
2437: );
2438: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2439: IBE_UTIL.debug('x_msg_count from update_cust_account_role'||x_msg_count);
2440: IBE_UTIL.debug('x_msg_data from update_cust_account_role'||x_msg_data);
2441: END IF;
2442: end loop;
2443: --Contact Points status update

Line 2440: IBE_UTIL.debug('x_msg_data from update_cust_account_role'||x_msg_data);

2436: x_msg_data => x_msg_data
2437: );
2438: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2439: IBE_UTIL.debug('x_msg_count from update_cust_account_role'||x_msg_count);
2440: IBE_UTIL.debug('x_msg_data from update_cust_account_role'||x_msg_data);
2441: END IF;
2442: end loop;
2443: --Contact Points status update
2444: FOR rec_contact_point in c_getContactPoints(p_party_id) loop

Line 2445: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2441: END IF;
2442: end loop;
2443: --Contact Points status update
2444: FOR rec_contact_point in c_getContactPoints(p_party_id) loop
2445: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2446: IBE_UTIL.debug('Update Contact_Point Id'||rec_contact_point.contact_point_id);
2447: END IF;
2448: l_contact_point_rec.contact_point_id := rec_contact_point.contact_point_id;
2449: l_contact_point_rec.status := p_party_status;

Line 2446: IBE_UTIL.debug('Update Contact_Point Id'||rec_contact_point.contact_point_id);

2442: end loop;
2443: --Contact Points status update
2444: FOR rec_contact_point in c_getContactPoints(p_party_id) loop
2445: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2446: IBE_UTIL.debug('Update Contact_Point Id'||rec_contact_point.contact_point_id);
2447: END IF;
2448: l_contact_point_rec.contact_point_id := rec_contact_point.contact_point_id;
2449: l_contact_point_rec.status := p_party_status;
2450: hz_contact_point_v2pub.update_contact_point

Line 2457: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2453: x_return_status => x_return_status,
2454: x_msg_count => x_msg_count,
2455: x_msg_data => x_msg_data
2456: );
2457: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2458: IBE_UTIL.debug('x_msg_count from update_contact_point'||x_msg_count);
2459: IBE_UTIL.debug('x_msg_data from update_contact_point'||x_msg_data);
2460: END IF;
2461: exit when c_getContactPoints%notfound;

Line 2458: IBE_UTIL.debug('x_msg_count from update_contact_point'||x_msg_count);

2454: x_msg_count => x_msg_count,
2455: x_msg_data => x_msg_data
2456: );
2457: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2458: IBE_UTIL.debug('x_msg_count from update_contact_point'||x_msg_count);
2459: IBE_UTIL.debug('x_msg_data from update_contact_point'||x_msg_data);
2460: END IF;
2461: exit when c_getContactPoints%notfound;
2462: end loop;

Line 2459: IBE_UTIL.debug('x_msg_data from update_contact_point'||x_msg_data);

2455: x_msg_data => x_msg_data
2456: );
2457: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2458: IBE_UTIL.debug('x_msg_count from update_contact_point'||x_msg_count);
2459: IBE_UTIL.debug('x_msg_data from update_contact_point'||x_msg_data);
2460: END IF;
2461: exit when c_getContactPoints%notfound;
2462: end loop;
2463:

Line 2466: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2462: end loop;
2463:
2464: --Party_Site status update
2465: FOR rec_party_site in c_getPartySite(p_party_id) loop
2466: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2467: IBE_UTIL.debug('Update PartySite Id'||rec_party_site.party_site_id);
2468: END IF;
2469: l_party_site_rec.party_site_id := rec_party_site.party_site_id;
2470: l_party_site_rec.status := p_party_status;

Line 2467: IBE_UTIL.debug('Update PartySite Id'||rec_party_site.party_site_id);

2463:
2464: --Party_Site status update
2465: FOR rec_party_site in c_getPartySite(p_party_id) loop
2466: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2467: IBE_UTIL.debug('Update PartySite Id'||rec_party_site.party_site_id);
2468: END IF;
2469: l_party_site_rec.party_site_id := rec_party_site.party_site_id;
2470: l_party_site_rec.status := p_party_status;
2471: hz_party_site_v2pub.update_party_site

Line 2478: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2474: x_return_status => x_return_status,
2475: x_msg_count => x_msg_count,
2476: x_msg_data => x_msg_data
2477: );
2478: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2479: IBE_UTIL.debug('x_msg_count from update_party_site'||x_msg_count);
2480: IBE_UTIL.debug('x_msg_data from update_party_site'||x_msg_data);
2481: END IF;
2482: exit when c_getPartySite%notfound;

Line 2479: IBE_UTIL.debug('x_msg_count from update_party_site'||x_msg_count);

2475: x_msg_count => x_msg_count,
2476: x_msg_data => x_msg_data
2477: );
2478: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2479: IBE_UTIL.debug('x_msg_count from update_party_site'||x_msg_count);
2480: IBE_UTIL.debug('x_msg_data from update_party_site'||x_msg_data);
2481: END IF;
2482: exit when c_getPartySite%notfound;
2483: end loop;

Line 2480: IBE_UTIL.debug('x_msg_data from update_party_site'||x_msg_data);

2476: x_msg_data => x_msg_data
2477: );
2478: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2479: IBE_UTIL.debug('x_msg_count from update_party_site'||x_msg_count);
2480: IBE_UTIL.debug('x_msg_data from update_party_site'||x_msg_data);
2481: END IF;
2482: exit when c_getPartySite%notfound;
2483: end loop;
2484:

Line 2487: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2483: end loop;
2484:
2485: --Contact Preference status update
2486: FOR rec_cntct_pref in c_getContactPref(p_party_id) loop
2487: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2488: IBE_UTIL.debug('Update Preference Id'||rec_cntct_pref.contact_preference_id);
2489: END IF;
2490: l_cntct_pref_rec.contact_preference_id := rec_cntct_pref.contact_preference_id;
2491: l_cntct_pref_rec.status := p_party_status;

Line 2488: IBE_UTIL.debug('Update Preference Id'||rec_cntct_pref.contact_preference_id);

2484:
2485: --Contact Preference status update
2486: FOR rec_cntct_pref in c_getContactPref(p_party_id) loop
2487: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2488: IBE_UTIL.debug('Update Preference Id'||rec_cntct_pref.contact_preference_id);
2489: END IF;
2490: l_cntct_pref_rec.contact_preference_id := rec_cntct_pref.contact_preference_id;
2491: l_cntct_pref_rec.status := p_party_status;
2492: hz_contact_preference_v2pub.update_contact_preference

Line 2499: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2495: x_return_status => x_return_status,
2496: x_msg_count => x_msg_count,
2497: x_msg_data => x_msg_data
2498: );
2499: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2500: IBE_UTIL.debug('x_msg_count from update_contact_preference'||x_msg_count);
2501: IBE_UTIL.debug('x_msg_data from update_contact_preference'||x_msg_data);
2502: END IF;
2503: exit when c_getContactPref%notfound;

Line 2500: IBE_UTIL.debug('x_msg_count from update_contact_preference'||x_msg_count);

2496: x_msg_count => x_msg_count,
2497: x_msg_data => x_msg_data
2498: );
2499: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2500: IBE_UTIL.debug('x_msg_count from update_contact_preference'||x_msg_count);
2501: IBE_UTIL.debug('x_msg_data from update_contact_preference'||x_msg_data);
2502: END IF;
2503: exit when c_getContactPref%notfound;
2504: end loop;

Line 2501: IBE_UTIL.debug('x_msg_data from update_contact_preference'||x_msg_data);

2497: x_msg_data => x_msg_data
2498: );
2499: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2500: IBE_UTIL.debug('x_msg_count from update_contact_preference'||x_msg_count);
2501: IBE_UTIL.debug('x_msg_data from update_contact_preference'||x_msg_data);
2502: END IF;
2503: exit when c_getContactPref%notfound;
2504: end loop;
2505: END IF;

Line 2511: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2507: COMMIT WORK;
2508: END IF;
2509: EXCEPTION
2510: WHEN FND_API.G_EXC_ERROR THEN
2511: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2512: IBE_UTIL.debug('Expected Error');
2513: END IF;
2514: x_return_status := FND_API.G_RET_STS_ERROR;
2515: FND_MSG_PUB.ADD;

Line 2512: IBE_UTIL.debug('Expected Error');

2508: END IF;
2509: EXCEPTION
2510: WHEN FND_API.G_EXC_ERROR THEN
2511: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2512: IBE_UTIL.debug('Expected Error');
2513: END IF;
2514: x_return_status := FND_API.G_RET_STS_ERROR;
2515: FND_MSG_PUB.ADD;
2516: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,

Line 2520: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2516: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
2517: p_data => x_msg_data,
2518: p_encoded => 'F');
2519:
2520: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2521: IBE_UTIL.debug('G_EXC_ERROR exception');
2522: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2523: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2524: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 2521: IBE_UTIL.debug('G_EXC_ERROR exception');

2517: p_data => x_msg_data,
2518: p_encoded => 'F');
2519:
2520: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2521: IBE_UTIL.debug('G_EXC_ERROR exception');
2522: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2523: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2524: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2525: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 2522: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

2518: p_encoded => 'F');
2519:
2520: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2521: IBE_UTIL.debug('G_EXC_ERROR exception');
2522: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2523: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2524: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2525: IBE_UTIL.debug('error text : '|| SQLERRM);
2526: END IF;

Line 2523: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

2519:
2520: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2521: IBE_UTIL.debug('G_EXC_ERROR exception');
2522: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2523: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2524: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2525: IBE_UTIL.debug('error text : '|| SQLERRM);
2526: END IF;
2527:

Line 2524: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

2520: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2521: IBE_UTIL.debug('G_EXC_ERROR exception');
2522: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2523: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2524: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2525: IBE_UTIL.debug('error text : '|| SQLERRM);
2526: END IF;
2527:
2528: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 2525: IBE_UTIL.debug('error text : '|| SQLERRM);

2521: IBE_UTIL.debug('G_EXC_ERROR exception');
2522: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2523: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2524: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2525: IBE_UTIL.debug('error text : '|| SQLERRM);
2526: END IF;
2527:
2528: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
2529:

Line 2530: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2526: END IF;
2527:
2528: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
2529:
2530: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2531: IBE_UTIL.debug('UnExpected Error');
2532: END IF;
2533: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2534: FND_MSG_PUB.ADD;

Line 2531: IBE_UTIL.debug('UnExpected Error');

2527:
2528: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
2529:
2530: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2531: IBE_UTIL.debug('UnExpected Error');
2532: END IF;
2533: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2534: FND_MSG_PUB.ADD;
2535: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,

Line 2539: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2535: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
2536: p_data => x_msg_data,
2537: p_encoded => 'F');
2538:
2539: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2540: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
2541: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2542: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2543: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 2540: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');

2536: p_data => x_msg_data,
2537: p_encoded => 'F');
2538:
2539: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2540: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
2541: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2542: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2543: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2544: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 2541: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

2537: p_encoded => 'F');
2538:
2539: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2540: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
2541: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2542: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2543: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2544: IBE_UTIL.debug('error text : '|| SQLERRM);
2545: END IF;

Line 2542: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

2538:
2539: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2540: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
2541: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2542: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2543: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2544: IBE_UTIL.debug('error text : '|| SQLERRM);
2545: END IF;
2546:

Line 2543: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

2539: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2540: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
2541: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2542: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2543: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2544: IBE_UTIL.debug('error text : '|| SQLERRM);
2545: END IF;
2546:
2547: WHEN OTHERS THEN

Line 2544: IBE_UTIL.debug('error text : '|| SQLERRM);

2540: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
2541: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2542: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2543: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2544: IBE_UTIL.debug('error text : '|| SQLERRM);
2545: END IF;
2546:
2547: WHEN OTHERS THEN
2548: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 2548: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2544: IBE_UTIL.debug('error text : '|| SQLERRM);
2545: END IF;
2546:
2547: WHEN OTHERS THEN
2548: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2549: IBE_UTIL.debug('Other Exception');
2550: END IF;
2551: FND_MESSAGE.Set_Name('FND', 'SQL_PLSQL_ERROR');
2552: FND_MESSAGE.Set_Token('ERRNO', SQLCODE);

Line 2549: IBE_UTIL.debug('Other Exception');

2545: END IF;
2546:
2547: WHEN OTHERS THEN
2548: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2549: IBE_UTIL.debug('Other Exception');
2550: END IF;
2551: FND_MESSAGE.Set_Name('FND', 'SQL_PLSQL_ERROR');
2552: FND_MESSAGE.Set_Token('ERRNO', SQLCODE);
2553: FND_MESSAGE.Set_Token('REASON', SQLERRM);

Line 2561: --IBE_UTIL.debug('OTHER exception');

2557: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
2558: p_data => x_msg_data,
2559: p_encoded => 'F');
2560:
2561: --IBE_UTIL.debug('OTHER exception');
2562: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2563: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2564: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2565: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 2562: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2558: p_data => x_msg_data,
2559: p_encoded => 'F');
2560:
2561: --IBE_UTIL.debug('OTHER exception');
2562: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2563: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2564: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2565: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2566: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 2563: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

2559: p_encoded => 'F');
2560:
2561: --IBE_UTIL.debug('OTHER exception');
2562: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2563: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2564: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2565: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2566: IBE_UTIL.debug('error text : '|| SQLERRM);
2567: END IF;

Line 2564: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

2560:
2561: --IBE_UTIL.debug('OTHER exception');
2562: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2563: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2564: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2565: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2566: IBE_UTIL.debug('error text : '|| SQLERRM);
2567: END IF;
2568: END Update_Party_Status;

Line 2565: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

2561: --IBE_UTIL.debug('OTHER exception');
2562: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2563: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2564: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2565: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2566: IBE_UTIL.debug('error text : '|| SQLERRM);
2567: END IF;
2568: END Update_Party_Status;
2569:

Line 2566: IBE_UTIL.debug('error text : '|| SQLERRM);

2562: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2563: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
2564: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
2565: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
2566: IBE_UTIL.debug('error text : '|| SQLERRM);
2567: END IF;
2568: END Update_Party_Status;
2569:
2570: /*+====================================================================

Line 2606: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2602: l_org_name HZ_PARTIES.PARTY_NAME%TYPE := null;
2603: l_org_num HZ_PARTIES.PARTY_NUMBER%TYPE := null;
2604:
2605: BEGIN
2606: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2607: IBE_UTIL.debug('enter ibe_party_v2pvt.find_organization');
2608: IBE_UTIL.debug('x_org_name: '|| x_org_name);
2609: IBE_UTIL.debug('x_org_num: '|| x_org_num);
2610: IBE_UTIL.debug('x_org_id: '|| x_org_id);

Line 2607: IBE_UTIL.debug('enter ibe_party_v2pvt.find_organization');

2603: l_org_num HZ_PARTIES.PARTY_NUMBER%TYPE := null;
2604:
2605: BEGIN
2606: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2607: IBE_UTIL.debug('enter ibe_party_v2pvt.find_organization');
2608: IBE_UTIL.debug('x_org_name: '|| x_org_name);
2609: IBE_UTIL.debug('x_org_num: '|| x_org_num);
2610: IBE_UTIL.debug('x_org_id: '|| x_org_id);
2611: END IF;

Line 2608: IBE_UTIL.debug('x_org_name: '|| x_org_name);

2604:
2605: BEGIN
2606: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2607: IBE_UTIL.debug('enter ibe_party_v2pvt.find_organization');
2608: IBE_UTIL.debug('x_org_name: '|| x_org_name);
2609: IBE_UTIL.debug('x_org_num: '|| x_org_num);
2610: IBE_UTIL.debug('x_org_id: '|| x_org_id);
2611: END IF;
2612:

Line 2609: IBE_UTIL.debug('x_org_num: '|| x_org_num);

2605: BEGIN
2606: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2607: IBE_UTIL.debug('enter ibe_party_v2pvt.find_organization');
2608: IBE_UTIL.debug('x_org_name: '|| x_org_name);
2609: IBE_UTIL.debug('x_org_num: '|| x_org_num);
2610: IBE_UTIL.debug('x_org_id: '|| x_org_id);
2611: END IF;
2612:
2613:

Line 2610: IBE_UTIL.debug('x_org_id: '|| x_org_id);

2606: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2607: IBE_UTIL.debug('enter ibe_party_v2pvt.find_organization');
2608: IBE_UTIL.debug('x_org_name: '|| x_org_name);
2609: IBE_UTIL.debug('x_org_num: '|| x_org_num);
2610: IBE_UTIL.debug('x_org_id: '|| x_org_id);
2611: END IF;
2612:
2613:
2614: if (x_org_name is not null) then

Line 2622: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2618: l_org_num := x_org_num;
2619: end if;
2620:
2621: if (l_org_name is not null ) then
2622: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2623: IBE_UTIL.debug('Inside l_org_name not null');
2624: END IF;
2625: Open c_party_name;
2626: Fetch c_party_name into l_party_rec;

Line 2623: IBE_UTIL.debug('Inside l_org_name not null');

2619: end if;
2620:
2621: if (l_org_name is not null ) then
2622: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2623: IBE_UTIL.debug('Inside l_org_name not null');
2624: END IF;
2625: Open c_party_name;
2626: Fetch c_party_name into l_party_rec;
2627: If (c_party_name%FOUND) then

Line 2628: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2624: END IF;
2625: Open c_party_name;
2626: Fetch c_party_name into l_party_rec;
2627: If (c_party_name%FOUND) then
2628: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2629: IBE_UTIL.debug('Inside party_name found');
2630: END IF;
2631: x_org_num := l_party_rec.party_number;
2632: x_org_name := l_party_rec.party_name;

Line 2629: IBE_UTIL.debug('Inside party_name found');

2625: Open c_party_name;
2626: Fetch c_party_name into l_party_rec;
2627: If (c_party_name%FOUND) then
2628: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2629: IBE_UTIL.debug('Inside party_name found');
2630: END IF;
2631: x_org_num := l_party_rec.party_number;
2632: x_org_name := l_party_rec.party_name;
2633: x_org_id := l_party_rec.party_id;

Line 2638: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2634: ret_val := true;
2635: end if;
2636: Close c_party_name;
2637: Elsif (l_org_num is not null) then
2638: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2639: IBE_UTIL.debug('Inside l_org_num not null');
2640: END IF;
2641: Open c_party_num;
2642: Fetch c_party_num into l_party_rec;

Line 2639: IBE_UTIL.debug('Inside l_org_num not null');

2635: end if;
2636: Close c_party_name;
2637: Elsif (l_org_num is not null) then
2638: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2639: IBE_UTIL.debug('Inside l_org_num not null');
2640: END IF;
2641: Open c_party_num;
2642: Fetch c_party_num into l_party_rec;
2643: If (c_party_num%FOUND) then

Line 2644: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2640: END IF;
2641: Open c_party_num;
2642: Fetch c_party_num into l_party_rec;
2643: If (c_party_num%FOUND) then
2644: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2645: IBE_UTIL.debug('Inside party_number found');
2646: END IF;
2647: x_org_num := l_party_rec.party_number;
2648: x_org_name := l_party_rec.party_name;

Line 2645: IBE_UTIL.debug('Inside party_number found');

2641: Open c_party_num;
2642: Fetch c_party_num into l_party_rec;
2643: If (c_party_num%FOUND) then
2644: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2645: IBE_UTIL.debug('Inside party_number found');
2646: END IF;
2647: x_org_num := l_party_rec.party_number;
2648: x_org_name := l_party_rec.party_name;
2649: x_org_id := l_party_rec.party_id;

Line 2655: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2651: end if;
2652: Close c_party_num;
2653:
2654: Elsif ((x_org_id is not null) AND (x_org_id <> ' ') AND (x_org_id <> ''))then
2655: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2656: IBE_UTIL.debug('Inside l_org_id not null');
2657: END IF;
2658: Open c_party_id;
2659: Fetch c_party_id into l_party_rec;

Line 2656: IBE_UTIL.debug('Inside l_org_id not null');

2652: Close c_party_num;
2653:
2654: Elsif ((x_org_id is not null) AND (x_org_id <> ' ') AND (x_org_id <> ''))then
2655: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2656: IBE_UTIL.debug('Inside l_org_id not null');
2657: END IF;
2658: Open c_party_id;
2659: Fetch c_party_id into l_party_rec;
2660: If (c_party_id%FOUND) then

Line 2661: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2657: END IF;
2658: Open c_party_id;
2659: Fetch c_party_id into l_party_rec;
2660: If (c_party_id%FOUND) then
2661: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2662: IBE_UTIL.debug('Inside party_id found');
2663: END IF;
2664: x_org_num := l_party_rec.party_number;
2665: x_org_name := l_party_rec.party_name;

Line 2662: IBE_UTIL.debug('Inside party_id found');

2658: Open c_party_id;
2659: Fetch c_party_id into l_party_rec;
2660: If (c_party_id%FOUND) then
2661: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2662: IBE_UTIL.debug('Inside party_id found');
2663: END IF;
2664: x_org_num := l_party_rec.party_number;
2665: x_org_name := l_party_rec.party_name;
2666: x_org_id := l_party_rec.party_id;

Line 2672: --IBE_UTIL.debug('exit ibe_party_v2pvt.find_organization ret_val :' || ret_val);

2668: end if;
2669: Close c_party_num;
2670: End if;
2671:
2672: --IBE_UTIL.debug('exit ibe_party_v2pvt.find_organization ret_val :' || ret_val);
2673: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2674: IBE_UTIL.debug('x_org_name: '|| x_org_name);
2675: IBE_UTIL.debug('x_org_num: '|| x_org_num);
2676: IBE_UTIL.debug('x_org_id: '|| x_org_id);

Line 2673: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2669: Close c_party_num;
2670: End if;
2671:
2672: --IBE_UTIL.debug('exit ibe_party_v2pvt.find_organization ret_val :' || ret_val);
2673: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2674: IBE_UTIL.debug('x_org_name: '|| x_org_name);
2675: IBE_UTIL.debug('x_org_num: '|| x_org_num);
2676: IBE_UTIL.debug('x_org_id: '|| x_org_id);
2677: END IF;

Line 2674: IBE_UTIL.debug('x_org_name: '|| x_org_name);

2670: End if;
2671:
2672: --IBE_UTIL.debug('exit ibe_party_v2pvt.find_organization ret_val :' || ret_val);
2673: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2674: IBE_UTIL.debug('x_org_name: '|| x_org_name);
2675: IBE_UTIL.debug('x_org_num: '|| x_org_num);
2676: IBE_UTIL.debug('x_org_id: '|| x_org_id);
2677: END IF;
2678: --IBE_UTIL.debug('exit ibe_party_v2pvt.find_organization ret_val :' || ret_val));

Line 2675: IBE_UTIL.debug('x_org_num: '|| x_org_num);

2671:
2672: --IBE_UTIL.debug('exit ibe_party_v2pvt.find_organization ret_val :' || ret_val);
2673: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2674: IBE_UTIL.debug('x_org_name: '|| x_org_name);
2675: IBE_UTIL.debug('x_org_num: '|| x_org_num);
2676: IBE_UTIL.debug('x_org_id: '|| x_org_id);
2677: END IF;
2678: --IBE_UTIL.debug('exit ibe_party_v2pvt.find_organization ret_val :' || ret_val));
2679: return ret_val;

Line 2676: IBE_UTIL.debug('x_org_id: '|| x_org_id);

2672: --IBE_UTIL.debug('exit ibe_party_v2pvt.find_organization ret_val :' || ret_val);
2673: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2674: IBE_UTIL.debug('x_org_name: '|| x_org_name);
2675: IBE_UTIL.debug('x_org_num: '|| x_org_num);
2676: IBE_UTIL.debug('x_org_id: '|| x_org_id);
2677: END IF;
2678: --IBE_UTIL.debug('exit ibe_party_v2pvt.find_organization ret_val :' || ret_val));
2679: return ret_val;
2680: END Find_Organization;

Line 2678: --IBE_UTIL.debug('exit ibe_party_v2pvt.find_organization ret_val :' || ret_val));

2674: IBE_UTIL.debug('x_org_name: '|| x_org_name);
2675: IBE_UTIL.debug('x_org_num: '|| x_org_num);
2676: IBE_UTIL.debug('x_org_id: '|| x_org_id);
2677: END IF;
2678: --IBE_UTIL.debug('exit ibe_party_v2pvt.find_organization ret_val :' || ret_val));
2679: return ret_val;
2680: END Find_Organization;
2681:
2682:

Line 2816: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2812: l_rel_party_id NUMBER := FND_API.G_MISS_NUM;
2813: l_org_party_id NUMBER := l_organization_rec.party_rec.party_id;
2814:
2815: BEGIN
2816: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2817: IBE_UTIL.debug('enter ibe_party_v2pvt.Save_Tca_Entities');
2818: END IF;
2819:
2820: -- initialize message list

Line 2817: IBE_UTIL.debug('enter ibe_party_v2pvt.Save_Tca_Entities');

2813: l_org_party_id NUMBER := l_organization_rec.party_rec.party_id;
2814:
2815: BEGIN
2816: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2817: IBE_UTIL.debug('enter ibe_party_v2pvt.Save_Tca_Entities');
2818: END IF;
2819:
2820: -- initialize message list
2821: FND_MSG_PUB.initialize;

Line 2828: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2824: x_return_status := FND_API.G_RET_STS_SUCCESS;
2825:
2826: -- Create or Update Person
2827: IF ( l_person_rec.party_rec.party_id = FND_API.G_MISS_NUM or l_person_rec.party_rec.party_id is NULL) THEN
2828: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2829: IBE_UTIL.debug('Call HZ_PARTY_V2PUB.create_person () API');
2830: END IF;
2831: l_person_rec.created_by_module := p_created_by_module;
2832: HZ_PARTY_V2PUB.Create_Person(

Line 2829: IBE_UTIL.debug('Call HZ_PARTY_V2PUB.create_person () API');

2825:
2826: -- Create or Update Person
2827: IF ( l_person_rec.party_rec.party_id = FND_API.G_MISS_NUM or l_person_rec.party_rec.party_id is NULL) THEN
2828: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2829: IBE_UTIL.debug('Call HZ_PARTY_V2PUB.create_person () API');
2830: END IF;
2831: l_person_rec.created_by_module := p_created_by_module;
2832: HZ_PARTY_V2PUB.Create_Person(
2833: p_person_rec => l_person_rec,

Line 2840: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2836: x_profile_id => l_person_profile_id,
2837: x_return_status => x_return_status,
2838: x_msg_count => x_msg_count,
2839: x_msg_data => x_msg_data);
2840: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2841: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.create_person () API');
2842: END IF;
2843: ELSIF ( l_person_object_version_number <> FND_API.G_MISS_NUM ) THEN
2844: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 2841: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.create_person () API');

2837: x_return_status => x_return_status,
2838: x_msg_count => x_msg_count,
2839: x_msg_data => x_msg_data);
2840: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2841: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.create_person () API');
2842: END IF;
2843: ELSIF ( l_person_object_version_number <> FND_API.G_MISS_NUM ) THEN
2844: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2845: IBE_UTIL.debug('Call HZ_PARTY_V2PUB.update_person () API');

Line 2844: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2840: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2841: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.create_person () API');
2842: END IF;
2843: ELSIF ( l_person_object_version_number <> FND_API.G_MISS_NUM ) THEN
2844: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2845: IBE_UTIL.debug('Call HZ_PARTY_V2PUB.update_person () API');
2846: END IF;
2847:
2848: l_person_rec.created_by_module := null;

Line 2845: IBE_UTIL.debug('Call HZ_PARTY_V2PUB.update_person () API');

2841: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.create_person () API');
2842: END IF;
2843: ELSIF ( l_person_object_version_number <> FND_API.G_MISS_NUM ) THEN
2844: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2845: IBE_UTIL.debug('Call HZ_PARTY_V2PUB.update_person () API');
2846: END IF;
2847:
2848: l_person_rec.created_by_module := null;
2849: l_person_rec.application_id := null;

Line 2863: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2859: x_profile_id => l_person_profile_id,
2860: x_msg_count => x_msg_count,
2861: x_msg_data => x_msg_data);
2862:
2863: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2864: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.update_person () API');
2865: END IF;
2866: END IF;
2867:

Line 2864: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.update_person () API');

2860: x_msg_count => x_msg_count,
2861: x_msg_data => x_msg_data);
2862:
2863: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2864: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.update_person () API');
2865: END IF;
2866: END IF;
2867:
2868: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 2868: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2864: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.update_person () API');
2865: END IF;
2866: END IF;
2867:
2868: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2869: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update person - x_return_status : '|| x_return_status);
2870: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update person - x_msg_count : '|| x_msg_count);
2871: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update person - x_msg_data :' || x_msg_data);
2872: END IF;

Line 2869: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update person - x_return_status : '|| x_return_status);

2865: END IF;
2866: END IF;
2867:
2868: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2869: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update person - x_return_status : '|| x_return_status);
2870: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update person - x_msg_count : '|| x_msg_count);
2871: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update person - x_msg_data :' || x_msg_data);
2872: END IF;
2873:

Line 2870: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update person - x_msg_count : '|| x_msg_count);

2866: END IF;
2867:
2868: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2869: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update person - x_return_status : '|| x_return_status);
2870: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update person - x_msg_count : '|| x_msg_count);
2871: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update person - x_msg_data :' || x_msg_data);
2872: END IF;
2873:
2874: IF x_return_status <> FND_API.G_RET_STS_SUCCESS then

Line 2871: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update person - x_msg_data :' || x_msg_data);

2867:
2868: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2869: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update person - x_return_status : '|| x_return_status);
2870: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update person - x_msg_count : '|| x_msg_count);
2871: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update person - x_msg_data :' || x_msg_data);
2872: END IF;
2873:
2874: IF x_return_status <> FND_API.G_RET_STS_SUCCESS then
2875: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 2881: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2877:
2878: -- Create or Update Organization
2879: IF ( l_organization_rec.party_rec.party_id = FND_API.G_MISS_NUM Or l_organization_rec.party_rec.party_id is NULL) THEN
2880: IF( l_organization_rec.organization_name is not null AND l_organization_rec.organization_name <> FND_API.G_MISS_CHAR) THEN
2881: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2882: IBE_UTIL.debug('Call HZ_PARTY_V2PUB.create_organization () API');
2883: END IF;
2884:
2885: l_organization_rec.created_by_module := p_created_by_module;

Line 2882: IBE_UTIL.debug('Call HZ_PARTY_V2PUB.create_organization () API');

2878: -- Create or Update Organization
2879: IF ( l_organization_rec.party_rec.party_id = FND_API.G_MISS_NUM Or l_organization_rec.party_rec.party_id is NULL) THEN
2880: IF( l_organization_rec.organization_name is not null AND l_organization_rec.organization_name <> FND_API.G_MISS_CHAR) THEN
2881: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2882: IBE_UTIL.debug('Call HZ_PARTY_V2PUB.create_organization () API');
2883: END IF;
2884:
2885: l_organization_rec.created_by_module := p_created_by_module;
2886: l_organization_rec.application_id := G_APPLICATION_ID;

Line 2898: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2894: x_profile_id => l_org_profile_id);
2895:
2896: l_organization_rec.party_rec.party_id := l_org_party_id;
2897:
2898: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2899: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.create_organization () API'||l_organization_rec.party_rec.party_id);
2900: END IF;
2901: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2902: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_return_status : '|| x_return_status);

Line 2899: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.create_organization () API'||l_organization_rec.party_rec.party_id);

2895:
2896: l_organization_rec.party_rec.party_id := l_org_party_id;
2897:
2898: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2899: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.create_organization () API'||l_organization_rec.party_rec.party_id);
2900: END IF;
2901: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2902: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_return_status : '|| x_return_status);
2903: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_count : '|| x_msg_count);

Line 2901: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2897:
2898: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2899: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.create_organization () API'||l_organization_rec.party_rec.party_id);
2900: END IF;
2901: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2902: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_return_status : '|| x_return_status);
2903: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_count : '|| x_msg_count);
2904: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_data :' || x_msg_data);
2905: END IF;

Line 2902: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_return_status : '|| x_return_status);

2898: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2899: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.create_organization () API'||l_organization_rec.party_rec.party_id);
2900: END IF;
2901: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2902: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_return_status : '|| x_return_status);
2903: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_count : '|| x_msg_count);
2904: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_data :' || x_msg_data);
2905: END IF;
2906: END IF;

Line 2903: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_count : '|| x_msg_count);

2899: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.create_organization () API'||l_organization_rec.party_rec.party_id);
2900: END IF;
2901: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2902: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_return_status : '|| x_return_status);
2903: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_count : '|| x_msg_count);
2904: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_data :' || x_msg_data);
2905: END IF;
2906: END IF;
2907: ELSIF ( l_org_object_version_number <> FND_API.G_MISS_NUM ) THEN

Line 2904: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_data :' || x_msg_data);

2900: END IF;
2901: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2902: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_return_status : '|| x_return_status);
2903: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_count : '|| x_msg_count);
2904: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_data :' || x_msg_data);
2905: END IF;
2906: END IF;
2907: ELSIF ( l_org_object_version_number <> FND_API.G_MISS_NUM ) THEN
2908: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 2908: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2904: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_data :' || x_msg_data);
2905: END IF;
2906: END IF;
2907: ELSIF ( l_org_object_version_number <> FND_API.G_MISS_NUM ) THEN
2908: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2909: IBE_UTIL.debug('Call HZ_PARTY_V2PUB.update_organization () API');
2910: END IF;
2911:
2912: l_organization_rec.created_by_module := null;

Line 2909: IBE_UTIL.debug('Call HZ_PARTY_V2PUB.update_organization () API');

2905: END IF;
2906: END IF;
2907: ELSIF ( l_org_object_version_number <> FND_API.G_MISS_NUM ) THEN
2908: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2909: IBE_UTIL.debug('Call HZ_PARTY_V2PUB.update_organization () API');
2910: END IF;
2911:
2912: l_organization_rec.created_by_module := null;
2913: l_organization_rec.application_id := null;

Line 2925: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2921: x_msg_data => x_msg_data);
2922:
2923: l_org_party_id := l_organization_rec.party_rec.party_id;
2924:
2925: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2926: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.update_organization () API');
2927: END IF;
2928:
2929: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 2926: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.update_organization () API');

2922:
2923: l_org_party_id := l_organization_rec.party_rec.party_id;
2924:
2925: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2926: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.update_organization () API');
2927: END IF;
2928:
2929: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2930: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_return_status : '|| x_return_status);

Line 2929: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2925: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2926: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.update_organization () API');
2927: END IF;
2928:
2929: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2930: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_return_status : '|| x_return_status);
2931: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_count : '|| x_msg_count);
2932: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_data :' || x_msg_data);
2933: END IF;

Line 2930: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_return_status : '|| x_return_status);

2926: IBE_UTIL.debug('Completed Call HZ_PARTY_V2PUB.update_organization () API');
2927: END IF;
2928:
2929: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2930: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_return_status : '|| x_return_status);
2931: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_count : '|| x_msg_count);
2932: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_data :' || x_msg_data);
2933: END IF;
2934: END IF;

Line 2931: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_count : '|| x_msg_count);

2927: END IF;
2928:
2929: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2930: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_return_status : '|| x_return_status);
2931: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_count : '|| x_msg_count);
2932: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_data :' || x_msg_data);
2933: END IF;
2934: END IF;
2935:

Line 2932: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_data :' || x_msg_data);

2928:
2929: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2930: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_return_status : '|| x_return_status);
2931: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_count : '|| x_msg_count);
2932: IBE_UTIL.debug('After call to HZ_PARTY_V2PUB.create/update organization - x_msg_data :' || x_msg_data);
2933: END IF;
2934: END IF;
2935:
2936: IF x_return_status <> FND_API.G_RET_STS_SUCCESS then

Line 2942: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2938: END IF;
2939: IF ( (l_org_party_id is null OR l_org_party_id=FND_API.G_MISS_NUM)
2940: AND l_organization_rec.party_rec.party_number is not null AND l_organization_rec.party_rec.party_number <> FND_API.G_MISS_CHAR) THEN
2941:
2942: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2943: IBE_UTIL.debug('Getting the org_id for the party_number: '|| l_organization_rec.party_rec.party_number );
2944: END IF;
2945:
2946: IF(Find_Organization(

Line 2943: IBE_UTIL.debug('Getting the org_id for the party_number: '|| l_organization_rec.party_rec.party_number );

2939: IF ( (l_org_party_id is null OR l_org_party_id=FND_API.G_MISS_NUM)
2940: AND l_organization_rec.party_rec.party_number is not null AND l_organization_rec.party_rec.party_number <> FND_API.G_MISS_CHAR) THEN
2941:
2942: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2943: IBE_UTIL.debug('Getting the org_id for the party_number: '|| l_organization_rec.party_rec.party_number );
2944: END IF;
2945:
2946: IF(Find_Organization(
2947: x_org_id => l_org_party_id,

Line 2953: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2949: x_org_name => l_org_name)) THEN
2950:
2951: l_organization_rec.party_rec.party_id := l_org_party_id;
2952:
2953: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2954: IBE_UTIL.debug('After call to Find_Organization - x_org_party_id : '|| l_org_party_id);
2955: IBE_UTIL.debug('After call to Find_Organization - x_org_num : '|| l_organization_rec.party_rec.party_number);
2956: IBE_UTIL.debug('After call to Find_Organization - x_org_name :' || l_org_name);
2957: END IF;

Line 2954: IBE_UTIL.debug('After call to Find_Organization - x_org_party_id : '|| l_org_party_id);

2950:
2951: l_organization_rec.party_rec.party_id := l_org_party_id;
2952:
2953: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2954: IBE_UTIL.debug('After call to Find_Organization - x_org_party_id : '|| l_org_party_id);
2955: IBE_UTIL.debug('After call to Find_Organization - x_org_num : '|| l_organization_rec.party_rec.party_number);
2956: IBE_UTIL.debug('After call to Find_Organization - x_org_name :' || l_org_name);
2957: END IF;
2958: END IF;

Line 2955: IBE_UTIL.debug('After call to Find_Organization - x_org_num : '|| l_organization_rec.party_rec.party_number);

2951: l_organization_rec.party_rec.party_id := l_org_party_id;
2952:
2953: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2954: IBE_UTIL.debug('After call to Find_Organization - x_org_party_id : '|| l_org_party_id);
2955: IBE_UTIL.debug('After call to Find_Organization - x_org_num : '|| l_organization_rec.party_rec.party_number);
2956: IBE_UTIL.debug('After call to Find_Organization - x_org_name :' || l_org_name);
2957: END IF;
2958: END IF;
2959: END IF;

Line 2956: IBE_UTIL.debug('After call to Find_Organization - x_org_name :' || l_org_name);

2952:
2953: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2954: IBE_UTIL.debug('After call to Find_Organization - x_org_party_id : '|| l_org_party_id);
2955: IBE_UTIL.debug('After call to Find_Organization - x_org_num : '|| l_organization_rec.party_rec.party_number);
2956: IBE_UTIL.debug('After call to Find_Organization - x_org_name :' || l_org_name);
2957: END IF;
2958: END IF;
2959: END IF;
2960:

Line 2966: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2962: IF(l_organization_rec.party_rec.party_id is not null AND l_organization_rec.party_rec.party_id <> FND_API.G_MISS_NUM
2963: AND l_location_rec.Address1 is not null AND l_location_rec.Address1 <> FND_API.G_MISS_CHAR
2964: AND l_location_rec.Country is not null AND l_location_rec.Country <> FND_API.G_MISS_CHAR
2965: ) THEN -- Creating Location only for Organization in B2B flow.
2966: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2967: IBE_UTIL.debug('Before Saving the Location - country: ' || l_location_rec.country);
2968: IBE_UTIL.debug('Before Saving the Location - address1: ' || l_location_rec.address1);
2969: END IF;
2970: IF ( l_location_rec.location_id = FND_API.G_MISS_NUM OR l_location_rec.location_id is NULL) THEN

Line 2967: IBE_UTIL.debug('Before Saving the Location - country: ' || l_location_rec.country);

2963: AND l_location_rec.Address1 is not null AND l_location_rec.Address1 <> FND_API.G_MISS_CHAR
2964: AND l_location_rec.Country is not null AND l_location_rec.Country <> FND_API.G_MISS_CHAR
2965: ) THEN -- Creating Location only for Organization in B2B flow.
2966: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2967: IBE_UTIL.debug('Before Saving the Location - country: ' || l_location_rec.country);
2968: IBE_UTIL.debug('Before Saving the Location - address1: ' || l_location_rec.address1);
2969: END IF;
2970: IF ( l_location_rec.location_id = FND_API.G_MISS_NUM OR l_location_rec.location_id is NULL) THEN
2971: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 2968: IBE_UTIL.debug('Before Saving the Location - address1: ' || l_location_rec.address1);

2964: AND l_location_rec.Country is not null AND l_location_rec.Country <> FND_API.G_MISS_CHAR
2965: ) THEN -- Creating Location only for Organization in B2B flow.
2966: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2967: IBE_UTIL.debug('Before Saving the Location - country: ' || l_location_rec.country);
2968: IBE_UTIL.debug('Before Saving the Location - address1: ' || l_location_rec.address1);
2969: END IF;
2970: IF ( l_location_rec.location_id = FND_API.G_MISS_NUM OR l_location_rec.location_id is NULL) THEN
2971: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2972: IBE_UTIL.debug('Call IBE_ADDRESS_V2PVT.create_address API');

Line 2971: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2967: IBE_UTIL.debug('Before Saving the Location - country: ' || l_location_rec.country);
2968: IBE_UTIL.debug('Before Saving the Location - address1: ' || l_location_rec.address1);
2969: END IF;
2970: IF ( l_location_rec.location_id = FND_API.G_MISS_NUM OR l_location_rec.location_id is NULL) THEN
2971: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2972: IBE_UTIL.debug('Call IBE_ADDRESS_V2PVT.create_address API');
2973: END IF;
2974:
2975: l_location_rec.created_by_module := p_created_by_module;

Line 2972: IBE_UTIL.debug('Call IBE_ADDRESS_V2PVT.create_address API');

2968: IBE_UTIL.debug('Before Saving the Location - address1: ' || l_location_rec.address1);
2969: END IF;
2970: IF ( l_location_rec.location_id = FND_API.G_MISS_NUM OR l_location_rec.location_id is NULL) THEN
2971: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
2972: IBE_UTIL.debug('Call IBE_ADDRESS_V2PVT.create_address API');
2973: END IF;
2974:
2975: l_location_rec.created_by_module := p_created_by_module;
2976: l_location_rec.application_id := G_APPLICATION_ID;

Line 2999: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2995: x_return_status => x_return_status,
2996: x_msg_count => x_msg_count,
2997: x_msg_data => x_msg_data);
2998:
2999: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3000: IBE_UTIL.debug('After Call to IBE_ADDRESS_V2PVT.create_address API');
3001: END IF;
3002:
3003: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3000: IBE_UTIL.debug('After Call to IBE_ADDRESS_V2PVT.create_address API');

2996: x_msg_count => x_msg_count,
2997: x_msg_data => x_msg_data);
2998:
2999: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3000: IBE_UTIL.debug('After Call to IBE_ADDRESS_V2PVT.create_address API');
3001: END IF;
3002:
3003: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3004: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_return_status : '|| x_return_status);

Line 3003: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

2999: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3000: IBE_UTIL.debug('After Call to IBE_ADDRESS_V2PVT.create_address API');
3001: END IF;
3002:
3003: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3004: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_return_status : '|| x_return_status);
3005: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_count : '|| x_msg_count);
3006: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_data :' || x_msg_data);
3007: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_location_id : '|| l_location_id);

Line 3004: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_return_status : '|| x_return_status);

3000: IBE_UTIL.debug('After Call to IBE_ADDRESS_V2PVT.create_address API');
3001: END IF;
3002:
3003: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3004: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_return_status : '|| x_return_status);
3005: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_count : '|| x_msg_count);
3006: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_data :' || x_msg_data);
3007: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_location_id : '|| l_location_id);
3008: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_party_site_id : '|| l_party_site_id);

Line 3005: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_count : '|| x_msg_count);

3001: END IF;
3002:
3003: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3004: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_return_status : '|| x_return_status);
3005: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_count : '|| x_msg_count);
3006: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_data :' || x_msg_data);
3007: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_location_id : '|| l_location_id);
3008: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_party_site_id : '|| l_party_site_id);
3009: END IF;

Line 3006: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_data :' || x_msg_data);

3002:
3003: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3004: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_return_status : '|| x_return_status);
3005: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_count : '|| x_msg_count);
3006: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_data :' || x_msg_data);
3007: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_location_id : '|| l_location_id);
3008: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_party_site_id : '|| l_party_site_id);
3009: END IF;
3010:

Line 3007: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_location_id : '|| l_location_id);

3003: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3004: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_return_status : '|| x_return_status);
3005: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_count : '|| x_msg_count);
3006: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_data :' || x_msg_data);
3007: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_location_id : '|| l_location_id);
3008: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_party_site_id : '|| l_party_site_id);
3009: END IF;
3010:
3011: IF x_return_status <> FND_API.G_RET_STS_SUCCESS then

Line 3008: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_party_site_id : '|| l_party_site_id);

3004: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_return_status : '|| x_return_status);
3005: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_count : '|| x_msg_count);
3006: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - x_msg_data :' || x_msg_data);
3007: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_location_id : '|| l_location_id);
3008: IBE_UTIL.debug('After call to IBE_ADDRESS_V2PVT.create_address - l_party_site_id : '|| l_party_site_id);
3009: END IF;
3010:
3011: IF x_return_status <> FND_API.G_RET_STS_SUCCESS then
3012: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 3016: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3012: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
3013: END IF;
3014:
3015: ELSIF ( l_loc_object_version_number <> FND_API.G_MISS_NUM ) THEN
3016: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3017: IBE_UTIL.debug('Call HZ_LOCATION_V2PUB.update_location () API');
3018: END IF;
3019:
3020: HZ_LOCATION_V2PUB.update_location (

Line 3017: IBE_UTIL.debug('Call HZ_LOCATION_V2PUB.update_location () API');

3013: END IF;
3014:
3015: ELSIF ( l_loc_object_version_number <> FND_API.G_MISS_NUM ) THEN
3016: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3017: IBE_UTIL.debug('Call HZ_LOCATION_V2PUB.update_location () API');
3018: END IF;
3019:
3020: HZ_LOCATION_V2PUB.update_location (
3021: p_location_rec => l_location_rec,

Line 3027: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3023: x_return_status => x_return_status,
3024: x_msg_count => x_msg_count,
3025: x_msg_data => x_msg_data);
3026:
3027: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3028: IBE_UTIL.debug('After Call to HZ_LOCATION_V2PUB.update_location API');
3029: END IF;
3030:
3031: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3028: IBE_UTIL.debug('After Call to HZ_LOCATION_V2PUB.update_location API');

3024: x_msg_count => x_msg_count,
3025: x_msg_data => x_msg_data);
3026:
3027: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3028: IBE_UTIL.debug('After Call to HZ_LOCATION_V2PUB.update_location API');
3029: END IF;
3030:
3031: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3032: IBE_UTIL.debug('After call to HZ_LOCATION_V2PUB.update_location - x_return_status : '|| x_return_status);

Line 3031: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3027: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3028: IBE_UTIL.debug('After Call to HZ_LOCATION_V2PUB.update_location API');
3029: END IF;
3030:
3031: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3032: IBE_UTIL.debug('After call to HZ_LOCATION_V2PUB.update_location - x_return_status : '|| x_return_status);
3033: IBE_UTIL.debug('After call to HZ_LOCATION_V2PUB.update_location - x_msg_count : '|| x_msg_count);
3034: IBE_UTIL.debug('After call to HZ_LOCATION_V2PUB.update_location - x_msg_data :' || x_msg_data);
3035: END IF;

Line 3032: IBE_UTIL.debug('After call to HZ_LOCATION_V2PUB.update_location - x_return_status : '|| x_return_status);

3028: IBE_UTIL.debug('After Call to HZ_LOCATION_V2PUB.update_location API');
3029: END IF;
3030:
3031: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3032: IBE_UTIL.debug('After call to HZ_LOCATION_V2PUB.update_location - x_return_status : '|| x_return_status);
3033: IBE_UTIL.debug('After call to HZ_LOCATION_V2PUB.update_location - x_msg_count : '|| x_msg_count);
3034: IBE_UTIL.debug('After call to HZ_LOCATION_V2PUB.update_location - x_msg_data :' || x_msg_data);
3035: END IF;
3036:

Line 3033: IBE_UTIL.debug('After call to HZ_LOCATION_V2PUB.update_location - x_msg_count : '|| x_msg_count);

3029: END IF;
3030:
3031: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3032: IBE_UTIL.debug('After call to HZ_LOCATION_V2PUB.update_location - x_return_status : '|| x_return_status);
3033: IBE_UTIL.debug('After call to HZ_LOCATION_V2PUB.update_location - x_msg_count : '|| x_msg_count);
3034: IBE_UTIL.debug('After call to HZ_LOCATION_V2PUB.update_location - x_msg_data :' || x_msg_data);
3035: END IF;
3036:
3037: IF x_return_status <> FND_API.G_RET_STS_SUCCESS then

Line 3034: IBE_UTIL.debug('After call to HZ_LOCATION_V2PUB.update_location - x_msg_data :' || x_msg_data);

3030:
3031: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3032: IBE_UTIL.debug('After call to HZ_LOCATION_V2PUB.update_location - x_return_status : '|| x_return_status);
3033: IBE_UTIL.debug('After call to HZ_LOCATION_V2PUB.update_location - x_msg_count : '|| x_msg_count);
3034: IBE_UTIL.debug('After call to HZ_LOCATION_V2PUB.update_location - x_msg_data :' || x_msg_data);
3035: END IF;
3036:
3037: IF x_return_status <> FND_API.G_RET_STS_SUCCESS then
3038: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 3068: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3064: l_org_contact_rec.created_by_module := P_CREATED_BY_MODULE;
3065: l_org_contact_rec.application_id := G_APPLICATION_ID;
3066:
3067:
3068: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3069: IBE_UTIL.debug('Call HZ_PARTY_CONTACT_V2PUB.create_org_contact () API');
3070: END IF;
3071:
3072: HZ_PARTY_CONTACT_V2PUB.create_org_contact (

Line 3069: IBE_UTIL.debug('Call HZ_PARTY_CONTACT_V2PUB.create_org_contact () API');

3065: l_org_contact_rec.application_id := G_APPLICATION_ID;
3066:
3067:
3068: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3069: IBE_UTIL.debug('Call HZ_PARTY_CONTACT_V2PUB.create_org_contact () API');
3070: END IF;
3071:
3072: HZ_PARTY_CONTACT_V2PUB.create_org_contact (
3073: p_org_contact_rec => l_org_contact_rec,

Line 3084: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3080: x_msg_data => x_msg_data);
3081:
3082: l_party_id := l_rel_party_id;
3083:
3084: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3085: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_return_status : '|| x_return_status);
3086: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_count : '|| x_msg_count);
3087: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_data :' || x_msg_data);
3088: END IF;

Line 3085: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_return_status : '|| x_return_status);

3081:
3082: l_party_id := l_rel_party_id;
3083:
3084: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3085: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_return_status : '|| x_return_status);
3086: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_count : '|| x_msg_count);
3087: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_data :' || x_msg_data);
3088: END IF;
3089:

Line 3086: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_count : '|| x_msg_count);

3082: l_party_id := l_rel_party_id;
3083:
3084: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3085: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_return_status : '|| x_return_status);
3086: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_count : '|| x_msg_count);
3087: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_data :' || x_msg_data);
3088: END IF;
3089:
3090: IF x_return_status <> FND_API.G_RET_STS_SUCCESS then

Line 3087: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_data :' || x_msg_data);

3083:
3084: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3085: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_return_status : '|| x_return_status);
3086: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_count : '|| x_msg_count);
3087: IBE_UTIL.debug('After call to HZ_PARTY_CONTACT_V2PUB.create_org_contact - x_msg_data :' || x_msg_data);
3088: END IF;
3089:
3090: IF x_return_status <> FND_API.G_RET_STS_SUCCESS then
3091: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 3094: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3090: IF x_return_status <> FND_API.G_RET_STS_SUCCESS then
3091: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
3092: END IF;
3093: ELSE
3094: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3095: IBE_UTIL.debug('Party relationship already exists with party_id: ' || l_rel_party_id);
3096: END IF;
3097: l_party_id := l_rel_party_id;
3098: END IF;

Line 3095: IBE_UTIL.debug('Party relationship already exists with party_id: ' || l_rel_party_id);

3091: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
3092: END IF;
3093: ELSE
3094: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3095: IBE_UTIL.debug('Party relationship already exists with party_id: ' || l_rel_party_id);
3096: END IF;
3097: l_party_id := l_rel_party_id;
3098: END IF;
3099: CLOSE c_get_party_relationship;

Line 3106: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3102: IF (l_person_party_id <> FND_API.G_MISS_NUM and l_person_party_id is not null and l_org_party_id <> FND_API.G_MISS_NUM and l_org_party_id is not null) THEN
3103: OPEN c_get_party_relationship(l_person_party_id, l_org_party_id);
3104: FETCH c_get_party_relationship into l_rel_party_id;
3105: CLOSE c_get_party_relationship;
3106: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3107: IBE_UTIL.debug('New Find Party Relationship output '||l_rel_party_id);
3108: END IF;
3109: END IF;
3110: IF (l_rel_party_id is not null and l_rel_party_id <> FND_API.G_MISS_NUM) then

Line 3107: IBE_UTIL.debug('New Find Party Relationship output '||l_rel_party_id);

3103: OPEN c_get_party_relationship(l_person_party_id, l_org_party_id);
3104: FETCH c_get_party_relationship into l_rel_party_id;
3105: CLOSE c_get_party_relationship;
3106: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3107: IBE_UTIL.debug('New Find Party Relationship output '||l_rel_party_id);
3108: END IF;
3109: END IF;
3110: IF (l_rel_party_id is not null and l_rel_party_id <> FND_API.G_MISS_NUM) then
3111: l_party_id := l_rel_party_id;

Line 3116: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3112: ELSE
3113: l_party_id := l_person_party_id;
3114: END IF;
3115: END IF; -- p_create_party_rel = 'Y'
3116: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3117: IBE_UTIL.debug('Going to use this l_party_id for contact_point/contact pref creation'||l_party_id);
3118: END IF;
3119:
3120: -- Find existing contact preferences

Line 3117: IBE_UTIL.debug('Going to use this l_party_id for contact_point/contact pref creation'||l_party_id);

3113: l_party_id := l_person_party_id;
3114: END IF;
3115: END IF; -- p_create_party_rel = 'Y'
3116: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3117: IBE_UTIL.debug('Going to use this l_party_id for contact_point/contact pref creation'||l_party_id);
3118: END IF;
3119:
3120: -- Find existing contact preferences
3121: IF ( l_contact_pref_rec.contact_preference_id = FND_API.G_MISS_NUM or l_contact_pref_rec.contact_preference_id is NULL AND

Line 3132: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3128: IF ( l_contact_pref_rec.contact_level_table_id is NULL or l_contact_pref_rec.contact_level_table_id = FND_API.G_MISS_NUM ) THEN
3129: l_contact_pref_rec.contact_level_table_id := l_party_id;
3130: END IF;
3131:
3132: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3133: IBE_UTIL.debug('Find Exisiting Contact Preference Record for: ' || l_contact_pref_rec.contact_level_table_id ||',' || l_contact_pref_rec.contact_level_table);
3134: END IF;
3135:
3136: --Execute teh cursor

Line 3133: IBE_UTIL.debug('Find Exisiting Contact Preference Record for: ' || l_contact_pref_rec.contact_level_table_id ||',' || l_contact_pref_rec.contact_level_table);

3129: l_contact_pref_rec.contact_level_table_id := l_party_id;
3130: END IF;
3131:
3132: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3133: IBE_UTIL.debug('Find Exisiting Contact Preference Record for: ' || l_contact_pref_rec.contact_level_table_id ||',' || l_contact_pref_rec.contact_level_table);
3134: END IF;
3135:
3136: --Execute teh cursor
3137: OPEN c_get_contact_preference(l_contact_pref_rec.contact_level_table_id,l_contact_pref_rec.contact_level_table);

Line 3141: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3137: OPEN c_get_contact_preference(l_contact_pref_rec.contact_level_table_id,l_contact_pref_rec.contact_level_table);
3138: FETCH c_get_contact_preference into l_contact_pref_rec.contact_preference_id,l_cntct_pref_object_ver_num;
3139: CLOSE c_get_contact_preference;
3140:
3141: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3142: IBE_UTIL.debug('After Finding Exisiting Contact Preference Record : ' || l_contact_pref_rec.contact_preference_id || ',' || l_cntct_pref_object_ver_num);
3143: END IF;
3144: END IF;
3145:

Line 3142: IBE_UTIL.debug('After Finding Exisiting Contact Preference Record : ' || l_contact_pref_rec.contact_preference_id || ',' || l_cntct_pref_object_ver_num);

3138: FETCH c_get_contact_preference into l_contact_pref_rec.contact_preference_id,l_cntct_pref_object_ver_num;
3139: CLOSE c_get_contact_preference;
3140:
3141: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3142: IBE_UTIL.debug('After Finding Exisiting Contact Preference Record : ' || l_contact_pref_rec.contact_preference_id || ',' || l_cntct_pref_object_ver_num);
3143: END IF;
3144: END IF;
3145:
3146: -- Create contact preference

Line 3149: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3145:
3146: -- Create contact preference
3147: IF ( l_contact_pref_rec.contact_preference_id = FND_API.G_MISS_NUM or l_contact_pref_rec.contact_preference_id is NULL AND
3148: (l_contact_pref_rec.preference_code is not null AND l_contact_pref_rec.preference_code <> FND_API.G_MISS_CHAR)) THEN
3149: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3150: IBE_UTIL.debug('Call HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference API');
3151: END IF;
3152: l_contact_pref_rec.contact_type := 'ALL';
3153: l_contact_pref_rec.requested_by := 'INTERNAL';

Line 3150: IBE_UTIL.debug('Call HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference API');

3146: -- Create contact preference
3147: IF ( l_contact_pref_rec.contact_preference_id = FND_API.G_MISS_NUM or l_contact_pref_rec.contact_preference_id is NULL AND
3148: (l_contact_pref_rec.preference_code is not null AND l_contact_pref_rec.preference_code <> FND_API.G_MISS_CHAR)) THEN
3149: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3150: IBE_UTIL.debug('Call HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference API');
3151: END IF;
3152: l_contact_pref_rec.contact_type := 'ALL';
3153: l_contact_pref_rec.requested_by := 'INTERNAL';
3154: l_contact_pref_rec.status := 'A';

Line 3165: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3161: x_contact_preference_id => l_contact_preference_id,
3162: x_return_status => x_return_status,
3163: x_msg_count => x_msg_count,
3164: x_msg_data => x_msg_data);
3165: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3166: IBE_UTIL.debug('After Call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference API');
3167: END IF;
3168: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3169: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_return_status : '|| x_return_status);

Line 3166: IBE_UTIL.debug('After Call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference API');

3162: x_return_status => x_return_status,
3163: x_msg_count => x_msg_count,
3164: x_msg_data => x_msg_data);
3165: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3166: IBE_UTIL.debug('After Call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference API');
3167: END IF;
3168: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3169: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_return_status : '|| x_return_status);
3170: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_msg_count : '|| x_msg_count);

Line 3168: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3164: x_msg_data => x_msg_data);
3165: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3166: IBE_UTIL.debug('After Call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference API');
3167: END IF;
3168: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3169: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_return_status : '|| x_return_status);
3170: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_msg_count : '|| x_msg_count);
3171: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_msg_data :' || x_msg_data);
3172: END IF;

Line 3169: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_return_status : '|| x_return_status);

3165: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3166: IBE_UTIL.debug('After Call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference API');
3167: END IF;
3168: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3169: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_return_status : '|| x_return_status);
3170: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_msg_count : '|| x_msg_count);
3171: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_msg_data :' || x_msg_data);
3172: END IF;
3173: ELSIF ( l_cntct_pref_object_ver_num <> FND_API.G_MISS_NUM ) THEN

Line 3170: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_msg_count : '|| x_msg_count);

3166: IBE_UTIL.debug('After Call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference API');
3167: END IF;
3168: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3169: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_return_status : '|| x_return_status);
3170: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_msg_count : '|| x_msg_count);
3171: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_msg_data :' || x_msg_data);
3172: END IF;
3173: ELSIF ( l_cntct_pref_object_ver_num <> FND_API.G_MISS_NUM ) THEN
3174: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3171: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_msg_data :' || x_msg_data);

3167: END IF;
3168: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3169: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_return_status : '|| x_return_status);
3170: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_msg_count : '|| x_msg_count);
3171: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_msg_data :' || x_msg_data);
3172: END IF;
3173: ELSIF ( l_cntct_pref_object_ver_num <> FND_API.G_MISS_NUM ) THEN
3174: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3175: IBE_UTIL.debug('Call HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference API');

Line 3174: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3170: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_msg_count : '|| x_msg_count);
3171: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_msg_data :' || x_msg_data);
3172: END IF;
3173: ELSIF ( l_cntct_pref_object_ver_num <> FND_API.G_MISS_NUM ) THEN
3174: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3175: IBE_UTIL.debug('Call HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference API');
3176: END IF;
3177:
3178: HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference(

Line 3175: IBE_UTIL.debug('Call HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference API');

3171: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.create_contact_preference - x_msg_data :' || x_msg_data);
3172: END IF;
3173: ELSIF ( l_cntct_pref_object_ver_num <> FND_API.G_MISS_NUM ) THEN
3174: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3175: IBE_UTIL.debug('Call HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference API');
3176: END IF;
3177:
3178: HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference(
3179: p_contact_preference_rec => l_contact_pref_rec,

Line 3184: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3180: p_object_version_number => l_cntct_pref_object_ver_num,
3181: x_return_status => x_return_status,
3182: x_msg_count => x_msg_count,
3183: x_msg_data => x_msg_data);
3184: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3185: IBE_UTIL.debug('After Call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference API');
3186: END IF;
3187: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3188: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_return_status : '|| x_return_status);

Line 3185: IBE_UTIL.debug('After Call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference API');

3181: x_return_status => x_return_status,
3182: x_msg_count => x_msg_count,
3183: x_msg_data => x_msg_data);
3184: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3185: IBE_UTIL.debug('After Call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference API');
3186: END IF;
3187: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3188: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_return_status : '|| x_return_status);
3189: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_msg_count : '|| x_msg_count);

Line 3187: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3183: x_msg_data => x_msg_data);
3184: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3185: IBE_UTIL.debug('After Call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference API');
3186: END IF;
3187: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3188: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_return_status : '|| x_return_status);
3189: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_msg_count : '|| x_msg_count);
3190: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_msg_data :' || x_msg_data);
3191: END IF;

Line 3188: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_return_status : '|| x_return_status);

3184: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3185: IBE_UTIL.debug('After Call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference API');
3186: END IF;
3187: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3188: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_return_status : '|| x_return_status);
3189: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_msg_count : '|| x_msg_count);
3190: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_msg_data :' || x_msg_data);
3191: END IF;
3192: END IF;

Line 3189: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_msg_count : '|| x_msg_count);

3185: IBE_UTIL.debug('After Call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference API');
3186: END IF;
3187: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3188: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_return_status : '|| x_return_status);
3189: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_msg_count : '|| x_msg_count);
3190: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_msg_data :' || x_msg_data);
3191: END IF;
3192: END IF;
3193:

Line 3190: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_msg_data :' || x_msg_data);

3186: END IF;
3187: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3188: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_return_status : '|| x_return_status);
3189: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_msg_count : '|| x_msg_count);
3190: IBE_UTIL.debug('After call to HZ_CONTACT_PREFERENCE_V2PUB.update_contact_preference - x_msg_data :' || x_msg_data);
3191: END IF;
3192: END IF;
3193:
3194: IF x_return_status <> FND_API.G_RET_STS_SUCCESS then

Line 3199: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3195: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
3196: END IF;
3197: -- Create Party/Relationship Contact Points
3198: if (p_email_rec.email_address is not NULL and p_email_rec.email_address <> FND_API.G_MISS_CHAR) then
3199: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3200: IBE_UTIL.debug('Email address is not null, Email Address: ' || p_email_rec.email_address);
3201: END IF;
3202: -- calling TCA API to create_email_contact_points
3203: IF (l_email_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_email_contact_point_rec.contact_point_id is NULL) THEN

Line 3200: IBE_UTIL.debug('Email address is not null, Email Address: ' || p_email_rec.email_address);

3196: END IF;
3197: -- Create Party/Relationship Contact Points
3198: if (p_email_rec.email_address is not NULL and p_email_rec.email_address <> FND_API.G_MISS_CHAR) then
3199: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3200: IBE_UTIL.debug('Email address is not null, Email Address: ' || p_email_rec.email_address);
3201: END IF;
3202: -- calling TCA API to create_email_contact_points
3203: IF (l_email_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_email_contact_point_rec.contact_point_id is NULL) THEN
3204: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3204: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3200: IBE_UTIL.debug('Email address is not null, Email Address: ' || p_email_rec.email_address);
3201: END IF;
3202: -- calling TCA API to create_email_contact_points
3203: IF (l_email_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_email_contact_point_rec.contact_point_id is NULL) THEN
3204: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3205: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_email_contact_point API');
3206: END IF;
3207:
3208: l_email_contact_point_rec.status := 'A';

Line 3205: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_email_contact_point API');

3201: END IF;
3202: -- calling TCA API to create_email_contact_points
3203: IF (l_email_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_email_contact_point_rec.contact_point_id is NULL) THEN
3204: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3205: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_email_contact_point API');
3206: END IF;
3207:
3208: l_email_contact_point_rec.status := 'A';
3209: l_email_contact_point_rec.owner_table_name := 'HZ_PARTIES';

Line 3227: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3223: x_return_status => x_return_status,
3224: x_msg_count => x_msg_count,
3225: x_msg_data => x_msg_data);
3226:
3227: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3228: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point');
3229: END IF;
3230:
3231: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3228: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point');

3224: x_msg_count => x_msg_count,
3225: x_msg_data => x_msg_data);
3226:
3227: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3228: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point');
3229: END IF;
3230:
3231: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3232: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_return_status : '|| x_return_status);

Line 3231: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3227: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3228: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point');
3229: END IF;
3230:
3231: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3232: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_return_status : '|| x_return_status);
3233: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_msg_count : '|| x_msg_count);
3234: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_msg_data :' || x_msg_data);
3235: END IF;

Line 3232: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_return_status : '|| x_return_status);

3228: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point');
3229: END IF;
3230:
3231: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3232: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_return_status : '|| x_return_status);
3233: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_msg_count : '|| x_msg_count);
3234: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_msg_data :' || x_msg_data);
3235: END IF;
3236: ELSIF ( l_email_object_version_number <> FND_API.G_MISS_NUM ) THEN

Line 3233: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_msg_count : '|| x_msg_count);

3229: END IF;
3230:
3231: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3232: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_return_status : '|| x_return_status);
3233: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_msg_count : '|| x_msg_count);
3234: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_msg_data :' || x_msg_data);
3235: END IF;
3236: ELSIF ( l_email_object_version_number <> FND_API.G_MISS_NUM ) THEN
3237: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3234: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_msg_data :' || x_msg_data);

3230:
3231: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3232: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_return_status : '|| x_return_status);
3233: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_msg_count : '|| x_msg_count);
3234: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_msg_data :' || x_msg_data);
3235: END IF;
3236: ELSIF ( l_email_object_version_number <> FND_API.G_MISS_NUM ) THEN
3237: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3238: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_email_contact_point API');

Line 3237: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3233: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_msg_count : '|| x_msg_count);
3234: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_msg_data :' || x_msg_data);
3235: END IF;
3236: ELSIF ( l_email_object_version_number <> FND_API.G_MISS_NUM ) THEN
3237: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3238: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_email_contact_point API');
3239: END IF;
3240: IBE_UTIL.debug('Email Object Version Number' || l_email_object_version_number);
3241: HZ_CONTACT_POINT_V2PUB.update_email_contact_point (

Line 3238: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_email_contact_point API');

3234: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_email_contact_point - x_msg_data :' || x_msg_data);
3235: END IF;
3236: ELSIF ( l_email_object_version_number <> FND_API.G_MISS_NUM ) THEN
3237: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3238: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_email_contact_point API');
3239: END IF;
3240: IBE_UTIL.debug('Email Object Version Number' || l_email_object_version_number);
3241: HZ_CONTACT_POINT_V2PUB.update_email_contact_point (
3242: p_contact_point_rec => l_email_contact_point_rec,

Line 3240: IBE_UTIL.debug('Email Object Version Number' || l_email_object_version_number);

3236: ELSIF ( l_email_object_version_number <> FND_API.G_MISS_NUM ) THEN
3237: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3238: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_email_contact_point API');
3239: END IF;
3240: IBE_UTIL.debug('Email Object Version Number' || l_email_object_version_number);
3241: HZ_CONTACT_POINT_V2PUB.update_email_contact_point (
3242: p_contact_point_rec => l_email_contact_point_rec,
3243: p_email_rec => p_email_rec,
3244: p_object_version_number => l_email_object_version_number,

Line 3249: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3245: x_return_status => x_return_status,
3246: x_msg_count => x_msg_count,
3247: x_msg_data => x_msg_data);
3248:
3249: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3250: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point');
3251: END IF;
3252:
3253: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3250: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point');

3246: x_msg_count => x_msg_count,
3247: x_msg_data => x_msg_data);
3248:
3249: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3250: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point');
3251: END IF;
3252:
3253: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3254: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point - x_return_status : '|| x_return_status);

Line 3253: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3249: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3250: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point');
3251: END IF;
3252:
3253: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3254: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point - x_return_status : '|| x_return_status);
3255: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point - x_msg_count : '|| x_msg_count);
3256: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point - x_msg_data :' || x_msg_data);
3257: END IF;

Line 3254: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point - x_return_status : '|| x_return_status);

3250: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point');
3251: END IF;
3252:
3253: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3254: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point - x_return_status : '|| x_return_status);
3255: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point - x_msg_count : '|| x_msg_count);
3256: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point - x_msg_data :' || x_msg_data);
3257: END IF;
3258: END IF;

Line 3255: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point - x_msg_count : '|| x_msg_count);

3251: END IF;
3252:
3253: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3254: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point - x_return_status : '|| x_return_status);
3255: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point - x_msg_count : '|| x_msg_count);
3256: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point - x_msg_data :' || x_msg_data);
3257: END IF;
3258: END IF;
3259:

Line 3256: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point - x_msg_data :' || x_msg_data);

3252:
3253: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3254: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point - x_return_status : '|| x_return_status);
3255: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point - x_msg_count : '|| x_msg_count);
3256: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_email_contact_point - x_msg_data :' || x_msg_data);
3257: END IF;
3258: END IF;
3259:
3260: if x_return_status <> FND_API.G_RET_STS_SUCCESS then

Line 3267: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3263: end if;
3264:
3265:
3266: -- Create Person/Contact WorkPhoneNumber
3267: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3268: IBE_UTIL.debug(' Workphone_Number : '|| Length(p_work_phone_rec.phone_number));
3269: END IF;
3270:
3271: if ( (p_work_phone_rec.phone_number is not NULL) and ( Length(p_work_phone_rec.phone_number) > 0 ) and (p_work_phone_rec.phone_number <> FND_API.G_MISS_CHAR) ) then

Line 3268: IBE_UTIL.debug(' Workphone_Number : '|| Length(p_work_phone_rec.phone_number));

3264:
3265:
3266: -- Create Person/Contact WorkPhoneNumber
3267: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3268: IBE_UTIL.debug(' Workphone_Number : '|| Length(p_work_phone_rec.phone_number));
3269: END IF;
3270:
3271: if ( (p_work_phone_rec.phone_number is not NULL) and ( Length(p_work_phone_rec.phone_number) > 0 ) and (p_work_phone_rec.phone_number <> FND_API.G_MISS_CHAR) ) then
3272: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3272: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3268: IBE_UTIL.debug(' Workphone_Number : '|| Length(p_work_phone_rec.phone_number));
3269: END IF;
3270:
3271: if ( (p_work_phone_rec.phone_number is not NULL) and ( Length(p_work_phone_rec.phone_number) > 0 ) and (p_work_phone_rec.phone_number <> FND_API.G_MISS_CHAR) ) then
3272: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3273: IBE_UTIL.debug('Work Phone num is not null phone_Number : '|| p_work_phone_rec.phone_number);
3274: END IF;
3275:
3276: IF (l_workph_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_workph_contact_point_rec.contact_point_id is NULL) THEN

Line 3273: IBE_UTIL.debug('Work Phone num is not null phone_Number : '|| p_work_phone_rec.phone_number);

3269: END IF;
3270:
3271: if ( (p_work_phone_rec.phone_number is not NULL) and ( Length(p_work_phone_rec.phone_number) > 0 ) and (p_work_phone_rec.phone_number <> FND_API.G_MISS_CHAR) ) then
3272: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3273: IBE_UTIL.debug('Work Phone num is not null phone_Number : '|| p_work_phone_rec.phone_number);
3274: END IF;
3275:
3276: IF (l_workph_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_workph_contact_point_rec.contact_point_id is NULL) THEN
3277: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3277: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3273: IBE_UTIL.debug('Work Phone num is not null phone_Number : '|| p_work_phone_rec.phone_number);
3274: END IF;
3275:
3276: IF (l_workph_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_workph_contact_point_rec.contact_point_id is NULL) THEN
3277: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3278: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_workph_contact_point API');
3279: END IF;
3280:
3281: l_workph_contact_point_rec.status := 'A';

Line 3278: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_workph_contact_point API');

3274: END IF;
3275:
3276: IF (l_workph_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_workph_contact_point_rec.contact_point_id is NULL) THEN
3277: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3278: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_workph_contact_point API');
3279: END IF;
3280:
3281: l_workph_contact_point_rec.status := 'A';
3282: l_workph_contact_point_rec.owner_table_name := 'HZ_PARTIES';

Line 3300: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3296: x_return_status => x_return_status,
3297: x_msg_count => x_msg_count,
3298: x_msg_data => x_msg_data);
3299:
3300: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3301: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point');
3302: END IF;
3303:
3304: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3301: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point');

3297: x_msg_count => x_msg_count,
3298: x_msg_data => x_msg_data);
3299:
3300: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3301: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point');
3302: END IF;
3303:
3304: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3305: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_return_status : '|| x_return_status);

Line 3304: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3300: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3301: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point');
3302: END IF;
3303:
3304: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3305: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_return_status : '|| x_return_status);
3306: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_msg_count : '|| x_msg_count);
3307: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_msg_data :' || x_msg_data);
3308: END IF;

Line 3305: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_return_status : '|| x_return_status);

3301: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point');
3302: END IF;
3303:
3304: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3305: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_return_status : '|| x_return_status);
3306: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_msg_count : '|| x_msg_count);
3307: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_msg_data :' || x_msg_data);
3308: END IF;
3309: ELSIF ( l_workph_object_version_number <> FND_API.G_MISS_NUM ) THEN

Line 3306: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_msg_count : '|| x_msg_count);

3302: END IF;
3303:
3304: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3305: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_return_status : '|| x_return_status);
3306: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_msg_count : '|| x_msg_count);
3307: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_msg_data :' || x_msg_data);
3308: END IF;
3309: ELSIF ( l_workph_object_version_number <> FND_API.G_MISS_NUM ) THEN
3310: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3307: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_msg_data :' || x_msg_data);

3303:
3304: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3305: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_return_status : '|| x_return_status);
3306: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_msg_count : '|| x_msg_count);
3307: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_msg_data :' || x_msg_data);
3308: END IF;
3309: ELSIF ( l_workph_object_version_number <> FND_API.G_MISS_NUM ) THEN
3310: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3311: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_workph_contact_point API');

Line 3310: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3306: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_msg_count : '|| x_msg_count);
3307: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_msg_data :' || x_msg_data);
3308: END IF;
3309: ELSIF ( l_workph_object_version_number <> FND_API.G_MISS_NUM ) THEN
3310: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3311: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_workph_contact_point API');
3312: END IF;
3313:
3314: HZ_CONTACT_POINT_V2PUB.update_phone_contact_point (

Line 3311: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_workph_contact_point API');

3307: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_workph_contact_point - x_msg_data :' || x_msg_data);
3308: END IF;
3309: ELSIF ( l_workph_object_version_number <> FND_API.G_MISS_NUM ) THEN
3310: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3311: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_workph_contact_point API');
3312: END IF;
3313:
3314: HZ_CONTACT_POINT_V2PUB.update_phone_contact_point (
3315: p_contact_point_rec => l_workph_contact_point_rec,

Line 3322: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3318: x_return_status => x_return_status,
3319: x_msg_count => x_msg_count,
3320: x_msg_data => x_msg_data);
3321:
3322: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3323: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point');
3324: END IF;
3325:
3326: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3323: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point');

3319: x_msg_count => x_msg_count,
3320: x_msg_data => x_msg_data);
3321:
3322: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3323: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point');
3324: END IF;
3325:
3326: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3327: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point - x_return_status : '|| x_return_status);

Line 3326: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3322: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3323: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point');
3324: END IF;
3325:
3326: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3327: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point - x_return_status : '|| x_return_status);
3328: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point - x_msg_count : '|| x_msg_count);
3329: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point - x_msg_data :' || x_msg_data);
3330: END IF;

Line 3327: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point - x_return_status : '|| x_return_status);

3323: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point');
3324: END IF;
3325:
3326: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3327: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point - x_return_status : '|| x_return_status);
3328: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point - x_msg_count : '|| x_msg_count);
3329: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point - x_msg_data :' || x_msg_data);
3330: END IF;
3331: END IF;

Line 3328: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point - x_msg_count : '|| x_msg_count);

3324: END IF;
3325:
3326: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3327: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point - x_return_status : '|| x_return_status);
3328: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point - x_msg_count : '|| x_msg_count);
3329: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point - x_msg_data :' || x_msg_data);
3330: END IF;
3331: END IF;
3332:

Line 3329: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point - x_msg_data :' || x_msg_data);

3325:
3326: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3327: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point - x_return_status : '|| x_return_status);
3328: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point - x_msg_count : '|| x_msg_count);
3329: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_workph_contact_point - x_msg_data :' || x_msg_data);
3330: END IF;
3331: END IF;
3332:
3333: if x_return_status <> FND_API.G_RET_STS_SUCCESS then

Line 3340: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3336: end if;
3337:
3338:
3339: -- Create Person/Contact PersonalPhoneNumber
3340: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3341: IBE_UTIL.debug(' Homephone_Number : '|| Length(p_home_phone_rec.phone_number));
3342: END IF;
3343:
3344: if ( (p_home_phone_rec.phone_number is not NULL) and ( Length(p_home_phone_rec.phone_number) > 0 ) and (p_home_phone_rec.phone_number <> FND_API.G_MISS_CHAR) ) then

Line 3341: IBE_UTIL.debug(' Homephone_Number : '|| Length(p_home_phone_rec.phone_number));

3337:
3338:
3339: -- Create Person/Contact PersonalPhoneNumber
3340: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3341: IBE_UTIL.debug(' Homephone_Number : '|| Length(p_home_phone_rec.phone_number));
3342: END IF;
3343:
3344: if ( (p_home_phone_rec.phone_number is not NULL) and ( Length(p_home_phone_rec.phone_number) > 0 ) and (p_home_phone_rec.phone_number <> FND_API.G_MISS_CHAR) ) then
3345: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3345: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3341: IBE_UTIL.debug(' Homephone_Number : '|| Length(p_home_phone_rec.phone_number));
3342: END IF;
3343:
3344: if ( (p_home_phone_rec.phone_number is not NULL) and ( Length(p_home_phone_rec.phone_number) > 0 ) and (p_home_phone_rec.phone_number <> FND_API.G_MISS_CHAR) ) then
3345: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3346: IBE_UTIL.debug('Home Phone num is not null phone_Number : '|| p_home_phone_rec.phone_number);
3347: END IF;
3348:
3349: IF (l_homeph_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_homeph_contact_point_rec.contact_point_id is NULL) THEN

Line 3346: IBE_UTIL.debug('Home Phone num is not null phone_Number : '|| p_home_phone_rec.phone_number);

3342: END IF;
3343:
3344: if ( (p_home_phone_rec.phone_number is not NULL) and ( Length(p_home_phone_rec.phone_number) > 0 ) and (p_home_phone_rec.phone_number <> FND_API.G_MISS_CHAR) ) then
3345: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3346: IBE_UTIL.debug('Home Phone num is not null phone_Number : '|| p_home_phone_rec.phone_number);
3347: END IF;
3348:
3349: IF (l_homeph_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_homeph_contact_point_rec.contact_point_id is NULL) THEN
3350: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3350: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3346: IBE_UTIL.debug('Home Phone num is not null phone_Number : '|| p_home_phone_rec.phone_number);
3347: END IF;
3348:
3349: IF (l_homeph_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_homeph_contact_point_rec.contact_point_id is NULL) THEN
3350: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3351: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point API');
3352: END IF;
3353:
3354: l_homeph_contact_point_rec.status := 'A';

Line 3351: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point API');

3347: END IF;
3348:
3349: IF (l_homeph_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_homeph_contact_point_rec.contact_point_id is NULL) THEN
3350: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3351: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point API');
3352: END IF;
3353:
3354: l_homeph_contact_point_rec.status := 'A';
3355: l_homeph_contact_point_rec.owner_table_name := 'HZ_PARTIES';

Line 3373: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3369: x_return_status => x_return_status,
3370: x_msg_count => x_msg_count,
3371: x_msg_data => x_msg_data);
3372:
3373: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3374: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point');
3375: END IF;
3376:
3377: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3374: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point');

3370: x_msg_count => x_msg_count,
3371: x_msg_data => x_msg_data);
3372:
3373: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3374: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point');
3375: END IF;
3376:
3377: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3378: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_return_status : '|| x_return_status);

Line 3377: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3373: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3374: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point');
3375: END IF;
3376:
3377: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3378: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_return_status : '|| x_return_status);
3379: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_msg_count : '|| x_msg_count);
3380: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_msg_data :' || x_msg_data);
3381: END IF;

Line 3378: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_return_status : '|| x_return_status);

3374: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point');
3375: END IF;
3376:
3377: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3378: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_return_status : '|| x_return_status);
3379: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_msg_count : '|| x_msg_count);
3380: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_msg_data :' || x_msg_data);
3381: END IF;
3382: ELSIF ( l_homeph_object_version_number <> FND_API.G_MISS_NUM ) THEN

Line 3379: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_msg_count : '|| x_msg_count);

3375: END IF;
3376:
3377: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3378: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_return_status : '|| x_return_status);
3379: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_msg_count : '|| x_msg_count);
3380: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_msg_data :' || x_msg_data);
3381: END IF;
3382: ELSIF ( l_homeph_object_version_number <> FND_API.G_MISS_NUM ) THEN
3383: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3380: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_msg_data :' || x_msg_data);

3376:
3377: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3378: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_return_status : '|| x_return_status);
3379: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_msg_count : '|| x_msg_count);
3380: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_msg_data :' || x_msg_data);
3381: END IF;
3382: ELSIF ( l_homeph_object_version_number <> FND_API.G_MISS_NUM ) THEN
3383: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3384: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point API');

Line 3383: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3379: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_msg_count : '|| x_msg_count);
3380: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_msg_data :' || x_msg_data);
3381: END IF;
3382: ELSIF ( l_homeph_object_version_number <> FND_API.G_MISS_NUM ) THEN
3383: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3384: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point API');
3385: END IF;
3386:
3387: HZ_CONTACT_POINT_V2PUB.update_phone_contact_point (

Line 3384: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point API');

3380: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_homeph_contact_point - x_msg_data :' || x_msg_data);
3381: END IF;
3382: ELSIF ( l_homeph_object_version_number <> FND_API.G_MISS_NUM ) THEN
3383: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3384: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point API');
3385: END IF;
3386:
3387: HZ_CONTACT_POINT_V2PUB.update_phone_contact_point (
3388: p_contact_point_rec => l_homeph_contact_point_rec,

Line 3395: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3391: x_return_status => x_return_status,
3392: x_msg_count => x_msg_count,
3393: x_msg_data => x_msg_data);
3394:
3395: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3396: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point');
3397: END IF;
3398:
3399: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3396: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point');

3392: x_msg_count => x_msg_count,
3393: x_msg_data => x_msg_data);
3394:
3395: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3396: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point');
3397: END IF;
3398:
3399: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3400: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point - x_return_status : '|| x_return_status);

Line 3399: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3395: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3396: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point');
3397: END IF;
3398:
3399: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3400: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point - x_return_status : '|| x_return_status);
3401: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point - x_msg_count : '|| x_msg_count);
3402: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point - x_msg_data :' || x_msg_data);
3403: END IF;

Line 3400: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point - x_return_status : '|| x_return_status);

3396: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point');
3397: END IF;
3398:
3399: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3400: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point - x_return_status : '|| x_return_status);
3401: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point - x_msg_count : '|| x_msg_count);
3402: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point - x_msg_data :' || x_msg_data);
3403: END IF;
3404: END IF;

Line 3401: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point - x_msg_count : '|| x_msg_count);

3397: END IF;
3398:
3399: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3400: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point - x_return_status : '|| x_return_status);
3401: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point - x_msg_count : '|| x_msg_count);
3402: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point - x_msg_data :' || x_msg_data);
3403: END IF;
3404: END IF;
3405:

Line 3402: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point - x_msg_data :' || x_msg_data);

3398:
3399: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3400: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point - x_return_status : '|| x_return_status);
3401: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point - x_msg_count : '|| x_msg_count);
3402: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_homeph_contact_point - x_msg_data :' || x_msg_data);
3403: END IF;
3404: END IF;
3405:
3406: if x_return_status <> FND_API.G_RET_STS_SUCCESS then

Line 3412: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3408: end if;
3409: end if;
3410:
3411: -- Create Person/Contact Fax Number
3412: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3413: IBE_UTIL.debug(' Fax Number : '|| Length(p_fax_rec.phone_number));
3414: END IF;
3415:
3416: if ( (p_fax_rec.phone_number is not NULL) and ( Length(p_fax_rec.phone_number) > 0 ) and (p_fax_rec.phone_number <> FND_API.G_MISS_CHAR) ) then

Line 3413: IBE_UTIL.debug(' Fax Number : '|| Length(p_fax_rec.phone_number));

3409: end if;
3410:
3411: -- Create Person/Contact Fax Number
3412: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3413: IBE_UTIL.debug(' Fax Number : '|| Length(p_fax_rec.phone_number));
3414: END IF;
3415:
3416: if ( (p_fax_rec.phone_number is not NULL) and ( Length(p_fax_rec.phone_number) > 0 ) and (p_fax_rec.phone_number <> FND_API.G_MISS_CHAR) ) then
3417: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3417: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3413: IBE_UTIL.debug(' Fax Number : '|| Length(p_fax_rec.phone_number));
3414: END IF;
3415:
3416: if ( (p_fax_rec.phone_number is not NULL) and ( Length(p_fax_rec.phone_number) > 0 ) and (p_fax_rec.phone_number <> FND_API.G_MISS_CHAR) ) then
3417: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3418: IBE_UTIL.debug('Fax num is not null phone_Number : '|| p_fax_rec.phone_number);
3419: END IF;
3420:
3421: IF (l_fax_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_fax_contact_point_rec.contact_point_id is NULL) THEN

Line 3418: IBE_UTIL.debug('Fax num is not null phone_Number : '|| p_fax_rec.phone_number);

3414: END IF;
3415:
3416: if ( (p_fax_rec.phone_number is not NULL) and ( Length(p_fax_rec.phone_number) > 0 ) and (p_fax_rec.phone_number <> FND_API.G_MISS_CHAR) ) then
3417: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3418: IBE_UTIL.debug('Fax num is not null phone_Number : '|| p_fax_rec.phone_number);
3419: END IF;
3420:
3421: IF (l_fax_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_fax_contact_point_rec.contact_point_id is NULL) THEN
3422: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3422: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3418: IBE_UTIL.debug('Fax num is not null phone_Number : '|| p_fax_rec.phone_number);
3419: END IF;
3420:
3421: IF (l_fax_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_fax_contact_point_rec.contact_point_id is NULL) THEN
3422: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3423: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_fax_contact_point API');
3424: END IF;
3425:
3426: l_fax_contact_point_rec.status := 'A';

Line 3423: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_fax_contact_point API');

3419: END IF;
3420:
3421: IF (l_fax_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_fax_contact_point_rec.contact_point_id is NULL) THEN
3422: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3423: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_fax_contact_point API');
3424: END IF;
3425:
3426: l_fax_contact_point_rec.status := 'A';
3427: l_fax_contact_point_rec.owner_table_name := 'HZ_PARTIES';

Line 3445: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3441: x_return_status => x_return_status,
3442: x_msg_count => x_msg_count,
3443: x_msg_data => x_msg_data);
3444:
3445: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3446: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point');
3447: END IF;
3448:
3449: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3446: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point');

3442: x_msg_count => x_msg_count,
3443: x_msg_data => x_msg_data);
3444:
3445: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3446: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point');
3447: END IF;
3448:
3449: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3450: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_return_status : '|| x_return_status);

Line 3449: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3445: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3446: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point');
3447: END IF;
3448:
3449: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3450: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_return_status : '|| x_return_status);
3451: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_msg_count : '|| x_msg_count);
3452: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_msg_data :' || x_msg_data);
3453: END IF;

Line 3450: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_return_status : '|| x_return_status);

3446: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point');
3447: END IF;
3448:
3449: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3450: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_return_status : '|| x_return_status);
3451: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_msg_count : '|| x_msg_count);
3452: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_msg_data :' || x_msg_data);
3453: END IF;
3454: ELSIF ( l_fax_object_version_number <> FND_API.G_MISS_NUM ) THEN

Line 3451: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_msg_count : '|| x_msg_count);

3447: END IF;
3448:
3449: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3450: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_return_status : '|| x_return_status);
3451: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_msg_count : '|| x_msg_count);
3452: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_msg_data :' || x_msg_data);
3453: END IF;
3454: ELSIF ( l_fax_object_version_number <> FND_API.G_MISS_NUM ) THEN
3455: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3452: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_msg_data :' || x_msg_data);

3448:
3449: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3450: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_return_status : '|| x_return_status);
3451: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_msg_count : '|| x_msg_count);
3452: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_msg_data :' || x_msg_data);
3453: END IF;
3454: ELSIF ( l_fax_object_version_number <> FND_API.G_MISS_NUM ) THEN
3455: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3456: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_fax_contact_point API');

Line 3455: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3451: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_msg_count : '|| x_msg_count);
3452: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_msg_data :' || x_msg_data);
3453: END IF;
3454: ELSIF ( l_fax_object_version_number <> FND_API.G_MISS_NUM ) THEN
3455: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3456: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_fax_contact_point API');
3457: END IF;
3458:
3459: HZ_CONTACT_POINT_V2PUB.update_phone_contact_point (

Line 3456: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_fax_contact_point API');

3452: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_fax_contact_point - x_msg_data :' || x_msg_data);
3453: END IF;
3454: ELSIF ( l_fax_object_version_number <> FND_API.G_MISS_NUM ) THEN
3455: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3456: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_fax_contact_point API');
3457: END IF;
3458:
3459: HZ_CONTACT_POINT_V2PUB.update_phone_contact_point (
3460: p_contact_point_rec => l_fax_contact_point_rec,

Line 3467: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3463: x_return_status => x_return_status,
3464: x_msg_count => x_msg_count,
3465: x_msg_data => x_msg_data);
3466:
3467: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3468: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point');
3469: END IF;
3470:
3471: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3468: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point');

3464: x_msg_count => x_msg_count,
3465: x_msg_data => x_msg_data);
3466:
3467: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3468: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point');
3469: END IF;
3470:
3471: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3472: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point - x_return_status : '|| x_return_status);

Line 3471: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3467: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3468: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point');
3469: END IF;
3470:
3471: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3472: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point - x_return_status : '|| x_return_status);
3473: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point - x_msg_count : '|| x_msg_count);
3474: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point - x_msg_data :' || x_msg_data);
3475: END IF;

Line 3472: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point - x_return_status : '|| x_return_status);

3468: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point');
3469: END IF;
3470:
3471: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3472: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point - x_return_status : '|| x_return_status);
3473: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point - x_msg_count : '|| x_msg_count);
3474: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point - x_msg_data :' || x_msg_data);
3475: END IF;
3476: END IF;

Line 3473: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point - x_msg_count : '|| x_msg_count);

3469: END IF;
3470:
3471: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3472: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point - x_return_status : '|| x_return_status);
3473: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point - x_msg_count : '|| x_msg_count);
3474: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point - x_msg_data :' || x_msg_data);
3475: END IF;
3476: END IF;
3477:

Line 3474: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point - x_msg_data :' || x_msg_data);

3470:
3471: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3472: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point - x_return_status : '|| x_return_status);
3473: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point - x_msg_count : '|| x_msg_count);
3474: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_fax_contact_point - x_msg_data :' || x_msg_data);
3475: END IF;
3476: END IF;
3477:
3478: if x_return_status <> FND_API.G_RET_STS_SUCCESS then

Line 3485: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3481: end if;
3482:
3483: -- Create Organization Phone Number
3484:
3485: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3486: IBE_UTIL.debug(' org_phone_Number : '|| Length(p_org_phone_rec.phone_number));
3487: END IF;
3488:
3489: if ( (p_org_phone_rec.phone_number is not NULL) and ( Length(p_org_phone_rec.phone_number) > 0 ) and (p_org_phone_rec.phone_number <> FND_API.G_MISS_CHAR) ) then

Line 3486: IBE_UTIL.debug(' org_phone_Number : '|| Length(p_org_phone_rec.phone_number));

3482:
3483: -- Create Organization Phone Number
3484:
3485: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3486: IBE_UTIL.debug(' org_phone_Number : '|| Length(p_org_phone_rec.phone_number));
3487: END IF;
3488:
3489: if ( (p_org_phone_rec.phone_number is not NULL) and ( Length(p_org_phone_rec.phone_number) > 0 ) and (p_org_phone_rec.phone_number <> FND_API.G_MISS_CHAR) ) then
3490: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3490: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3486: IBE_UTIL.debug(' org_phone_Number : '|| Length(p_org_phone_rec.phone_number));
3487: END IF;
3488:
3489: if ( (p_org_phone_rec.phone_number is not NULL) and ( Length(p_org_phone_rec.phone_number) > 0 ) and (p_org_phone_rec.phone_number <> FND_API.G_MISS_CHAR) ) then
3490: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3491: IBE_UTIL.debug('Org Phone num is not null phone_Number : '|| p_org_phone_rec.phone_number);
3492: END IF;
3493:
3494:

Line 3491: IBE_UTIL.debug('Org Phone num is not null phone_Number : '|| p_org_phone_rec.phone_number);

3487: END IF;
3488:
3489: if ( (p_org_phone_rec.phone_number is not NULL) and ( Length(p_org_phone_rec.phone_number) > 0 ) and (p_org_phone_rec.phone_number <> FND_API.G_MISS_CHAR) ) then
3490: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3491: IBE_UTIL.debug('Org Phone num is not null phone_Number : '|| p_org_phone_rec.phone_number);
3492: END IF;
3493:
3494:
3495: IF ( l_orgph_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_orgph_contact_point_rec.contact_point_id is NULL) THEN

Line 3510: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3506: IF( l_orgph_contact_point_rec.owner_table_id = FND_API.G_MISS_NUM or l_orgph_contact_point_rec.owner_table_id is null) THEN
3507: l_orgph_contact_point_rec.owner_table_id := l_org_party_id;
3508: END IF;
3509:
3510: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3511: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point API');
3512: END IF;
3513:
3514: HZ_CONTACT_POINT_V2PUB.create_phone_contact_point (

Line 3511: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point API');

3507: l_orgph_contact_point_rec.owner_table_id := l_org_party_id;
3508: END IF;
3509:
3510: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3511: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point API');
3512: END IF;
3513:
3514: HZ_CONTACT_POINT_V2PUB.create_phone_contact_point (
3515: p_contact_point_rec => l_orgph_contact_point_rec,

Line 3522: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3518: x_return_status => x_return_status,
3519: x_msg_count => x_msg_count,
3520: x_msg_data => x_msg_data);
3521:
3522: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3523: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point');
3524: END IF;
3525:
3526: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3523: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point');

3519: x_msg_count => x_msg_count,
3520: x_msg_data => x_msg_data);
3521:
3522: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3523: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point');
3524: END IF;
3525:
3526: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3527: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point - x_return_status : '|| x_return_status);

Line 3526: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3522: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3523: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point');
3524: END IF;
3525:
3526: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3527: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point - x_return_status : '|| x_return_status);
3528: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point - x_msg_count : '|| x_msg_count);
3529: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point - x_msg_data :' || x_msg_data);
3530: END IF;

Line 3527: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point - x_return_status : '|| x_return_status);

3523: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point');
3524: END IF;
3525:
3526: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3527: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point - x_return_status : '|| x_return_status);
3528: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point - x_msg_count : '|| x_msg_count);
3529: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point - x_msg_data :' || x_msg_data);
3530: END IF;
3531: END IF;

Line 3528: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point - x_msg_count : '|| x_msg_count);

3524: END IF;
3525:
3526: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3527: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point - x_return_status : '|| x_return_status);
3528: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point - x_msg_count : '|| x_msg_count);
3529: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point - x_msg_data :' || x_msg_data);
3530: END IF;
3531: END IF;
3532: ELSIF ( l_orgph_contact_point_rec.contact_point_id <> FND_API.G_MISS_NUM or l_orgph_contact_point_rec.contact_point_id is not NULL

Line 3529: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point - x_msg_data :' || x_msg_data);

3525:
3526: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3527: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point - x_return_status : '|| x_return_status);
3528: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point - x_msg_count : '|| x_msg_count);
3529: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgPh_contact_point - x_msg_data :' || x_msg_data);
3530: END IF;
3531: END IF;
3532: ELSIF ( l_orgph_contact_point_rec.contact_point_id <> FND_API.G_MISS_NUM or l_orgph_contact_point_rec.contact_point_id is not NULL
3533: AND l_orgph_object_version_number <> FND_API.G_MISS_NUM ) THEN

Line 3534: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3530: END IF;
3531: END IF;
3532: ELSIF ( l_orgph_contact_point_rec.contact_point_id <> FND_API.G_MISS_NUM or l_orgph_contact_point_rec.contact_point_id is not NULL
3533: AND l_orgph_object_version_number <> FND_API.G_MISS_NUM ) THEN
3534: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3535: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point API');
3536: END IF;
3537:
3538: HZ_CONTACT_POINT_V2PUB.update_phone_contact_point (

Line 3535: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point API');

3531: END IF;
3532: ELSIF ( l_orgph_contact_point_rec.contact_point_id <> FND_API.G_MISS_NUM or l_orgph_contact_point_rec.contact_point_id is not NULL
3533: AND l_orgph_object_version_number <> FND_API.G_MISS_NUM ) THEN
3534: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3535: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point API');
3536: END IF;
3537:
3538: HZ_CONTACT_POINT_V2PUB.update_phone_contact_point (
3539: p_contact_point_rec => l_orgph_contact_point_rec,

Line 3546: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3542: x_return_status => x_return_status,
3543: x_msg_count => x_msg_count,
3544: x_msg_data => x_msg_data);
3545:
3546: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3547: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point');
3548: END IF;
3549:
3550: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3547: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point');

3543: x_msg_count => x_msg_count,
3544: x_msg_data => x_msg_data);
3545:
3546: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3547: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point');
3548: END IF;
3549:
3550: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3551: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point - x_return_status : '|| x_return_status);

Line 3550: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3546: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3547: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point');
3548: END IF;
3549:
3550: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3551: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point - x_return_status : '|| x_return_status);
3552: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point - x_msg_count : '|| x_msg_count);
3553: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point - x_msg_data :' || x_msg_data);
3554: END IF;

Line 3551: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point - x_return_status : '|| x_return_status);

3547: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point');
3548: END IF;
3549:
3550: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3551: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point - x_return_status : '|| x_return_status);
3552: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point - x_msg_count : '|| x_msg_count);
3553: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point - x_msg_data :' || x_msg_data);
3554: END IF;
3555: END IF;

Line 3552: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point - x_msg_count : '|| x_msg_count);

3548: END IF;
3549:
3550: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3551: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point - x_return_status : '|| x_return_status);
3552: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point - x_msg_count : '|| x_msg_count);
3553: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point - x_msg_data :' || x_msg_data);
3554: END IF;
3555: END IF;
3556:

Line 3553: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point - x_msg_data :' || x_msg_data);

3549:
3550: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3551: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point - x_return_status : '|| x_return_status);
3552: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point - x_msg_count : '|| x_msg_count);
3553: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgPh_contact_point - x_msg_data :' || x_msg_data);
3554: END IF;
3555: END IF;
3556:
3557: if x_return_status <> FND_API.G_RET_STS_SUCCESS then

Line 3564: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3560: end if;
3561:
3562: -- Create Organization Fax Number
3563:
3564: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3565: IBE_UTIL.debug(' Org_fax_Number : '|| Length(p_org_fax_rec.phone_number));
3566: END IF;
3567:
3568:

Line 3565: IBE_UTIL.debug(' Org_fax_Number : '|| Length(p_org_fax_rec.phone_number));

3561:
3562: -- Create Organization Fax Number
3563:
3564: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3565: IBE_UTIL.debug(' Org_fax_Number : '|| Length(p_org_fax_rec.phone_number));
3566: END IF;
3567:
3568:
3569: if ( (p_org_fax_rec.phone_number is not NULL) and ( Length(p_org_fax_rec.phone_number) > 0 ) and (p_org_fax_rec.phone_number <> FND_API.G_MISS_CHAR)) then

Line 3570: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3566: END IF;
3567:
3568:
3569: if ( (p_org_fax_rec.phone_number is not NULL) and ( Length(p_org_fax_rec.phone_number) > 0 ) and (p_org_fax_rec.phone_number <> FND_API.G_MISS_CHAR)) then
3570: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3571: IBE_UTIL.debug('Fax num is not null phone_Number : '|| p_org_fax_rec.phone_number);
3572: END IF;
3573:
3574: IF (l_orgfax_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_orgfax_contact_point_rec.contact_point_id is NULL) THEN

Line 3571: IBE_UTIL.debug('Fax num is not null phone_Number : '|| p_org_fax_rec.phone_number);

3567:
3568:
3569: if ( (p_org_fax_rec.phone_number is not NULL) and ( Length(p_org_fax_rec.phone_number) > 0 ) and (p_org_fax_rec.phone_number <> FND_API.G_MISS_CHAR)) then
3570: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3571: IBE_UTIL.debug('Fax num is not null phone_Number : '|| p_org_fax_rec.phone_number);
3572: END IF;
3573:
3574: IF (l_orgfax_contact_point_rec.contact_point_id = FND_API.G_MISS_NUM or l_orgfax_contact_point_rec.contact_point_id is NULL) THEN
3575:

Line 3588: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3584: IF (l_orgfax_contact_point_rec.owner_table_id = FND_API.G_MISS_NUM or l_orgfax_contact_point_rec.owner_table_id is null) THEN
3585: l_orgfax_contact_point_rec.owner_table_id := l_org_party_id;
3586: END IF;
3587:
3588: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3589: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point API');
3590: END IF;
3591:
3592: HZ_CONTACT_POINT_V2PUB.create_phone_contact_point (

Line 3589: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point API');

3585: l_orgfax_contact_point_rec.owner_table_id := l_org_party_id;
3586: END IF;
3587:
3588: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3589: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point API');
3590: END IF;
3591:
3592: HZ_CONTACT_POINT_V2PUB.create_phone_contact_point (
3593: p_contact_point_rec => l_orgfax_contact_point_rec,

Line 3600: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3596: x_return_status => x_return_status,
3597: x_msg_count => x_msg_count,
3598: x_msg_data => x_msg_data);
3599:
3600: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3601: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point');
3602: END IF;
3603:
3604: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3601: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point');

3597: x_msg_count => x_msg_count,
3598: x_msg_data => x_msg_data);
3599:
3600: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3601: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point');
3602: END IF;
3603:
3604: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3605: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point - x_return_status : '|| x_return_status);

Line 3604: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3600: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3601: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point');
3602: END IF;
3603:
3604: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3605: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point - x_return_status : '|| x_return_status);
3606: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point - x_msg_count : '|| x_msg_count);
3607: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point - x_msg_data :' || x_msg_data);
3608: END IF;

Line 3605: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point - x_return_status : '|| x_return_status);

3601: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point');
3602: END IF;
3603:
3604: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3605: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point - x_return_status : '|| x_return_status);
3606: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point - x_msg_count : '|| x_msg_count);
3607: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point - x_msg_data :' || x_msg_data);
3608: END IF;
3609: END IF;

Line 3606: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point - x_msg_count : '|| x_msg_count);

3602: END IF;
3603:
3604: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3605: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point - x_return_status : '|| x_return_status);
3606: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point - x_msg_count : '|| x_msg_count);
3607: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point - x_msg_data :' || x_msg_data);
3608: END IF;
3609: END IF;
3610: ELSIF ( l_orgfax_contact_point_rec.owner_table_id <> FND_API.G_MISS_NUM AND l_orgfax_contact_point_rec.owner_table_id is not null

Line 3607: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point - x_msg_data :' || x_msg_data);

3603:
3604: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3605: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point - x_return_status : '|| x_return_status);
3606: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point - x_msg_count : '|| x_msg_count);
3607: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.create_orgFax_contact_point - x_msg_data :' || x_msg_data);
3608: END IF;
3609: END IF;
3610: ELSIF ( l_orgfax_contact_point_rec.owner_table_id <> FND_API.G_MISS_NUM AND l_orgfax_contact_point_rec.owner_table_id is not null
3611: AND l_orgfax_object_version_number <> FND_API.G_MISS_NUM ) THEN

Line 3612: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3608: END IF;
3609: END IF;
3610: ELSIF ( l_orgfax_contact_point_rec.owner_table_id <> FND_API.G_MISS_NUM AND l_orgfax_contact_point_rec.owner_table_id is not null
3611: AND l_orgfax_object_version_number <> FND_API.G_MISS_NUM ) THEN
3612: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3613: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point API');
3614: END IF;
3615:
3616: HZ_CONTACT_POINT_V2PUB.update_phone_contact_point (

Line 3613: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point API');

3609: END IF;
3610: ELSIF ( l_orgfax_contact_point_rec.owner_table_id <> FND_API.G_MISS_NUM AND l_orgfax_contact_point_rec.owner_table_id is not null
3611: AND l_orgfax_object_version_number <> FND_API.G_MISS_NUM ) THEN
3612: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3613: IBE_UTIL.debug('Call HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point API');
3614: END IF;
3615:
3616: HZ_CONTACT_POINT_V2PUB.update_phone_contact_point (
3617: p_contact_point_rec => l_orgfax_contact_point_rec,

Line 3624: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3620: x_return_status => x_return_status,
3621: x_msg_count => x_msg_count,
3622: x_msg_data => x_msg_data);
3623:
3624: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3625: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point');
3626: END IF;
3627:
3628: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

Line 3625: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point');

3621: x_msg_count => x_msg_count,
3622: x_msg_data => x_msg_data);
3623:
3624: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3625: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point');
3626: END IF;
3627:
3628: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3629: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point - x_return_status : '|| x_return_status);

Line 3628: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3624: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3625: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point');
3626: END IF;
3627:
3628: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3629: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point - x_return_status : '|| x_return_status);
3630: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point - x_msg_count : '|| x_msg_count);
3631: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point - x_msg_data :' || x_msg_data);
3632: END IF;

Line 3629: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point - x_return_status : '|| x_return_status);

3625: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point');
3626: END IF;
3627:
3628: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3629: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point - x_return_status : '|| x_return_status);
3630: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point - x_msg_count : '|| x_msg_count);
3631: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point - x_msg_data :' || x_msg_data);
3632: END IF;
3633: END IF;

Line 3630: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point - x_msg_count : '|| x_msg_count);

3626: END IF;
3627:
3628: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3629: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point - x_return_status : '|| x_return_status);
3630: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point - x_msg_count : '|| x_msg_count);
3631: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point - x_msg_data :' || x_msg_data);
3632: END IF;
3633: END IF;
3634:

Line 3631: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point - x_msg_data :' || x_msg_data);

3627:
3628: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3629: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point - x_return_status : '|| x_return_status);
3630: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point - x_msg_count : '|| x_msg_count);
3631: IBE_UTIL.debug('After call to HZ_CONTACT_POINT_V2PUB.update_orgFax_contact_point - x_msg_data :' || x_msg_data);
3632: END IF;
3633: END IF;
3634:
3635: if x_return_status <> FND_API.G_RET_STS_SUCCESS then

Line 3644: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3640: x_person_party_id := l_person_party_id;
3641: x_rel_party_id := l_rel_party_id;
3642: x_org_party_id := l_org_party_id;
3643:
3644: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3645: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_person_party_id: '|| x_person_party_id);
3646: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_rel_party_id: '|| x_rel_party_id);
3647: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_org_party_id:' || x_org_party_id);
3648: IBE_UTIL.debug('IBE_PARTY_V2PVT.Save_Tca_Entites: Completing the call to Save_Tca_Entties');

Line 3645: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_person_party_id: '|| x_person_party_id);

3641: x_rel_party_id := l_rel_party_id;
3642: x_org_party_id := l_org_party_id;
3643:
3644: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3645: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_person_party_id: '|| x_person_party_id);
3646: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_rel_party_id: '|| x_rel_party_id);
3647: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_org_party_id:' || x_org_party_id);
3648: IBE_UTIL.debug('IBE_PARTY_V2PVT.Save_Tca_Entites: Completing the call to Save_Tca_Entties');
3649: END IF;

Line 3646: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_rel_party_id: '|| x_rel_party_id);

3642: x_org_party_id := l_org_party_id;
3643:
3644: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3645: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_person_party_id: '|| x_person_party_id);
3646: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_rel_party_id: '|| x_rel_party_id);
3647: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_org_party_id:' || x_org_party_id);
3648: IBE_UTIL.debug('IBE_PARTY_V2PVT.Save_Tca_Entites: Completing the call to Save_Tca_Entties');
3649: END IF;
3650:

Line 3647: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_org_party_id:' || x_org_party_id);

3643:
3644: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3645: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_person_party_id: '|| x_person_party_id);
3646: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_rel_party_id: '|| x_rel_party_id);
3647: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_org_party_id:' || x_org_party_id);
3648: IBE_UTIL.debug('IBE_PARTY_V2PVT.Save_Tca_Entites: Completing the call to Save_Tca_Entties');
3649: END IF;
3650:
3651: EXCEPTION

Line 3648: IBE_UTIL.debug('IBE_PARTY_V2PVT.Save_Tca_Entites: Completing the call to Save_Tca_Entties');

3644: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3645: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_person_party_id: '|| x_person_party_id);
3646: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_rel_party_id: '|| x_rel_party_id);
3647: IBE_UTIL.debug('Before completing the process in IBE_PARTY_V2PVT.Save_Tca_Entites - x_org_party_id:' || x_org_party_id);
3648: IBE_UTIL.debug('IBE_PARTY_V2PVT.Save_Tca_Entites: Completing the call to Save_Tca_Entties');
3649: END IF;
3650:
3651: EXCEPTION
3652:

Line 3663: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3659: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
3660: p_data => x_msg_data,
3661: p_encoded => 'F');
3662:
3663: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3664: IBE_UTIL.debug('G_EXC_ERROR exception');
3665: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3666: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3667: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 3664: IBE_UTIL.debug('G_EXC_ERROR exception');

3660: p_data => x_msg_data,
3661: p_encoded => 'F');
3662:
3663: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3664: IBE_UTIL.debug('G_EXC_ERROR exception');
3665: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3666: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3667: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
3668: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 3665: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

3661: p_encoded => 'F');
3662:
3663: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3664: IBE_UTIL.debug('G_EXC_ERROR exception');
3665: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3666: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3667: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
3668: IBE_UTIL.debug('error text : '|| SQLERRM);
3669: END IF;

Line 3666: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

3662:
3663: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3664: IBE_UTIL.debug('G_EXC_ERROR exception');
3665: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3666: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3667: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
3668: IBE_UTIL.debug('error text : '|| SQLERRM);
3669: END IF;
3670:

Line 3667: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

3663: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3664: IBE_UTIL.debug('G_EXC_ERROR exception');
3665: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3666: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3667: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
3668: IBE_UTIL.debug('error text : '|| SQLERRM);
3669: END IF;
3670:
3671: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 3668: IBE_UTIL.debug('error text : '|| SQLERRM);

3664: IBE_UTIL.debug('G_EXC_ERROR exception');
3665: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3666: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3667: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
3668: IBE_UTIL.debug('error text : '|| SQLERRM);
3669: END IF;
3670:
3671: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
3672:

Line 3680: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3676: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
3677: p_data => x_msg_data,
3678: p_encoded => 'F');
3679:
3680: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3681: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
3682: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3683: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3684: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 3681: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');

3677: p_data => x_msg_data,
3678: p_encoded => 'F');
3679:
3680: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3681: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
3682: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3683: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3684: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
3685: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 3682: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

3678: p_encoded => 'F');
3679:
3680: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3681: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
3682: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3683: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3684: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
3685: IBE_UTIL.debug('error text : '|| SQLERRM);
3686: END IF;

Line 3683: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

3679:
3680: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3681: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
3682: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3683: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3684: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
3685: IBE_UTIL.debug('error text : '|| SQLERRM);
3686: END IF;
3687:

Line 3684: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

3680: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3681: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
3682: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3683: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3684: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
3685: IBE_UTIL.debug('error text : '|| SQLERRM);
3686: END IF;
3687:
3688: WHEN OTHERS THEN

Line 3685: IBE_UTIL.debug('error text : '|| SQLERRM);

3681: IBE_UTIL.debug('G_EXC_UNEXPECTED_ERROR exception');
3682: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3683: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3684: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
3685: IBE_UTIL.debug('error text : '|| SQLERRM);
3686: END IF;
3687:
3688: WHEN OTHERS THEN
3689:

Line 3701: --IBE_UTIL.debug('OTHER exception');

3697: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
3698: p_data => x_msg_data,
3699: p_encoded => 'F');
3700:
3701: --IBE_UTIL.debug('OTHER exception');
3702: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3703: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3704: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3705: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

Line 3702: IF (IBE_UTIL.G_DEBUGON = l_true) THEN

3698: p_data => x_msg_data,
3699: p_encoded => 'F');
3700:
3701: --IBE_UTIL.debug('OTHER exception');
3702: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3703: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3704: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3705: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
3706: IBE_UTIL.debug('error text : '|| SQLERRM);

Line 3703: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));

3699: p_encoded => 'F');
3700:
3701: --IBE_UTIL.debug('OTHER exception');
3702: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3703: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3704: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3705: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
3706: IBE_UTIL.debug('error text : '|| SQLERRM);
3707: END IF;

Line 3704: IBE_UTIL.debug('x_msg_data ' || x_msg_data);

3700:
3701: --IBE_UTIL.debug('OTHER exception');
3702: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3703: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3704: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3705: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
3706: IBE_UTIL.debug('error text : '|| SQLERRM);
3707: END IF;
3708:

Line 3705: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));

3701: --IBE_UTIL.debug('OTHER exception');
3702: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3703: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3704: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3705: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
3706: IBE_UTIL.debug('error text : '|| SQLERRM);
3707: END IF;
3708:
3709: END Save_Tca_Entities;

Line 3706: IBE_UTIL.debug('error text : '|| SQLERRM);

3702: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
3703: IBE_UTIL.debug('x_msg_count ' || to_char(x_msg_count));
3704: IBE_UTIL.debug('x_msg_data ' || x_msg_data);
3705: IBE_UTIL.debug('error code : '|| to_char(SQLCODE));
3706: IBE_UTIL.debug('error text : '|| SQLERRM);
3707: END IF;
3708:
3709: END Save_Tca_Entities;
3710: