DBA Data[Home] [Help]

APPS.GML_BATCH_OM_RES_PVT dependencies on GML_BATCH_OM_RES_PVT

Line 1: PACKAGE body GML_BATCH_OM_RES_PVT AS

1: PACKAGE body GML_BATCH_OM_RES_PVT AS
2: /* $Header: GMLORESB.pls 115.33 2004/06/11 20:03:49 nchekuri noship $
3: +=========================================================================+
4: | Copyright (c) 2000 Oracle Corporation |
5: | TVP, Reading, England |

Line 19: API Name : GML_BATCH_OM_RES_PVT

15: | |
16: | HISTORY |
17: | Aug-18-2003 Liping Gao Created |
18: +=========================================================================+
19: API Name : GML_BATCH_OM_RES_PVT
20: Type : Private
21: Function : This package contains Private Utilities procedures used to
22: OPM reservation for a batch.
23: Pre-reqs : N/A

Line 30: G_PKG_NAME CONSTANT VARCHAR2(30):='GML_BATCH_OM_RES_PVT';

26: Current Vers : 1.0
27:
28: */
29:
30: G_PKG_NAME CONSTANT VARCHAR2(30):='GML_BATCH_OM_RES_PVT';
31:
32: PROCEDURE build_trans_rec
33: (
34: p_trans_row IN ic_tran_pnd%rowtype

Line 792: GML_BATCH_OM_RES_PVT.cancel_alloc_for_trans

788: FND_MSG_PUB.Add;
789: RAISE FND_API.G_EXC_ERROR;
790: END IF;
791:
792: GML_BATCH_OM_RES_PVT.cancel_alloc_for_trans
793: (
794: P_Batch_trans_id => l_batch_trans_id
795: , X_return_status => X_return_status
796: , X_msg_cont => X_msg_cont

Line 834: GML_BATCH_OM_RES_PVT.cancel_alloc_for_trans

830: IF p_batch_line_id is not null THEN
831: /* find out the unstaged trans for this batch line */
832: for alloc_rec in find_nonstgd_alloc_for_batch(p_batch_line_id) Loop
833: l_batch_trans_id := alloc_rec.trans_id;
834: GML_BATCH_OM_RES_PVT.cancel_alloc_for_trans
835: (
836: P_Batch_trans_id => l_batch_trans_id
837: , X_return_status => X_return_status
838: , X_msg_cont => X_msg_cont

Line 945: GML_BATCH_OM_RES_PVT.cancel_res_for_batch

941: Remove all outstanding reservations and allocations
942: When batch is in 'WIP, only terminate can occur. Anything completed remians
943: so NO allocations would be removed.
944: */
945: GML_BATCH_OM_RES_PVT.cancel_res_for_batch
946: (
947: P_Batch_id => p_batch_id
948: , X_return_status => x_return_status
949: , X_msg_cont => x_msg_cont

Line 952: /*GML_BATCH_OM_RES_PVT.cancel_alloc_for_batch

948: , X_return_status => x_return_status
949: , X_msg_cont => x_msg_cont
950: , X_msg_data => x_msg_data
951: );
952: /*GML_BATCH_OM_RES_PVT.cancel_alloc_for_batch
953: (
954: P_Batch_id => p_batch_id
955: , X_return_status => x_return_status
956: , X_msg_cont => x_msg_cont

Line 1378: GML_BATCH_OM_RES_PVT.create_allocations

1374: GMI_reservation_Util.PrintLn('regenerate_alloc: no gme_trans');
1375: END IF;
1376: /* set release type = 20, internal use */
1377: l_batch_line_rec.release_type := 20;
1378: GML_BATCH_OM_RES_PVT.create_allocations
1379: (
1380: P_batch_line_rec => l_batch_line_rec
1381: , P_gme_om_rule_rec => l_gme_om_rule_rec
1382: , P_Gme_trans_row => l_gme_trans_row

Line 1398: GML_BATCH_OM_RES_PVT.pick_confirm

1394: /* NC Bug#3470056 Call pick confirm if the flag is set */
1395: IF l_gme_om_rule_rec.auto_pick_confirm = 'Y' THEN
1396: GMI_RESERVATION_UTIL.println('Allocation is successful. Pickconfirm');
1397: /* get the mo line id for the source line */
1398: GML_BATCH_OM_RES_PVT.pick_confirm
1399: (
1400: P_batch_line_rec => l_batch_line_rec
1401: , P_Gme_trans_row => l_gme_trans_row
1402: , X_return_status => x_return_status

Line 1415: GMI_reservation_Util.PrintLn('In Else part after GML_BATCH_OM_RES_PVT.create_allocations returned a status other than success In regenerate_alloc');

1411:
1412: END IF;
1413:
1414: ELSE
1415: GMI_reservation_Util.PrintLn('In Else part after GML_BATCH_OM_RES_PVT.create_allocations returned a status other than success In regenerate_alloc');
1416: GMI_reservation_Util.PrintLn('OM_UTIL, checking rule failure');
1417: FND_MESSAGE.SET_NAME('GMI','GMI_QTY_RSV_NOT_FOUND');
1418: FND_MESSAGE.Set_Token('WHERE', 'Check rules');
1419: FND_MSG_PUB.ADD;

Line 1663: GML_BATCH_OM_RES_PVT.split_reservations

1659: )
1660: IS
1661: BEGIN
1662: x_return_status := FND_API.G_RET_STS_SUCCESS;
1663: GML_BATCH_OM_RES_PVT.split_reservations
1664: ( p_old_delivery_detail_id => null
1665: , p_new_delivery_detail_id => null
1666: , p_old_source_line_id => p_old_source_line_id
1667: , p_new_source_line_id => p_new_source_line_id

Line 1858: END GML_BATCH_OM_RES_PVT;

1854: GMI_RESERVATION_UTIL.println(' STAGED_IND -> ' || p_tran_rec.staged_ind);
1855:
1856: END PRINT_DEBUG;
1857:
1858: END GML_BATCH_OM_RES_PVT;