DBA Data[Home] [Help]

APPS.OE_INTERNAL_REQUISITION_PVT dependencies on OE_PC_GLOBALS

Line 118: l_result NUMBER := OE_PC_GLOBALS.NO;

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

Line 145: ( p_operation => OE_PC_GLOBALS.UPDATE_OP

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

Line 150: IF l_result = OE_PC_GLOBALS.NO THEN

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

Line 172: ( p_operation => OE_PC_GLOBALS.UPDATE_OP

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

Line 177: IF l_result = OE_PC_GLOBALS.NO THEN

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

Line 203: IF l_result = OE_PC_GLOBALS.NO THEN

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

Line 252: l_result NUMBER := OE_PC_GLOBALS.NO;

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

Line 286: IF l_result = OE_PC_GLOBALS.NO THEN

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

Line 297: ( p_operation => OE_PC_GLOBALS.UPDATE_OP

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

Line 308: , p_operation => OE_PC_Globals.CANCEL_OP

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

Line 310: , p_entity_id => OE_PC_GLOBALS.G_ENTITY_LINE

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

Line 321: IF l_result = OE_PC_GLOBALS.NO THEN

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

Line 361: l_result NUMBER := OE_PC_GLOBALS.NO;

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

Line 384: ( p_operation => OE_PC_GLOBALS.CANCEL_OP

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

Line 388: IF l_result = OE_PC_GLOBALS.NO THEN

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