183: --- If the Qand A is passed
184:
185: IF p_transaction_phase_code = 'N'
186: THEN
187: OE_NEGOTIATE_WF.submit_draft(p_header_id => p_header_id,
188: x_return_status => l_return_status);
189: if l_debug_level > 0 then
190: oe_debug_pub.ADD('Entering OE_BLANKET_WF_UTIL.Submit_draft after Neg ret'||l_return_status);
191: end if;
309: oe_debug_pub.ADD('Entering OE_BLANKET_WF_UTIL.Customer_Accepted ', 1);
310: end if;
311: x_return_status := FND_API.G_RET_STS_SUCCESS;
312:
313: OE_NEGOTIATE_WF.Customer_Accepted(p_header_id => p_header_id,
314: x_return_status => x_return_status);
315: OE_MSG_PUB.Count_And_Get ( p_count => x_msg_count
316: , p_data => x_msg_data);
317:
364: oe_debug_pub.ADD('Entering OE_BLANKET_WF_UTIL.Customer_Rejected RCODE'||l_reason_code);
365: oe_debug_pub.ADD('Entering OE_BLANKET_WF_UTIL.Customer_Rejected RCOMM'||l_reason_comments);
366: oe_debug_pub.ADD('Entering OE_BLANKET_WF_UTIL.Customer_RejecteD RETSTAT'||x_return_status);
367: end if;
368: OE_NEGOTIATE_WF.Customer_Rejected(p_header_id => l_header_id,
369: p_entity_code => l_entity_id,
370: p_version_number => l_version_number,
371: p_reason_type => l_reason_type,
372: p_reason_code => l_reason_code,
372: p_reason_code => l_reason_code,
373: p_reason_comments => l_reason_comments,
374: x_return_status => x_return_status);
375: if l_debug_level > 0 then
376: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected ', 1);
377: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected HID '||l_header_id);
378: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected VNUM '||l_version_number);
379: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RTYPE '||l_reason_type);
380: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RCODE '||l_reason_code);
373: p_reason_comments => l_reason_comments,
374: x_return_status => x_return_status);
375: if l_debug_level > 0 then
376: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected ', 1);
377: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected HID '||l_header_id);
378: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected VNUM '||l_version_number);
379: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RTYPE '||l_reason_type);
380: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RCODE '||l_reason_code);
381: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RCOMM '||l_reason_comments);
374: x_return_status => x_return_status);
375: if l_debug_level > 0 then
376: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected ', 1);
377: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected HID '||l_header_id);
378: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected VNUM '||l_version_number);
379: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RTYPE '||l_reason_type);
380: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RCODE '||l_reason_code);
381: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RCOMM '||l_reason_comments);
382: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_RejecteD RETSTAT '||x_return_status);
375: if l_debug_level > 0 then
376: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected ', 1);
377: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected HID '||l_header_id);
378: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected VNUM '||l_version_number);
379: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RTYPE '||l_reason_type);
380: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RCODE '||l_reason_code);
381: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RCOMM '||l_reason_comments);
382: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_RejecteD RETSTAT '||x_return_status);
383: end if;
376: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected ', 1);
377: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected HID '||l_header_id);
378: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected VNUM '||l_version_number);
379: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RTYPE '||l_reason_type);
380: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RCODE '||l_reason_code);
381: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RCOMM '||l_reason_comments);
382: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_RejecteD RETSTAT '||x_return_status);
383: end if;
384:
377: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected HID '||l_header_id);
378: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected VNUM '||l_version_number);
379: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RTYPE '||l_reason_type);
380: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RCODE '||l_reason_code);
381: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RCOMM '||l_reason_comments);
382: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_RejecteD RETSTAT '||x_return_status);
383: end if;
384:
385: OE_MSG_PUB.Count_And_Get ( p_count => x_msg_count
378: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected VNUM '||l_version_number);
379: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RTYPE '||l_reason_type);
380: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RCODE '||l_reason_code);
381: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_Rejected RCOMM '||l_reason_comments);
382: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.Customer_RejecteD RETSTAT '||x_return_status);
383: end if;
384:
385: OE_MSG_PUB.Count_And_Get ( p_count => x_msg_count
386: , p_data => x_msg_data);
616: oe_debug_pub.ADD('Entering OE_BLANKET_WF_UTIL.LOST RCODE'||l_reason_code);
617: oe_debug_pub.ADD('Entering OE_BLANKET_WF_UTIL.LOST RCOMM'||l_reason_comments);
618: oe_debug_pub.ADD('Entering OE_BLANKET_WF_UTIL.LOST RETSTAT'||x_return_status);
619: end if;
620: OE_NEGOTIATE_WF.Lost(p_header_id => l_header_id,
621: p_entity_code => l_entity_code,
622: p_version_number => l_version_number,
623: p_reason_type => l_reason_type,
624: p_reason_code => l_reason_code,
624: p_reason_code => l_reason_code,
625: p_reason_comments => l_reason_comments,
626: x_return_status => x_return_status);
627: if l_debug_level > 0 then
628: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST ', 1);
629: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST HID'||l_header_id);
630: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST ECODE'||l_entity_code);
631: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST VNUM'||l_version_number);
632: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RTYPE'||l_reason_type);
625: p_reason_comments => l_reason_comments,
626: x_return_status => x_return_status);
627: if l_debug_level > 0 then
628: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST ', 1);
629: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST HID'||l_header_id);
630: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST ECODE'||l_entity_code);
631: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST VNUM'||l_version_number);
632: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RTYPE'||l_reason_type);
633: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RCODE'||l_reason_code);
626: x_return_status => x_return_status);
627: if l_debug_level > 0 then
628: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST ', 1);
629: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST HID'||l_header_id);
630: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST ECODE'||l_entity_code);
631: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST VNUM'||l_version_number);
632: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RTYPE'||l_reason_type);
633: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RCODE'||l_reason_code);
634: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RCOMM'||l_reason_comments);
627: if l_debug_level > 0 then
628: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST ', 1);
629: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST HID'||l_header_id);
630: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST ECODE'||l_entity_code);
631: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST VNUM'||l_version_number);
632: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RTYPE'||l_reason_type);
633: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RCODE'||l_reason_code);
634: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RCOMM'||l_reason_comments);
635: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RETSTAT'||x_return_status);
628: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST ', 1);
629: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST HID'||l_header_id);
630: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST ECODE'||l_entity_code);
631: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST VNUM'||l_version_number);
632: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RTYPE'||l_reason_type);
633: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RCODE'||l_reason_code);
634: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RCOMM'||l_reason_comments);
635: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RETSTAT'||x_return_status);
636: end if;
629: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST HID'||l_header_id);
630: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST ECODE'||l_entity_code);
631: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST VNUM'||l_version_number);
632: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RTYPE'||l_reason_type);
633: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RCODE'||l_reason_code);
634: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RCOMM'||l_reason_comments);
635: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RETSTAT'||x_return_status);
636: end if;
637: OE_MSG_PUB.Count_And_Get ( p_count => x_msg_count
630: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST ECODE'||l_entity_code);
631: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST VNUM'||l_version_number);
632: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RTYPE'||l_reason_type);
633: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RCODE'||l_reason_code);
634: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RCOMM'||l_reason_comments);
635: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RETSTAT'||x_return_status);
636: end if;
637: OE_MSG_PUB.Count_And_Get ( p_count => x_msg_count
638: , p_data => x_msg_data);
631: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST VNUM'||l_version_number);
632: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RTYPE'||l_reason_type);
633: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RCODE'||l_reason_code);
634: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RCOMM'||l_reason_comments);
635: oe_debug_pub.ADD('Entering OE_NEGOTIATE_WF.LOST RETSTAT'||x_return_status);
636: end if;
637: OE_MSG_PUB.Count_And_Get ( p_count => x_msg_count
638: , p_data => x_msg_data);
639: