DBA Data[Home] [Help]

APPS.OE_PROCESS_REQUISITION_PVT dependencies on PO_RCO_VALIDATION_GRP

Line 638: oe_debug_pub.add( ' Calling PO_RCO_Validation_GRP.Update_ReqCancel_from_SO', 1 ) ;

634: END IF;
635:
636: IF P_Cancel_Order THEN
637: IF l_debug_level > 0 THEN
638: oe_debug_pub.add( ' Calling PO_RCO_Validation_GRP.Update_ReqCancel_from_SO', 1 ) ;
639: oe_debug_pub.add( ' Cancelling Requisition Header', 1 ) ;
640: END IF;
641:
642: select order_number, last_update_date

Line 652: PO_RCO_Validation_GRP.Update_ReqCancel_from_SO

648: -- 'OE_GLOBALS.G_REASON_COMMENTS'
649:
650: SET_ORG_CONTEXT(l_target_org_id);
651:
652: PO_RCO_Validation_GRP.Update_ReqCancel_from_SO
653: ( p_api_version => 1.0
654: , p_req_line_id => NULL -- Header Level Cancellation
655: , p_req_hdr_id => P_Req_Header_id
656: , x_return_status => l_return_status

Line 662: oe_debug_pub.add( ' After PO_RCO_Validation_GRP.Update_ReqCancel_from_SO '||l_return_status, 1 ) ;

658:
659: SET_ORG_CONTEXT(l_original_org_id);
660:
661: IF l_debug_level > 0 THEN
662: oe_debug_pub.add( ' After PO_RCO_Validation_GRP.Update_ReqCancel_from_SO '||l_return_status, 1 ) ;
663: END IF;
664:
665: IF l_return_status = FND_API.G_RET_STS_SUCCESS THEN
666: -- Sales order and corresponding internal requisition has been cancelled

Line 684: oe_debug_pub.add( ' Calling PO_RCO_Validation_GRP.Update_ReqCancel_from_SO', 1 ) ;

680: l_create_notification := TRUE;
681:
682: ELSIF P_Cancel_Line THEN
683: IF l_debug_level > 0 THEN
684: oe_debug_pub.add( ' Calling PO_RCO_Validation_GRP.Update_ReqCancel_from_SO', 1 ) ;
685: oe_debug_pub.add( ' Cancelling Requisition Line', 1 ) ;
686: END IF;
687:
688: select order_number

Line 721: PO_RCO_Validation_GRP.Update_ReqCancel_from_SO

717: -- 'OE_GLOBALS.G_REASON_COMMENTS'
718:
719: SET_ORG_CONTEXT(l_target_org_id);
720:
721: PO_RCO_Validation_GRP.Update_ReqCancel_from_SO
722: ( p_api_version => 1.0
723: , p_req_line_id => P_Req_Line_id
724: , p_req_hdr_id => P_Req_Header_id
725: , x_return_status => l_return_status

Line 731: oe_debug_pub.add( ' After PO_RCO_Validation_GRP.Update_ReqCancel_from_SO '||l_return_status, 5 ) ;

727:
728: SET_ORG_CONTEXT(l_original_org_id);
729:
730: IF l_debug_level > 0 THEN
731: oe_debug_pub.add( ' After PO_RCO_Validation_GRP.Update_ReqCancel_from_SO '||l_return_status, 5 ) ;
732: END IF;
733:
734: IF l_return_status = FND_API.G_RET_STS_SUCCESS THEN
735: -- Sales order and corresponding internal requisition line has been cancelled

Line 863: oe_debug_pub.add( ' Calling PO_RCO_Validation_GRP.Update_ReqChange_from_SO', 1 ) ;

859:
860: IF l_call_po_api_for_update THEN
861:
862: IF l_debug_level > 0 THEN
863: oe_debug_pub.add( ' Calling PO_RCO_Validation_GRP.Update_ReqChange_from_SO', 1 ) ;
864: END IF;
865:
866: SET_ORG_CONTEXT(l_target_org_id);
867:

Line 868: PO_RCO_Validation_GRP.Update_ReqChange_from_SO

864: END IF;
865:
866: SET_ORG_CONTEXT(l_target_org_id);
867:
868: PO_RCO_Validation_GRP.Update_ReqChange_from_SO
869: ( p_api_version => 1.0
870: , p_req_line_id => P_Req_Line_id
871: , p_delta_quantity => P_Quantity_Change
872: , p_new_need_by_date => l_New_Schedule_Arrival_Date -- l_New_Schedule_Ship_Date

Line 879: oe_debug_pub.add( ' After PO_RCO_Validation_GRP.Update_ReqChange_from_SO '||l_return_status, 1);

875:
876: SET_ORG_CONTEXT(l_original_org_id);
877:
878: IF l_debug_level > 0 THEN
879: oe_debug_pub.add( ' After PO_RCO_Validation_GRP.Update_ReqChange_from_SO '||l_return_status, 1);
880: END IF;
881:
882: IF l_return_status = FND_API.G_RET_STS_SUCCESS THEN
883: IF L_change = 'Q' THEN -- Q => Quantity

Line 974: PO_RCO_Validation_GRP.Get_Preparer_Name

970: END IF;
971:
972: SET_ORG_CONTEXT(l_target_org_id);
973:
974: PO_RCO_Validation_GRP.Get_Preparer_Name
975: ( P_API_Version => 1.0
976: , P_Req_Hdr_id => p_req_header_id
977: , x_return_status => l_return_status
978: , x_preparer_name => l_preparer_name -- Notification performer

Line 984: oe_debug_pub.add( ' After PO_RCO_Validation_GRP.Get_Preparer_Name '||l_return_status, 1 ) ;

980:
981: SET_ORG_CONTEXT(l_original_org_id);
982:
983: IF l_debug_level > 0 THEN
984: oe_debug_pub.add( ' After PO_RCO_Validation_GRP.Get_Preparer_Name '||l_return_status, 1 ) ;
985: END IF;
986:
987: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
988: -- Unable to save the changes as the corresponding Internal Requisition can not be updated