DBA Data[Home] [Help]

APPS.AHL_OSP_ORDERS_PVT dependencies on AHL_OSP_PO_PVT

Line 2940: AHL_OSP_PO_PVT.Create_Purchase_Order

2936: -- Changed by jaramana on January 9, 2008 for the Requisition ER 6034236
2937: ELSIF(p_x_osp_order_rec.status_code = G_OSP_SUBMITTED_STATUS) THEN
2938: -- jaramana End
2939: -- submit for PO creation
2940: AHL_OSP_PO_PVT.Create_Purchase_Order
2941: (
2942: p_api_version => 1.0 ,
2943: p_osp_order_id => p_x_osp_order_rec.osp_order_id,
2944: x_batch_id => l_batch_id,

Line 3018: AHL_OSP_PO_PVT.Is_PO_Closed(p_x_osp_order_rec.po_header_id) = G_NO_FLAG ) THEN

3014: FND_MSG_PUB.ADD;
3015: ELSE --This would mean either po_header_id is not null OR po_req_header_id is not NULL
3016: -- If the status is PO_CREATED, ask PO whether it is closed/cancelled.
3017: IF (l_old_status_code = G_OSP_PO_CREATED_STATUS AND
3018: AHL_OSP_PO_PVT.Is_PO_Closed(p_x_osp_order_rec.po_header_id) = G_NO_FLAG ) THEN
3019: FND_MESSAGE.Set_Name(G_APP_NAME,'AHL_OSP_INV_CL_PO_OPEN');
3020: FND_MSG_PUB.ADD;
3021: END IF;
3022: -- If the status is REQ_CREATED, ask Requisition whether the order can be closed.