3973: -- Initialize message list if p_init_msg_list is set to TRUE.
3974: IF Fnd_Api.to_Boolean(p_init_msg_list)
3975: THEN
3976: Fnd_Msg_Pub.initialize;
3977: oe_Msg_Pub.initialize;
3978: END IF;
3979: -- Initialize API return status to success
3980: x_return_status := Fnd_Api.G_RET_STS_SUCCESS;
3981: -- ---------------
4067: -- Standard call to get message count and IF count is get message info.
4068: Fnd_Msg_Pub.Count_And_Get(p_count => x_msg_count,
4069: p_data => x_msg_data);
4070: if(x_msg_count = 0) then
4071: oe_Msg_Pub.Count_And_Get(p_count => x_msg_count,
4072: p_data => x_msg_data);
4073: end if;
4074:
4075: EXCEPTION
4078: ROLLBACK TO CANCEL_PRODTXN_PVT;
4079: Fnd_Msg_Pub.count_and_get(p_count => x_msg_count,
4080: p_data => x_msg_data);
4081: if(x_msg_count = 0) then
4082: oe_Msg_Pub.Count_And_Get(p_count => x_msg_count,
4083: p_data => x_msg_data);
4084: end if;
4085:
4086: IF (Fnd_Log.level_error >= Fnd_Log.g_current_runtime_level)
4095: ROLLBACK TO CANCEL_PRODTXN_PVT;
4096: Fnd_Msg_Pub.count_and_get(p_count => x_msg_count,
4097: p_data => x_msg_data);
4098: if(x_msg_count = 0) then
4099: oe_Msg_Pub.Count_And_Get(p_count => x_msg_count,
4100: p_data => x_msg_data);
4101: end if;
4102:
4103: IF (Fnd_Log.level_exception >= Fnd_Log.g_current_runtime_level)
4118:
4119: Fnd_Msg_Pub.count_and_get(p_count => x_msg_count,
4120: p_data => x_msg_data);
4121: if(x_msg_count = 0) then
4122: oe_Msg_Pub.Count_And_Get(p_count => x_msg_count,
4123: p_data => x_msg_data);
4124: end if;
4125:
4126: IF (Fnd_Log.level_exception >= Fnd_Log.g_current_runtime_level)