178: if (p_commit = FND_API.G_TRUE) then
179: COMMIT WORK;
180: end if;
181:
182: FND_MSG_PUB.Count_And_Get(
183: p_count => x_msg_count,
184: p_data => x_msg_data
185: );
186:
193: FA_SRVR_MSG.Add_Message(
194: calling_fn => 'FA_UNIT_ADJ_PUB.do_unit_adjustment',
195: p_log_level_rec => g_log_level_rec);
196:
197: FND_MSG_PUB.Count_And_Get(
198: p_count => x_msg_count,
199: p_data => x_msg_data
200: );
201: ROLLBACK TO unit_adj_pub;
205: FA_SRVR_MSG.Add_Sql_Error(
206: calling_fn => 'FA_UNIT_ADJ_PUB.do_unit_adjustment'
207: ,p_log_level_rec => g_log_level_rec);
208:
209: FND_MSG_PUB.Count_And_Get(
210: p_count => x_msg_count,
211: p_data => x_msg_data
212: );
213: ROLLBACK TO unit_adj_pub;