339: , x_msg_data OUT NOCOPY VARCHAR2
340: ) IS
341: BEGIN
342: x_audit_reason_capt:=
343: OE_Versioning_Util.IS_AUDIT_REASON_CAPTURED
344: (
345: p_entity_code=>p_entity_code
346: , p_entity_id=>p_entity_id
347: );
344: (
345: p_entity_code=>p_entity_code
346: , p_entity_id=>p_entity_id
347: );
348: OE_Versioning_Util.Get_Reason_Info(
349: x_reason_code=>x_reason,
350: x_reason_comments=>x_comments
351: );
352: x_is_reason_rqd:=OE_Versioning_Util.IS_REASON_RQD;
348: OE_Versioning_Util.Get_Reason_Info(
349: x_reason_code=>x_reason,
350: x_reason_comments=>x_comments
351: );
352: x_is_reason_rqd:=OE_Versioning_Util.IS_REASON_RQD;
353:
354: oe_debug_pub.add('Is_Reason_Rqd:'||x_is_reason_rqd);
355: oe_debug_pub.add('x_reason:'||x_reason);
356: IF x_audit_reason_capt THEN