DBA Data[Home] [Help]

APPS.GMI_AUTO_ALLOCATE_PUB dependencies on OE_DEBUG_PUB

Line 82: oe_debug_pub.add('OPM allocation engine start',1);

78:
79: /* Standard Start OF API savepoint
80: =================================*/
81: SAVEPOINT allocate_inventory;
82: oe_debug_pub.add('OPM allocation engine start',1);
83:
84: /*Standard call to check for call compatibility.
85: ==============================================*/
86: IF NOT FND_API.Compatible_API_CALL ( l_api_version

Line 112: oe_debug_pub.add('OPM allocation engine validate input parms',1);

108: l_allocation_rec := p_allocation_rec;
109:
110: /*Validate input parameters
111: ==========================*/
112: oe_debug_pub.add('OPM allocation engine validate input parms',1);
113: -- HW BUG#: 2643440 pass ll_allocation_rec as out
114: GMI_VALIDATE_ALLOCATION_PVT.VALIDATE_INPUT_PARMS
115: (p_allocation_rec => l_allocation_rec,
116: x_ic_item_mst_rec => l_ic_item_mst_rec,

Line 137: oe_debug_pub.add('OPM allocation engine check for existing txns',1);

133: /* Check for existing allocations.
134: Auto Allocation cannot proceed where specific allocations already exist
135: since this could lead to manual allocations being overwritten
136: ======================================================================*/
137: oe_debug_pub.add('OPM allocation engine check for existing txns',1);
138: /*IF GMI_ALLOCATE_INVENTORY_PVT.CHECK_EXISTING_ALLOCATIONS
139: (p_doc_id => l_allocation_rec.doc_id,
140: p_line_id => l_allocation_rec.line_id,
141: p_lot_ctl => l_ic_item_mst_rec.lot_ctl,

Line 145: oe_debug_pub.add('OPM allocation exit because allocations exist',1);

141: p_lot_ctl => l_ic_item_mst_rec.lot_ctl,
142: p_item_loct_ctl => l_ic_item_mst_rec.loct_ctl,
143: p_whse_loct_ctl => l_ic_whse_mst_rec.loct_ctl )
144: THEN
145: oe_debug_pub.add('OPM allocation exit because allocations exist',1);
146: FND_MESSAGE.SET_NAME('GML','GML_CANNOT_AUTO_ALLOC');
147: FND_MESSAGE.SET_TOKEN('ITEM_NO', l_ic_item_mst_rec.item_no);
148: FND_MSG_PUB.Add;
149: RAISE FND_API.G_EXC_ERROR;

Line 154: oe_debug_pub.add('OPM allocation main - about to fetch allocation parms',1);

150: END IF;*/
151:
152: /* Retrieve allocation rules defined for this item/customer
153: ==========================================================*/
154: oe_debug_pub.add('OPM allocation main - about to fetch allocation parms',1);
155: -- HW BUG#:2643440 chaged l_allocation_rec to ll_allocation_rec
156: GMI_ALLOCATION_RULES_PVT.GET_ALLOCATION_PARMS
157: ( p_alloc_class => l_ic_item_mst_rec.alloc_class,
158: p_org_id => ll_allocation_rec.org_id,

Line 203: oe_debug_pub.add('OPM allocation engine - now allocate the line',1);

199: END IF;
200:
201: /*Select inventory in accordance with allocation rules
202: =====================================================*/
203: oe_debug_pub.add('OPM allocation engine - now allocate the line',1);
204: -- HW BUG#:2643440 Use ll_allocation_rec instead of l_allocation_rec
205: GMI_ALLOCATE_INVENTORY_PVT.ALLOCATE_LINE
206: ( p_allocation_rec => ll_allocation_rec,
207: p_ic_item_mst => l_ic_item_mst_rec,

Line 225: oe_debug_pub.add('OPM allocation engine - final primary allocation is '|| l_allocated_qty1);

221: THEN
222: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
223: END IF;
224:
225: oe_debug_pub.add('OPM allocation engine - final primary allocation is '|| l_allocated_qty1);
226: x_allocated_qty1 := l_allocated_qty1;
227: x_allocated_qty2 := l_allocated_qty2;
228:
229: /* EXCEPTION HANDLING