133: end if;
134:
135: check_errors;
136:
137: -- standard check of p_commit
138: if fnd_api.to_boolean(p_commit) then
139: commit work;
140: end if;
141:
139: commit work;
140: end if;
141:
142:
143: -- standard call to get message count and if count is 1, get message info
144: fnd_msg_pub.count_and_get(p_count => x_msg_count,
145: p_data => x_msg_data);
146:
147:
356: end if;
357:
358: check_errors;
359:
360: -- standard check of p_commit
361: if fnd_api.to_boolean(p_commit) then
362: commit work;
363: end if;
364:
362: commit work;
363: end if;
364:
365:
366: -- standard call to get message count and if count is 1, get message info
367: fnd_msg_pub.count_and_get(p_count => x_msg_count,
368: p_data => x_msg_data);
369:
370: EXCEPTION
477: end if;
478:
479: check_errors;
480:
481: -- standard check of p_commit
482: if fnd_api.to_boolean(p_commit) then
483: commit work;
484: end if;
485:
483: commit work;
484: end if;
485:
486:
487: -- standard call to get message count and if count is 1, get message info
488: fnd_msg_pub.count_and_get(p_count => x_msg_count,
489: p_data => x_msg_data);
490:
491: EXCEPTION