DBA Data[Home] [Help]

APPS.OE_INTERNAL_REQUISITION_PVT dependencies on OE_PC_GLOBALS

Line 121: l_result NUMBER := OE_PC_GLOBALS.NO;

117: l_line_rowtype_rec OE_AK_ORDER_LINES_V%ROWTYPE;
118: l_attr_update_allowed BOOLEAN := FALSE;
119: l_entity_update_allowed BOOLEAN := FALSE;
120: l_action NUMBER;
121: l_result NUMBER := OE_PC_GLOBALS.NO;
122: --
123: l_debug_level CONSTANT NUMBER := oe_debug_pub.g_debug_level;
124: --
125: Begin

Line 148: ( p_operation => OE_PC_GLOBALS.UPDATE_OP

144: IF l_debug_level > 0 THEN
145: oe_debug_pub.add( ' Checking if update of Request Date is allowed', 5);
146: END IF;
147: l_result := OE_Line_Security.Request_Date -- Is_OP_Constrained
148: ( p_operation => OE_PC_GLOBALS.UPDATE_OP
149: -- , p_column_name => 'REQUEST_DATE'
150: , p_record => l_line_rowtype_rec
151: , x_on_operation_action => l_action );
152:

Line 153: IF l_result = OE_PC_GLOBALS.NO THEN

149: -- , p_column_name => 'REQUEST_DATE'
150: , p_record => l_line_rowtype_rec
151: , x_on_operation_action => l_action );
152:
153: IF l_result = OE_PC_GLOBALS.NO THEN
154: IF l_debug_level > 0 THEN
155: oe_debug_pub.add( ' Update of Request Date is allowed. Action'||l_action,1);
156: END IF;
157: l_attr_update_allowed := TRUE;

Line 175: ( p_operation => OE_PC_GLOBALS.UPDATE_OP

171: oe_debug_pub.add( ' Checking if update of Ordered Quantity is allowed',5);
172: END IF;
173:
174: l_result := OE_Line_Security.Ordered_Quantity --Is_OP_Constrained
175: ( p_operation => OE_PC_GLOBALS.UPDATE_OP
176: -- , p_column_name => 'ORDERED_QUANTITY'
177: , p_record => l_line_rowtype_rec
178: , x_on_operation_action => l_action );
179:

Line 180: IF l_result = OE_PC_GLOBALS.NO THEN

176: -- , p_column_name => 'ORDERED_QUANTITY'
177: , p_record => l_line_rowtype_rec
178: , x_on_operation_action => l_action );
179:
180: IF l_result = OE_PC_GLOBALS.NO THEN
181: IF l_debug_level > 0 THEN
182: oe_debug_pub.add( 'Update of Ordered Quantity is allowed. Action'||l_action,1);
183: END IF;
184: l_attr_Update_Allowed := TRUE;

Line 206: IF l_result = OE_PC_GLOBALS.NO THEN

202: ( p_LINE_rec => l_line_rec
203: , x_result => l_result
204: , x_return_status => l_return_status );
205:
206: IF l_result = OE_PC_GLOBALS.NO THEN
207: IF l_debug_level > 0 THEN
208: oe_debug_pub.add( 'Update is allowed for Entity. Action'||l_action,1);
209: END IF;
210: l_entity_Update_Allowed := TRUE;

Line 255: l_result NUMBER := OE_PC_GLOBALS.NO;

251: ) RETURN BOOLEAN
252: IS
253: --
254: l_line_rec OE_Order_Pub.Line_Rec_Type;
255: l_result NUMBER := OE_PC_GLOBALS.NO;
256: l_rowtype_rec OE_AK_ORDER_LINES_V%ROWTYPE;
257: l_return_status VARCHAR2(1);
258: l_action NUMBER;
259: l_constraint_id NUMBER;

Line 289: IF l_result = OE_PC_GLOBALS.NO THEN

285: ( p_LINE_rec => l_line_rec
286: , x_result => l_result
287: , x_return_status => l_return_status );
288:
289: IF l_result = OE_PC_GLOBALS.NO THEN
290: -- Vaibhav
291: OE_LINE_Util_Ext.API_Rec_To_Rowtype_Rec
292: ( p_LINE_rec => l_line_rec
293: , x_rowtype_rec => l_rowtype_rec);

Line 300: ( p_operation => OE_PC_GLOBALS.UPDATE_OP

296: OE_LINE_SECURITY.g_record := l_rowtype_rec;
297:
298: -- Modified the code for bug 7675256
299: l_result := OE_Line_Security.Ordered_Quantity --Is_OP_Constrained
300: ( p_operation => OE_PC_GLOBALS.UPDATE_OP
301: -- , p_column_name => 'ORDERED_QUANTITY'
302: , p_record => l_rowtype_rec
303: , x_on_operation_action => l_action );
304:

Line 311: , p_operation => OE_PC_Globals.CANCEL_OP

307:
308: l_result := OE_PC_Constraints_Admin_PVT.Is_OP_constrained
309: ( p_responsibility_id => nvl(fnd_global.resp_id, -1)
310: , p_application_id => nvl(fnd_global.resp_appl_id,-1)
311: , p_operation => OE_PC_Globals.CANCEL_OP
312: , p_qualifier_attribute => l_rowtype_rec.transaction_phase_code
313: , p_entity_id => OE_PC_GLOBALS.G_ENTITY_LINE
314: , p_column_name => l_column_name
315: , p_check_all_cols_constraint => 'N' -- g_check_all_cols_constraint ???

Line 313: , p_entity_id => OE_PC_GLOBALS.G_ENTITY_LINE

309: ( p_responsibility_id => nvl(fnd_global.resp_id, -1)
310: , p_application_id => nvl(fnd_global.resp_appl_id,-1)
311: , p_operation => OE_PC_Globals.CANCEL_OP
312: , p_qualifier_attribute => l_rowtype_rec.transaction_phase_code
313: , p_entity_id => OE_PC_GLOBALS.G_ENTITY_LINE
314: , p_column_name => l_column_name
315: , p_check_all_cols_constraint => 'N' -- g_check_all_cols_constraint ???
316: , p_is_caller_defaulting => 'N' -- g_is_caller_defaulting ???
317: , p_use_cached_results => 'Y' -- ???

Line 324: IF l_result = OE_PC_GLOBALS.NO THEN

320: , x_on_operation_action => l_on_operation_action
321: );
322: */
323:
324: IF l_result = OE_PC_GLOBALS.NO THEN
325: IF l_debug_level > 0 THEN
326: oe_debug_pub.add( 'Cancel is allowed for this shipment.',1);
327: END IF;
328: RETURN TRUE;

Line 364: l_result NUMBER := OE_PC_GLOBALS.NO;

360: --
361: l_header_rec OE_Order_Pub.Header_Rec_Type;
362: l_header_rowtype_rec OE_AK_ORDER_HEADERS_V%ROWTYPE;
363: l_action NUMBER;
364: l_result NUMBER := OE_PC_GLOBALS.NO;
365: --
366: l_debug_level CONSTANT NUMBER := oe_debug_pub.g_debug_level;
367: --
368: Begin

Line 387: ( p_operation => OE_PC_GLOBALS.CANCEL_OP

383: -- Initialize security global record
384: OE_Header_SECURITY.g_record := l_header_rowtype_rec;
385:
386: l_result := OE_Header_Security.Is_OP_Constrained
387: ( p_operation => OE_PC_GLOBALS.CANCEL_OP
388: , p_record => l_header_rowtype_rec
389: , x_on_operation_action => l_action );
390:
391: IF l_result = OE_PC_GLOBALS.NO THEN

Line 391: IF l_result = OE_PC_GLOBALS.NO THEN

387: ( p_operation => OE_PC_GLOBALS.CANCEL_OP
388: , p_record => l_header_rowtype_rec
389: , x_on_operation_action => l_action );
390:
391: IF l_result = OE_PC_GLOBALS.NO THEN
392: IF l_debug_level > 0 THEN
393: oe_debug_pub.add( 'Cancel is allowed for this Order. Action'||l_action,1);
394: END IF;
395: RETURN TRUE;