147: -- Step 6:
148: -- Enable the QA results
149: if ( l_qaCollectionID is not null ) then
150: if (l_logLevel <= wip_constants.full_logging) then
151: wip_logger.log(p_msg => 'Calling qa_result_grp.enable',
152: x_returnStatus => l_returnStatus);
153: end if;
154:
155: qa_result_grp.enable(p_api_version => 1.0,
151: wip_logger.log(p_msg => 'Calling qa_result_grp.enable',
152: x_returnStatus => l_returnStatus);
153: end if;
154:
155: qa_result_grp.enable(p_api_version => 1.0,
156: p_init_msg_list => 'F',
157: p_commit => 'F',
158: p_validation_level => 0,
159: p_collection_id => l_qaCollectionID,
166: fnd_message.set_name('FND', 'FND_GENERIC_MESSAGE');
167: fnd_message.set_token('MESSAGE', l_msgData);
168: fnd_msg_pub.add;
169: if (l_logLevel <= wip_constants.full_logging) then
170: wip_logger.log(p_msg => 'qa_result_grp.enable returns return with error ' ||
171: l_msgData,
172: x_returnStatus => l_returnStatus);
173: end if;
174: raise processing_exception;
175: end if;
176: end if;
177:
178: if (l_logLevel <= wip_constants.trace_logging) then
179: wip_logger.log(p_msg => 'qa_result_grp.enable returns ' ||
180: 'with status ' || l_returnStatus,
181: x_returnStatus => l_returnStatus);
182: end if;
183: