86: l_notes VARCHAR2(2000);
87: l_interaction_id NUMBER;
88: l_parent_id NUMBER := p_parent_interaction_id;
89: BEGIN
90: -- Standard start of API savepoint
91: SAVEPOINT create_interaction_pvt;
92:
93: -- Standard call to check for call compatibility
94: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version,
89: BEGIN
90: -- Standard start of API savepoint
91: SAVEPOINT create_interaction_pvt;
92:
93: -- Standard call to check for call compatibility
94: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version,
95: l_api_name, g_pkg_name) THEN
96: RAISE fnd_api.g_exc_unexpected_error;
97: END IF;
576: -- Set OUT value
577: --
578: x_interaction_id := l_interaction_id;
579:
580: -- Standard check of p_commit
581: IF fnd_api.to_boolean(p_commit) THEN
582: COMMIT WORK;
583: END IF;
584:
581: IF fnd_api.to_boolean(p_commit) THEN
582: COMMIT WORK;
583: END IF;
584:
585: -- Standard call to get message count and if count is 1, get message info
586: fnd_msg_pub.count_and_get
587: ( p_count => x_msg_count,
588: p_data => x_msg_data );
589: EXCEPTION