DBA Data[Home] [Help]

APPS.OE_OE_FORM_LINE_ADJ dependencies on OE_GLOBALS

Line 214: l_control_rec OE_GLOBALS.Control_Rec_Type;

210: IS
211: l_Line_Adj_rec OE_Order_PUB.Line_Adj_Rec_Type;
212: l_Line_Adj_tbl OE_Order_PUB.Line_Adj_Tbl_Type;
213: l_Line_Adj_val_rec OE_Order_PUB.Line_Adj_Val_Rec_Type;
214: l_control_rec OE_GLOBALS.Control_Rec_Type;
215: l_return_status VARCHAR2(1);
216: l_action_request_tbl OE_Order_PUB.Request_Tbl_Type;
217: l_x_header_rec OE_Order_PUB.Header_Rec_Type;
218: l_x_Header_Adj_rec OE_Order_PUB.Header_Adj_Rec_Type;

Line 252: OE_GLOBALS.G_UI_FLAG := TRUE;

248: oe_debug_pub.add( 'ENTERING OE_OE_FORM_LINE_ADJ.DEFAULT_ATTRIBUTES' , 1 ) ;
249: END IF;
250:
251: -- Set the UI flag
252: OE_GLOBALS.G_UI_FLAG := TRUE;
253:
254: -- Set control flags.
255: l_control_rec.controlled_operation := TRUE;
256: l_control_rec.check_security := TRUE;

Line 328: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_CREATE;

324: */
325:
326:
327: -- Set Operation to Create
328: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_CREATE;
329:
330: -- Populate Line_Adj table
331: l_x_Line_Adj_tbl(1) := l_x_Line_Adj_rec;
332: l_x_old_Line_Adj_tbl(1) := l_x_old_Line_Adj_rec;

Line 489: OE_GLOBALS.G_UI_FLAG := FALSE;

485: ( p_Line_Adj_rec => l_x_Line_Adj_rec
486: );
487:
488: -- Re-set the UI flag to FALSE
489: OE_GLOBALS.G_UI_FLAG := FALSE;
490:
491: -- Set return status.
492:
493: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 510: OE_GLOBALS.G_UI_FLAG := FALSE;

506: EXCEPTION
507:
508: WHEN FND_API.G_EXC_ERROR THEN
509:
510: OE_GLOBALS.G_UI_FLAG := FALSE;
511:
512: x_return_status := FND_API.G_RET_STS_ERROR;
513:
514: -- Get message count and data

Line 523: OE_GLOBALS.G_UI_FLAG := FALSE;

519: );
520:
521: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
522:
523: OE_GLOBALS.G_UI_FLAG := FALSE;
524:
525: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
526:
527: -- Get message count and data

Line 536: OE_GLOBALS.G_UI_FLAG := FALSE;

532: );
533:
534: WHEN OTHERS THEN
535:
536: OE_GLOBALS.G_UI_FLAG := FALSE;
537:
538: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
539:
540: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 765: l_control_rec OE_GLOBALS.Control_Rec_Type;

761: l_request_tbl OE_Order_Pub.Request_Tbl_Type;
762: l_Line_Adj_rec OE_Order_PUB.Line_Adj_Rec_Type;
763: l_Line_Adj_tbl OE_Order_PUB.Line_Adj_Tbl_Type;
764: l_Line_Adj_val_rec OE_Order_PUB.Line_Adj_Val_Rec_Type;
765: l_control_rec OE_GLOBALS.Control_Rec_Type;
766: l_return_status VARCHAR2(1);
767: l_action_request_tbl OE_Order_PUB.Request_Tbl_Type;
768: l_x_header_rec OE_Order_PUB.Header_Rec_Type;
769: l_x_Header_Adj_rec OE_Order_PUB.Header_Adj_Rec_Type;

Line 815: OE_GLOBALS.G_UI_FLAG := TRUE;

811: l_line_rec.line_id := NULL;
812: l_line_id_tbl.delete;
813:
814: -- Set the UI flag
815: OE_GLOBALS.G_UI_FLAG := TRUE;
816:
817: -- Set control flags.
818:
819: l_control_rec.controlled_operation := TRUE;

Line 828: l_control_rec.process_entity := OE_GLOBALS.G_ENTITY_LINE_ADJ;

824:
825: l_control_rec.validate_entity := FALSE;
826: l_control_rec.write_to_DB := FALSE;
827: l_control_rec.process := FALSE;
828: l_control_rec.process_entity := OE_GLOBALS.G_ENTITY_LINE_ADJ;
829:
830: -- Instruct API to retain its caches
831:
832: l_control_rec.clear_api_cache := FALSE;

Line 1086: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_UPDATE;

1082:
1083: -- Set Operation.
1084:
1085: IF FND_API.To_Boolean(l_x_Line_Adj_rec.db_flag) THEN
1086: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
1087: ELSE
1088: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_CREATE;
1089: END IF;
1090:

Line 1088: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_CREATE;

1084:
1085: IF FND_API.To_Boolean(l_x_Line_Adj_rec.db_flag) THEN
1086: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
1087: ELSE
1088: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_CREATE;
1089: END IF;
1090:
1091: --Bug 1790502
1092: --For cascading adjustments to service lines

Line 1310: (p_request_type => OE_GLOBALS.G_CHECK_DUPLICATE

1306: RAISE FND_API.G_EXC_ERROR;
1307: END IF;
1308:
1309: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Reqtype
1310: (p_request_type => OE_GLOBALS.G_CHECK_DUPLICATE
1311: ,p_delete => FND_API.G_TRUE
1312: ,x_return_status => l_return_status
1313: );
1314: IF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 1321: (p_request_type => OE_GLOBALS.G_CHECK_FIXED_PRICE

1317: RAISE FND_API.G_EXC_ERROR;
1318: END IF;
1319:
1320: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Reqtype
1321: (p_request_type => OE_GLOBALS.G_CHECK_FIXED_PRICE
1322: ,p_delete => FND_API.G_TRUE
1323: ,x_return_status => l_return_status
1324: );
1325: IF p_enforce_fixed_price = 'YES' THEN

Line 1428: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.adjusted_amount, l_Line_Adj_rec.adjusted_amount)

1424: );
1425:
1426: -- New Column changes
1427:
1428: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.adjusted_amount, l_Line_Adj_rec.adjusted_amount)
1429: THEN
1430: x_adjusted_amount := l_x_Line_Adj_rec.adjusted_amount;
1431: END IF;
1432:

Line 1433: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.pricing_phase_id, l_Line_Adj_rec.pricing_phase_id)

1429: THEN
1430: x_adjusted_amount := l_x_Line_Adj_rec.adjusted_amount;
1431: END IF;
1432:
1433: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.pricing_phase_id, l_Line_Adj_rec.pricing_phase_id)
1434: THEN
1435: x_pricing_phase_id := l_x_Line_Adj_rec.pricing_phase_id;
1436: END IF;
1437:

Line 1438: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.list_line_no, l_Line_Adj_rec.list_line_no)

1434: THEN
1435: x_pricing_phase_id := l_x_Line_Adj_rec.pricing_phase_id;
1436: END IF;
1437:
1438: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.list_line_no, l_Line_Adj_rec.list_line_no)
1439: THEN
1440: x_list_line_no := l_x_Line_Adj_rec.list_line_no;
1441: END IF;
1442:

Line 1443: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.source_system_code, l_Line_Adj_rec.source_system_code)

1439: THEN
1440: x_list_line_no := l_x_Line_Adj_rec.list_line_no;
1441: END IF;
1442:
1443: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.source_system_code, l_Line_Adj_rec.source_system_code)
1444: THEN
1445: x_source_system_code := l_x_Line_Adj_rec.source_system_code;
1446: END IF;
1447:

Line 1448: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.benefit_qty, l_Line_Adj_rec.benefit_qty)

1444: THEN
1445: x_source_system_code := l_x_Line_Adj_rec.source_system_code;
1446: END IF;
1447:
1448: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.benefit_qty, l_Line_Adj_rec.benefit_qty)
1449: THEN
1450: x_benefit_qty := l_x_Line_Adj_rec.benefit_qty;
1451: END IF;
1452:

Line 1453: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.benefit_uom_code, l_Line_Adj_rec.benefit_uom_code)

1449: THEN
1450: x_benefit_qty := l_x_Line_Adj_rec.benefit_qty;
1451: END IF;
1452:
1453: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.benefit_uom_code, l_Line_Adj_rec.benefit_uom_code)
1454: THEN
1455: x_benefit_uom_code := l_x_Line_Adj_rec.benefit_uom_code;
1456: END IF;
1457:

Line 1458: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.print_on_invoice_flag, l_Line_Adj_rec.print_on_invoice_flag)

1454: THEN
1455: x_benefit_uom_code := l_x_Line_Adj_rec.benefit_uom_code;
1456: END IF;
1457:
1458: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.print_on_invoice_flag, l_Line_Adj_rec.print_on_invoice_flag)
1459: THEN
1460: x_print_on_invoice_flag := l_x_Line_Adj_rec.print_on_invoice_flag;
1461: END IF;
1462:

Line 1463: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.expiration_date, l_Line_Adj_rec.expiration_date)

1459: THEN
1460: x_print_on_invoice_flag := l_x_Line_Adj_rec.print_on_invoice_flag;
1461: END IF;
1462:
1463: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.expiration_date, l_Line_Adj_rec.expiration_date)
1464: THEN
1465: x_expiration_date := l_x_Line_Adj_rec.expiration_date;
1466: END IF;
1467:

Line 1468: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.rebate_transaction_type_code, l_Line_Adj_rec.rebate_transaction_type_code)

1464: THEN
1465: x_expiration_date := l_x_Line_Adj_rec.expiration_date;
1466: END IF;
1467:
1468: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.rebate_transaction_type_code, l_Line_Adj_rec.rebate_transaction_type_code)
1469: THEN
1470: x_rebate_transaction_type_code := l_x_Line_Adj_rec.rebate_transaction_type_code;
1471: END IF;
1472:

Line 1473: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.rebate_transaction_reference, l_Line_Adj_rec.rebate_transaction_reference)

1469: THEN
1470: x_rebate_transaction_type_code := l_x_Line_Adj_rec.rebate_transaction_type_code;
1471: END IF;
1472:
1473: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.rebate_transaction_reference, l_Line_Adj_rec.rebate_transaction_reference)
1474: THEN
1475: x_rebate_transaction_reference := l_x_Line_Adj_rec.rebate_transaction_reference;
1476: END IF;
1477:

Line 1478: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.rebate_payment_system_code, l_Line_Adj_rec.rebate_payment_system_code)

1474: THEN
1475: x_rebate_transaction_reference := l_x_Line_Adj_rec.rebate_transaction_reference;
1476: END IF;
1477:
1478: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.rebate_payment_system_code, l_Line_Adj_rec.rebate_payment_system_code)
1479: THEN
1480: x_rebate_payment_system_code := l_x_Line_Adj_rec.rebate_payment_system_code;
1481: END IF;
1482:

Line 1483: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.redeemed_date, l_Line_Adj_rec.redeemed_date)

1479: THEN
1480: x_rebate_payment_system_code := l_x_Line_Adj_rec.rebate_payment_system_code;
1481: END IF;
1482:
1483: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.redeemed_date, l_Line_Adj_rec.redeemed_date)
1484: THEN
1485: x_redeemed_date := l_x_Line_Adj_rec.redeemed_date;
1486: END IF;
1487:

Line 1488: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.redeemed_flag, l_Line_Adj_rec.redeemed_flag)

1484: THEN
1485: x_redeemed_date := l_x_Line_Adj_rec.redeemed_date;
1486: END IF;
1487:
1488: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.redeemed_flag, l_Line_Adj_rec.redeemed_flag)
1489: THEN
1490: x_redeemed_flag := l_x_Line_Adj_rec.redeemed_flag;
1491: END IF;
1492:

Line 1493: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.accrual_flag, l_Line_Adj_rec.accrual_flag)

1489: THEN
1490: x_redeemed_flag := l_x_Line_Adj_rec.redeemed_flag;
1491: END IF;
1492:
1493: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.accrual_flag, l_Line_Adj_rec.accrual_flag)
1494: THEN
1495: x_accrual_flag := l_x_Line_Adj_rec.accrual_flag;
1496: END IF;
1497:

Line 1498: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.list_header_id, l_Line_Adj_rec.list_header_id)

1494: THEN
1495: x_accrual_flag := l_x_Line_Adj_rec.accrual_flag;
1496: END IF;
1497:
1498: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.list_header_id, l_Line_Adj_rec.list_header_id)
1499: THEN
1500: x_list_header_id := l_x_Line_Adj_rec.list_header_id;
1501: END IF;
1502:

Line 1503: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.list_line_id,l_Line_Adj_rec.list_line_id)

1499: THEN
1500: x_list_header_id := l_x_Line_Adj_rec.list_header_id;
1501: END IF;
1502:
1503: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.list_line_id,l_Line_Adj_rec.list_line_id)
1504: THEN
1505: x_list_line_id := l_x_Line_Adj_rec.list_line_id;
1506: END IF;
1507:

Line 1508: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.list_line_type_code,

1504: THEN
1505: x_list_line_id := l_x_Line_Adj_rec.list_line_id;
1506: END IF;
1507:
1508: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.list_line_type_code,
1509: l_Line_Adj_rec.list_line_type_code)
1510: THEN
1511: x_list_line_type_code := l_x_Line_Adj_rec.list_line_type_code;
1512: END IF;

Line 1514: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.modifier_mechanism_type_code,

1510: THEN
1511: x_list_line_type_code := l_x_Line_Adj_rec.list_line_type_code;
1512: END IF;
1513:
1514: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.modifier_mechanism_type_code,
1515: l_Line_Adj_rec.modifier_mechanism_type_code)
1516: THEN
1517: x_modifier_mechanism_type_code :=
1518: l_x_Line_Adj_rec.modifier_mechanism_type_code;

Line 1521: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.update_allowed,

1517: x_modifier_mechanism_type_code :=
1518: l_x_Line_Adj_rec.modifier_mechanism_type_code;
1519: END IF;
1520:
1521: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.update_allowed,
1522: l_Line_Adj_rec.update_allowed)
1523: THEN
1524: x_update_allowed := l_x_Line_Adj_rec.update_allowed;
1525: END IF;

Line 1527: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.updated_flag, l_Line_Adj_rec.updated_flag)

1523: THEN
1524: x_update_allowed := l_x_Line_Adj_rec.update_allowed;
1525: END IF;
1526:
1527: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.updated_flag, l_Line_Adj_rec.updated_flag)
1528: THEN
1529: x_updated_flag := l_x_Line_Adj_rec.updated_flag;
1530: END IF;
1531:

Line 1532: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.modified_from, l_Line_Adj_rec.modified_from)

1528: THEN
1529: x_updated_flag := l_x_Line_Adj_rec.updated_flag;
1530: END IF;
1531:
1532: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.modified_from, l_Line_Adj_rec.modified_from)
1533: THEN
1534: x_modified_from := l_x_Line_Adj_rec.modified_from;
1535: END IF;
1536:

Line 1537: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.modified_to, l_Line_Adj_rec.modified_to)

1533: THEN
1534: x_modified_from := l_x_Line_Adj_rec.modified_from;
1535: END IF;
1536:
1537: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.modified_to, l_Line_Adj_rec.modified_to)
1538: THEN
1539: x_modified_to := l_x_Line_Adj_rec.modified_to;
1540: END IF;
1541:

Line 1542: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.applied_flag, l_Line_Adj_rec.applied_flag)

1538: THEN
1539: x_modified_to := l_x_Line_Adj_rec.modified_to;
1540: END IF;
1541:
1542: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.applied_flag, l_Line_Adj_rec.applied_flag)
1543: THEN
1544: x_applied_flag := l_x_Line_Adj_rec.applied_flag;
1545: END IF;
1546:

Line 1547: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.change_reason_code, l_Line_Adj_rec.change_reason_code)

1543: THEN
1544: x_applied_flag := l_x_Line_Adj_rec.applied_flag;
1545: END IF;
1546:
1547: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.change_reason_code, l_Line_Adj_rec.change_reason_code)
1548: THEN
1549: x_change_reason_code := l_x_Line_Adj_rec.change_reason_code;
1550: END IF;
1551:

Line 1552: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.change_reason_text, l_Line_Adj_rec.change_reason_text)

1548: THEN
1549: x_change_reason_code := l_x_Line_Adj_rec.change_reason_code;
1550: END IF;
1551:
1552: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.change_reason_text, l_Line_Adj_rec.change_reason_text)
1553: THEN
1554: x_change_reason_text := l_x_Line_Adj_rec.change_reason_text;
1555: END IF;
1556: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.operand, l_Line_Adj_rec.operand)

Line 1556: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.operand, l_Line_Adj_rec.operand)

1552: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.change_reason_text, l_Line_Adj_rec.change_reason_text)
1553: THEN
1554: x_change_reason_text := l_x_Line_Adj_rec.change_reason_text;
1555: END IF;
1556: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.operand, l_Line_Adj_rec.operand)
1557: THEN
1558: x_operand := l_x_Line_Adj_rec.operand;
1559: END IF;
1560: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.arithmetic_operator, l_Line_Adj_rec.arithmetic_operator)

Line 1560: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.arithmetic_operator, l_Line_Adj_rec.arithmetic_operator)

1556: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.operand, l_Line_Adj_rec.operand)
1557: THEN
1558: x_operand := l_x_Line_Adj_rec.operand;
1559: END IF;
1560: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.arithmetic_operator, l_Line_Adj_rec.arithmetic_operator)
1561: THEN
1562: x_arithmetic_operator := l_x_Line_Adj_rec.arithmetic_operator;
1563: END IF;
1564:

Line 1568: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute1,

1564:
1565:
1566: -- Return changed attributes.
1567:
1568: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute1,
1569: l_Line_Adj_rec.attribute1)
1570: THEN
1571: x_attribute1 := l_x_Line_Adj_rec.attribute1;
1572: END IF;

Line 1574: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute10,

1570: THEN
1571: x_attribute1 := l_x_Line_Adj_rec.attribute1;
1572: END IF;
1573:
1574: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute10,
1575: l_Line_Adj_rec.attribute10)
1576: THEN
1577: x_attribute10 := l_x_Line_Adj_rec.attribute10;
1578: END IF;

Line 1580: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute11,

1576: THEN
1577: x_attribute10 := l_x_Line_Adj_rec.attribute10;
1578: END IF;
1579:
1580: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute11,
1581: l_Line_Adj_rec.attribute11)
1582: THEN
1583: x_attribute11 := l_x_Line_Adj_rec.attribute11;
1584: END IF;

Line 1586: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute12,

1582: THEN
1583: x_attribute11 := l_x_Line_Adj_rec.attribute11;
1584: END IF;
1585:
1586: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute12,
1587: l_Line_Adj_rec.attribute12)
1588: THEN
1589: x_attribute12 := l_x_Line_Adj_rec.attribute12;
1590: END IF;

Line 1592: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute13,

1588: THEN
1589: x_attribute12 := l_x_Line_Adj_rec.attribute12;
1590: END IF;
1591:
1592: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute13,
1593: l_Line_Adj_rec.attribute13)
1594: THEN
1595: x_attribute13 := l_x_Line_Adj_rec.attribute13;
1596: END IF;

Line 1598: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute14,

1594: THEN
1595: x_attribute13 := l_x_Line_Adj_rec.attribute13;
1596: END IF;
1597:
1598: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute14,
1599: l_Line_Adj_rec.attribute14)
1600: THEN
1601: x_attribute14 := l_x_Line_Adj_rec.attribute14;
1602: END IF;

Line 1604: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute15,

1600: THEN
1601: x_attribute14 := l_x_Line_Adj_rec.attribute14;
1602: END IF;
1603:
1604: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute15,
1605: l_Line_Adj_rec.attribute15)
1606: THEN
1607: x_attribute15 := l_x_Line_Adj_rec.attribute15;
1608: END IF;

Line 1610: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute2,

1606: THEN
1607: x_attribute15 := l_x_Line_Adj_rec.attribute15;
1608: END IF;
1609:
1610: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute2,
1611: l_Line_Adj_rec.attribute2)
1612: THEN
1613: x_attribute2 := l_x_Line_Adj_rec.attribute2;
1614: END IF;

Line 1616: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute3,

1612: THEN
1613: x_attribute2 := l_x_Line_Adj_rec.attribute2;
1614: END IF;
1615:
1616: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute3,
1617: l_Line_Adj_rec.attribute3)
1618: THEN
1619: x_attribute3 := l_x_Line_Adj_rec.attribute3;
1620: END IF;

Line 1622: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute4,

1618: THEN
1619: x_attribute3 := l_x_Line_Adj_rec.attribute3;
1620: END IF;
1621:
1622: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute4,
1623: l_Line_Adj_rec.attribute4)
1624: THEN
1625: x_attribute4 := l_x_Line_Adj_rec.attribute4;
1626: END IF;

Line 1628: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute5,

1624: THEN
1625: x_attribute4 := l_x_Line_Adj_rec.attribute4;
1626: END IF;
1627:
1628: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute5,
1629: l_Line_Adj_rec.attribute5)
1630: THEN
1631: x_attribute5 := l_x_Line_Adj_rec.attribute5;
1632: END IF;

Line 1634: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute6,

1630: THEN
1631: x_attribute5 := l_x_Line_Adj_rec.attribute5;
1632: END IF;
1633:
1634: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute6,
1635: l_Line_Adj_rec.attribute6)
1636: THEN
1637: x_attribute6 := l_x_Line_Adj_rec.attribute6;
1638: END IF;

Line 1640: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute7,

1636: THEN
1637: x_attribute6 := l_x_Line_Adj_rec.attribute6;
1638: END IF;
1639:
1640: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute7,
1641: l_Line_Adj_rec.attribute7)
1642: THEN
1643: x_attribute7 := l_x_Line_Adj_rec.attribute7;
1644: END IF;

Line 1646: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute8,

1642: THEN
1643: x_attribute7 := l_x_Line_Adj_rec.attribute7;
1644: END IF;
1645:
1646: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute8,
1647: l_Line_Adj_rec.attribute8)
1648: THEN
1649: x_attribute8 := l_x_Line_Adj_rec.attribute8;
1650: END IF;

Line 1652: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute9,

1648: THEN
1649: x_attribute8 := l_x_Line_Adj_rec.attribute8;
1650: END IF;
1651:
1652: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.attribute9,
1653: l_Line_Adj_rec.attribute9)
1654: THEN
1655: x_attribute9 := l_x_Line_Adj_rec.attribute9;
1656: END IF;

Line 1658: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.automatic_flag,

1654: THEN
1655: x_attribute9 := l_x_Line_Adj_rec.attribute9;
1656: END IF;
1657:
1658: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.automatic_flag,
1659: l_Line_Adj_rec.automatic_flag)
1660: THEN
1661: x_automatic_flag := l_x_Line_Adj_rec.automatic_flag;
1662: END IF;

Line 1664: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.context,

1660: THEN
1661: x_automatic_flag := l_x_Line_Adj_rec.automatic_flag;
1662: END IF;
1663:
1664: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.context,
1665: l_Line_Adj_rec.context)
1666: THEN
1667: x_context := l_x_Line_Adj_rec.context;
1668: END IF;

Line 1670: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.discount_id,

1666: THEN
1667: x_context := l_x_Line_Adj_rec.context;
1668: END IF;
1669:
1670: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.discount_id,
1671: l_Line_Adj_rec.discount_id)
1672: THEN
1673: x_discount_id := l_x_Line_Adj_rec.discount_id;
1674: x_discount := l_Line_Adj_val_rec.discount;

Line 1677: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.discount_line_id,

1673: x_discount_id := l_x_Line_Adj_rec.discount_id;
1674: x_discount := l_Line_Adj_val_rec.discount;
1675: END IF;
1676:
1677: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.discount_line_id,
1678: l_Line_Adj_rec.discount_line_id)
1679: THEN
1680: x_discount_line_id := l_x_Line_Adj_rec.discount_line_id;
1681: END IF;

Line 1683: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.header_id,

1679: THEN
1680: x_discount_line_id := l_x_Line_Adj_rec.discount_line_id;
1681: END IF;
1682:
1683: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.header_id,
1684: l_Line_Adj_rec.header_id)
1685: THEN
1686: x_header_id := l_x_Line_Adj_rec.header_id;
1687: END IF;

Line 1689: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.line_id,

1685: THEN
1686: x_header_id := l_x_Line_Adj_rec.header_id;
1687: END IF;
1688:
1689: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.line_id,
1690: l_Line_Adj_rec.line_id)
1691: THEN
1692: x_line_id := l_x_Line_Adj_rec.line_id;
1693: END IF;

Line 1695: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.percent,

1691: THEN
1692: x_line_id := l_x_Line_Adj_rec.line_id;
1693: END IF;
1694:
1695: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.percent,
1696: l_Line_Adj_rec.percent)
1697: THEN
1698: x_percent := l_x_Line_Adj_rec.percent;
1699: END IF;

Line 1701: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.price_adjustment_id,

1697: THEN
1698: x_percent := l_x_Line_Adj_rec.percent;
1699: END IF;
1700:
1701: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.price_adjustment_id,
1702: l_Line_Adj_rec.price_adjustment_id)
1703: THEN
1704: x_price_adjustment_id := l_x_Line_Adj_rec.price_adjustment_id;
1705: END IF;

Line 1707: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.invoiced_flag,

1703: THEN
1704: x_price_adjustment_id := l_x_Line_Adj_rec.price_adjustment_id;
1705: END IF;
1706:
1707: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.invoiced_flag,
1708: l_Line_Adj_rec.invoiced_flag)
1709: THEN
1710: x_invoiced_flag := l_x_Line_Adj_rec.invoiced_flag;
1711: END IF;

Line 1713: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.estimated_flag,

1709: THEN
1710: x_invoiced_flag := l_x_Line_Adj_rec.invoiced_flag;
1711: END IF;
1712:
1713: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.estimated_flag,
1714: l_Line_Adj_rec.estimated_flag)
1715: THEN
1716: x_estimated_flag := l_x_Line_Adj_rec.estimated_flag;
1717: END IF;

Line 1719: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.charge_type_code,

1715: THEN
1716: x_estimated_flag := l_x_Line_Adj_rec.estimated_flag;
1717: END IF;
1718:
1719: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.charge_type_code,
1720: l_Line_Adj_rec.charge_type_code)
1721: THEN
1722: x_charge_type_code := l_x_Line_Adj_rec.charge_type_code;
1723: END IF;

Line 1725: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.charge_subtype_code,

1721: THEN
1722: x_charge_type_code := l_x_Line_Adj_rec.charge_type_code;
1723: END IF;
1724:
1725: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.charge_subtype_code,
1726: l_Line_Adj_rec.charge_subtype_code)
1727: THEN
1728: x_charge_subtype_code := l_x_Line_Adj_rec.charge_subtype_code;
1729: END IF;

Line 1731: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.credit_or_charge_flag,

1727: THEN
1728: x_charge_subtype_code := l_x_Line_Adj_rec.charge_subtype_code;
1729: END IF;
1730:
1731: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.credit_or_charge_flag,
1732: l_Line_Adj_rec.credit_or_charge_flag)
1733: THEN
1734: x_credit_or_charge_flag := l_x_Line_Adj_rec.credit_or_charge_flag;
1735: END IF;

Line 1737: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.include_on_returns_flag,

1733: THEN
1734: x_credit_or_charge_flag := l_x_Line_Adj_rec.credit_or_charge_flag;
1735: END IF;
1736:
1737: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.include_on_returns_flag,
1738: l_Line_Adj_rec.include_on_returns_flag)
1739: THEN
1740: x_include_on_returns_flag := l_x_Line_Adj_rec.include_on_returns_flag;
1741: END IF;

Line 1743: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute1,

1739: THEN
1740: x_include_on_returns_flag := l_x_Line_Adj_rec.include_on_returns_flag;
1741: END IF;
1742:
1743: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute1,
1744: l_Line_Adj_rec.ac_attribute1)
1745: THEN
1746: x_ac_attribute1 := l_x_Line_Adj_rec.ac_attribute1;
1747: END IF;

Line 1749: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute10,

1745: THEN
1746: x_ac_attribute1 := l_x_Line_Adj_rec.ac_attribute1;
1747: END IF;
1748:
1749: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute10,
1750: l_Line_Adj_rec.ac_attribute10)
1751: THEN
1752: x_ac_attribute10 := l_x_Line_Adj_rec.ac_attribute10;
1753: END IF;

Line 1755: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute11,

1751: THEN
1752: x_ac_attribute10 := l_x_Line_Adj_rec.ac_attribute10;
1753: END IF;
1754:
1755: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute11,
1756: l_Line_Adj_rec.ac_attribute11)
1757: THEN
1758: x_ac_attribute11 := l_x_Line_Adj_rec.ac_attribute11;
1759: END IF;

Line 1761: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute12,

1757: THEN
1758: x_ac_attribute11 := l_x_Line_Adj_rec.ac_attribute11;
1759: END IF;
1760:
1761: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute12,
1762: l_Line_Adj_rec.ac_attribute12)
1763: THEN
1764: x_ac_attribute12 := l_x_Line_Adj_rec.ac_attribute12;
1765: END IF;

Line 1767: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute13,

1763: THEN
1764: x_ac_attribute12 := l_x_Line_Adj_rec.ac_attribute12;
1765: END IF;
1766:
1767: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute13,
1768: l_Line_Adj_rec.ac_attribute13)
1769: THEN
1770: x_ac_attribute13 := l_x_Line_Adj_rec.ac_attribute13;
1771: END IF;

Line 1773: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute14,

1769: THEN
1770: x_ac_attribute13 := l_x_Line_Adj_rec.ac_attribute13;
1771: END IF;
1772:
1773: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute14,
1774: l_Line_Adj_rec.ac_attribute14)
1775: THEN
1776: x_ac_attribute14 := l_x_Line_Adj_rec.ac_attribute14;
1777: END IF;

Line 1779: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute15,

1775: THEN
1776: x_ac_attribute14 := l_x_Line_Adj_rec.ac_attribute14;
1777: END IF;
1778:
1779: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute15,
1780: l_Line_Adj_rec.ac_attribute15)
1781: THEN
1782: x_ac_attribute15 := l_x_Line_Adj_rec.ac_attribute15;
1783: END IF;

Line 1785: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute2,

1781: THEN
1782: x_ac_attribute15 := l_x_Line_Adj_rec.ac_attribute15;
1783: END IF;
1784:
1785: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute2,
1786: l_Line_Adj_rec.ac_attribute2)
1787: THEN
1788: x_ac_attribute2 := l_x_Line_Adj_rec.ac_attribute2;
1789: END IF;

Line 1791: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute3,

1787: THEN
1788: x_ac_attribute2 := l_x_Line_Adj_rec.ac_attribute2;
1789: END IF;
1790:
1791: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute3,
1792: l_Line_Adj_rec.ac_attribute3)
1793: THEN
1794: x_ac_attribute3 := l_x_Line_Adj_rec.ac_attribute3;
1795: END IF;

Line 1797: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute4,

1793: THEN
1794: x_ac_attribute3 := l_x_Line_Adj_rec.ac_attribute3;
1795: END IF;
1796:
1797: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute4,
1798: l_Line_Adj_rec.ac_attribute4)
1799: THEN
1800: x_ac_attribute4 := l_x_Line_Adj_rec.ac_attribute4;
1801: END IF;

Line 1803: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute5,

1799: THEN
1800: x_ac_attribute4 := l_x_Line_Adj_rec.ac_attribute4;
1801: END IF;
1802:
1803: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute5,
1804: l_Line_Adj_rec.ac_attribute5)
1805: THEN
1806: x_ac_attribute5 := l_x_Line_Adj_rec.ac_attribute5;
1807: END IF;

Line 1809: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute6,

1805: THEN
1806: x_ac_attribute5 := l_x_Line_Adj_rec.ac_attribute5;
1807: END IF;
1808:
1809: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute6,
1810: l_Line_Adj_rec.ac_attribute6)
1811: THEN
1812: x_ac_attribute6 := l_x_Line_Adj_rec.ac_attribute6;
1813: END IF;

Line 1815: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute7,

1811: THEN
1812: x_ac_attribute6 := l_x_Line_Adj_rec.ac_attribute6;
1813: END IF;
1814:
1815: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute7,
1816: l_Line_Adj_rec.ac_attribute7)
1817: THEN
1818: x_ac_attribute7 := l_x_Line_Adj_rec.ac_attribute7;
1819: END IF;

Line 1821: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute8,

1817: THEN
1818: x_ac_attribute7 := l_x_Line_Adj_rec.ac_attribute7;
1819: END IF;
1820:
1821: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute8,
1822: l_Line_Adj_rec.ac_attribute8)
1823: THEN
1824: x_ac_attribute8 := l_x_Line_Adj_rec.ac_attribute8;
1825: END IF;

Line 1827: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute9,

1823: THEN
1824: x_ac_attribute8 := l_x_Line_Adj_rec.ac_attribute8;
1825: END IF;
1826:
1827: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_attribute9,
1828: l_Line_Adj_rec.ac_attribute9)
1829: THEN
1830: x_ac_attribute9 := l_x_Line_Adj_rec.ac_attribute9;
1831: END IF;

Line 1833: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_context,

1829: THEN
1830: x_ac_attribute9 := l_x_Line_Adj_rec.ac_attribute9;
1831: END IF;
1832:
1833: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.ac_context,
1834: l_Line_Adj_rec.ac_context)
1835: THEN
1836: x_ac_context := l_x_Line_Adj_rec.ac_context;
1837: END IF;

Line 1839: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.operand_per_pqty,

1835: THEN
1836: x_ac_context := l_x_Line_Adj_rec.ac_context;
1837: END IF;
1838: --uom begin
1839: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.operand_per_pqty,
1840: l_Line_Adj_rec.operand_per_pqty)
1841: THEN
1842: x_operand_per_pqty := l_x_Line_Adj_rec.operand_per_pqty;
1843: END IF;

Line 1845: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.adjusted_amount_per_pqty,

1841: THEN
1842: x_operand_per_pqty := l_x_Line_Adj_rec.operand_per_pqty;
1843: END IF;
1844:
1845: IF NOT OE_GLOBALS.Equal(l_x_Line_Adj_rec.adjusted_amount_per_pqty,
1846: l_Line_Adj_rec.adjusted_amount_per_pqty)
1847: THEN
1848: x_adjusted_amount_per_pqty := l_x_Line_Adj_rec.adjusted_amount_per_pqty;
1849: END IF;

Line 1861: OE_GLOBALS.G_UI_FLAG := FALSE;

1857: ( p_Line_Adj_rec => l_x_Line_Adj_rec
1858: );
1859:
1860: -- Re-set the UI flag to FALSE
1861: OE_GLOBALS.G_UI_FLAG := FALSE;
1862:
1863: -- Set return status.
1864:
1865: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 1882: OE_GLOBALS.G_UI_FLAG := FALSE;

1878: EXCEPTION
1879:
1880: WHEN FND_API.G_EXC_ERROR THEN
1881:
1882: OE_GLOBALS.G_UI_FLAG := FALSE;
1883:
1884: x_return_status := FND_API.G_RET_STS_ERROR;
1885:
1886: -- Get message count and data

Line 1897: OE_GLOBALS.G_UI_FLAG := FALSE;

1893: ROLLBACK TO SAVEPOINT change_attributes;
1894:
1895: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1896:
1897: OE_GLOBALS.G_UI_FLAG := FALSE;
1898:
1899: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1900:
1901: -- Get message count and data

Line 1912: OE_GLOBALS.G_UI_FLAG := FALSE;

1908: ROLLBACK TO SAVEPOINT change_attributes;
1909:
1910: WHEN OTHERS THEN
1911:
1912: OE_GLOBALS.G_UI_FLAG := FALSE;
1913:
1914: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1915:
1916: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 1978: l_control_rec OE_GLOBALS.Control_Rec_Type;

1974: l_Line_Adj_rec OE_Order_PUB.Line_Adj_Rec_Type;
1975: l_x_old_Line_Adj_rec OE_Order_PUB.Line_Adj_Rec_Type;
1976: l_Line_Adj_tbl OE_Order_PUB.Line_Adj_Tbl_Type;
1977: l_x_old_Line_Adj_tbl OE_Order_PUB.Line_Adj_Tbl_Type;
1978: l_control_rec OE_GLOBALS.Control_Rec_Type;
1979: l_return_status VARCHAR2(1);
1980: l_action_request_tbl OE_Order_PUB.Request_Tbl_Type;
1981: l_x_header_rec OE_Order_PUB.Header_Rec_Type;
1982: l_x_Header_Adj_rec OE_Order_PUB.Header_Adj_Rec_Type;

Line 2016: OE_GLOBALS.G_UI_FLAG := TRUE;

2012: oe_debug_pub.add( 'ENTERING OE_OE_FORM_LINE_ADJ.VALIDATE_AND_WRITE' , 1 ) ;
2013: END IF;
2014:
2015: -- Set the UI flag
2016: OE_GLOBALS.G_UI_FLAG := TRUE;
2017:
2018: -- Set control flags.
2019: l_control_rec.controlled_operation := TRUE;
2020: l_control_rec.validate_entity := TRUE;

Line 2028: l_control_rec.process_entity := OE_GLOBALS.G_ENTITY_LINE_ADJ;

2024: l_control_rec.clear_dependents := FALSE;
2025: l_control_rec.default_attributes := FALSE;
2026: l_control_rec.change_attributes := FALSE;
2027: l_control_rec.process := FALSE;
2028: l_control_rec.process_entity := OE_GLOBALS.G_ENTITY_LINE_ADJ;
2029:
2030:
2031: -- Instruct API to retain its caches
2032: l_control_rec.clear_api_cache := FALSE;

Line 2058: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_UPDATE;

2054:
2055: -- Set Operation.
2056: -- IF FND_API.To_Boolean(l_Line_Adj_rec.db_flag) THEN
2057: IF FND_API.To_Boolean(l_x_Line_Adj_rec.db_flag) THEN
2058: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
2059: ELSE
2060: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_CREATE;
2061: END IF;
2062:

Line 2060: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_CREATE;

2056: -- IF FND_API.To_Boolean(l_Line_Adj_rec.db_flag) THEN
2057: IF FND_API.To_Boolean(l_x_Line_Adj_rec.db_flag) THEN
2058: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
2059: ELSE
2060: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_CREATE;
2061: END IF;
2062:
2063:
2064:

Line 2070: l_request_rec.entity_code:= OE_GLOBALS.G_ENTITY_LINE_ADJ;

2066: l_x_Line_Adj_tbl(1) := l_x_Line_Adj_rec;
2067: l_x_old_Line_Adj_tbl(1) := l_x_old_Line_Adj_rec;
2068: /* IF p_ok_flag = 'Y' THEN
2069:
2070: l_request_rec.entity_code:= OE_GLOBALS.G_ENTITY_LINE_ADJ;
2071: l_request_rec.entity_id := l_line_adj_rec.line_id;
2072: l_request_rec.request_type := OE_GLOBALS.G_PRICE_ADJ;
2073: l_request_tbl(1) := l_request_rec;
2074:

Line 2072: l_request_rec.request_type := OE_GLOBALS.G_PRICE_ADJ;

2068: /* IF p_ok_flag = 'Y' THEN
2069:
2070: l_request_rec.entity_code:= OE_GLOBALS.G_ENTITY_LINE_ADJ;
2071: l_request_rec.entity_id := l_line_adj_rec.line_id;
2072: l_request_rec.request_type := OE_GLOBALS.G_PRICE_ADJ;
2073: l_request_tbl(1) := l_request_rec;
2074:
2075: END IF; */
2076:

Line 2150: (p_request_type => OE_GLOBALS.G_CHECK_PERCENTAGE

2146:
2147: -- commented out by linda
2148: /****
2149: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Reqtype
2150: (p_request_type => OE_GLOBALS.G_CHECK_PERCENTAGE
2151: ,p_delete => FND_API.G_TRUE
2152: ,x_return_status => l_return_status
2153: );
2154: IF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 2164: (p_request_type => OE_GLOBALS.G_PRICE_ADJ

2160:
2161: /***
2162: IF p_ok_flag = 'Y' THEN
2163: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Reqtype
2164: (p_request_type => OE_GLOBALS.G_PRICE_ADJ
2165: ,p_delete => FND_API.G_TRUE
2166: ,x_return_status => l_return_status
2167: );
2168: IF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 2178: (p_request_type => OE_GLOBALS.G_VERIFY_PAYMENT

2174: ***/
2175:
2176: -- fixed bug 3271297
2177: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Reqtype
2178: (p_request_type => OE_GLOBALS.G_VERIFY_PAYMENT
2179: ,p_delete => FND_API.G_TRUE
2180: ,x_return_status => l_return_status
2181: );
2182: IF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 2203: OE_GLOBALS.G_UI_FLAG := FALSE;

2199: -- Clear Line_Adj record cache
2200: Clear_Line_Adj;
2201:
2202: -- Re-set the UI flag to FALSE
2203: OE_GLOBALS.G_UI_FLAG := FALSE;
2204:
2205: -- Set return status.
2206:
2207: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 2224: OE_GLOBALS.G_UI_FLAG := FALSE;

2220: EXCEPTION
2221:
2222: WHEN FND_API.G_EXC_ERROR THEN
2223:
2224: OE_GLOBALS.G_UI_FLAG := FALSE;
2225:
2226: x_return_status := FND_API.G_RET_STS_ERROR;
2227:
2228: -- Get message count and data

Line 2239: OE_GLOBALS.G_UI_FLAG := FALSE;

2235: ROLLBACK TO SAVEPOINT validate_and_write;
2236:
2237: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
2238:
2239: OE_GLOBALS.G_UI_FLAG := FALSE;
2240:
2241: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2242:
2243: -- Get message count and data

Line 2254: OE_GLOBALS.G_UI_FLAG := FALSE;

2250: ROLLBACK TO SAVEPOINT validate_and_write;
2251:
2252: WHEN OTHERS THEN
2253:
2254: OE_GLOBALS.G_UI_FLAG := FALSE;
2255:
2256: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2257:
2258: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 2294: l_control_rec OE_GLOBALS.Control_Rec_Type;

2290: )
2291: IS
2292: l_Line_Adj_rec OE_Order_PUB.Line_Adj_Rec_Type;
2293: l_Line_Adj_tbl OE_Order_PUB.Line_Adj_Tbl_Type;
2294: l_control_rec OE_GLOBALS.Control_Rec_Type;
2295: l_return_status VARCHAR2(1);
2296: l_action_request_tbl OE_Order_PUB.Request_Tbl_Type;
2297: l_x_header_rec OE_Order_PUB.Header_Rec_Type;
2298: l_x_Header_Adj_rec OE_Order_PUB.Header_Adj_Rec_Type;

Line 2339: OE_GLOBALS.G_UI_FLAG := TRUE;

2335: oe_debug_pub.add( 'ENTERING OE_OE_FORM_LINE_ADJ.DELETE_ROW' , 1 ) ;
2336: END IF;
2337:
2338: -- Set the UI flag
2339: OE_GLOBALS.G_UI_FLAG := TRUE;
2340:
2341: -- Set control flags.
2342:
2343: l_control_rec.controlled_operation := TRUE;

Line 2368: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_DELETE;

2364: );
2365:
2366:
2367: -- Set Operation.
2368: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_DELETE;
2369:
2370:
2371: -- Populate Line_Adj table
2372: l_x_Line_Adj_tbl(1) := l_x_Line_Adj_rec;

Line 2472: OE_GLOBALS.G_UI_FLAG := FALSE;

2468: -- Clear Line_Adj record cache
2469: Clear_Line_Adj;
2470:
2471: -- Re-set the UI flag to FALSE
2472: OE_GLOBALS.G_UI_FLAG := FALSE;
2473:
2474: -- Set return status.
2475:
2476: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 2493: OE_GLOBALS.G_UI_FLAG := FALSE;

2489: EXCEPTION
2490:
2491: WHEN FND_API.G_EXC_ERROR THEN
2492:
2493: OE_GLOBALS.G_UI_FLAG := FALSE;
2494:
2495: x_return_status := FND_API.G_RET_STS_ERROR;
2496:
2497: -- Get message count and data

Line 2506: OE_GLOBALS.G_UI_FLAG := FALSE;

2502: );
2503:
2504: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
2505:
2506: OE_GLOBALS.G_UI_FLAG := FALSE;
2507:
2508: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2509:
2510: -- Get message count and data

Line 2519: OE_GLOBALS.G_UI_FLAG := FALSE;

2515: );
2516:
2517: WHEN OTHERS THEN
2518:
2519: OE_GLOBALS.G_UI_FLAG := FALSE;
2520:
2521: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2522:
2523: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 2556: l_control_rec OE_GLOBALS.Control_Rec_Type;

2552: , p_header_id IN NUMBER
2553: , p_line_id IN NUMBER
2554: )
2555: IS
2556: l_control_rec OE_GLOBALS.Control_Rec_Type;
2557: l_return_status VARCHAR2(1);
2558: l_request_rec OE_Order_Pub.Request_Rec_Type;
2559: l_request_tbl OE_Order_Pub.Request_Tbl_Type;
2560: l_action_request_tbl OE_Order_PUB.Request_Tbl_Type;

Line 2595: (p_request_type => OE_GLOBALS.G_PRICE_ADJ

2591: END IF;
2592:
2593: /*
2594: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Reqtype
2595: (p_request_type => OE_GLOBALS.G_PRICE_ADJ
2596: ,p_delete => FND_API.G_TRUE
2597: ,x_return_status => l_return_status
2598: );
2599: IF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 2607: (p_request_type => OE_GLOBALS.G_TAX_LINE

2603: END IF;
2604:
2605: -- process delayed requests for tax calculation.
2606: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Reqtype
2607: (p_request_type => OE_GLOBALS.G_TAX_LINE
2608: ,p_delete => FND_API.G_TRUE
2609: ,x_return_status => l_return_status
2610: );
2611: IF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 2620: (p_request_type => OE_GLOBALS.G_CALCULATE_COMMITMENT

2616:
2617: IF OE_Commitment_Pvt.Do_Commitment_Sequencing THEN
2618: -- process delayed requests for commitment calculation.
2619: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Reqtype
2620: (p_request_type => OE_GLOBALS.G_CALCULATE_COMMITMENT
2621: ,p_delete => FND_API.G_TRUE
2622: ,x_return_status => l_return_status
2623: );
2624: IF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 2633: (p_request_type => OE_GLOBALS.G_VERIFY_PAYMENT

2629: END IF;
2630:
2631: oe_debug_pub.ADD('Processing delayed request for Verify Payment for price adjustments changes.', 3);
2632: OE_DELAYED_REQUESTS_PVT.Process_Request_for_Reqtype
2633: (p_request_type => OE_GLOBALS.G_VERIFY_PAYMENT
2634: ,p_delete => FND_API.G_TRUE
2635: ,x_return_status => l_return_status
2636: );
2637:

Line 2665: OE_GLOBALS.G_UI_FLAG := TRUE;

2661: Return;
2662:
2663: /********************************************************************
2664: -- Set the UI flag
2665: OE_GLOBALS.G_UI_FLAG := TRUE;
2666:
2667: -- Set control flags.
2668:
2669: l_control_rec.controlled_operation := TRUE;

Line 2671: l_control_rec.process_entity := OE_GLOBALS.G_ENTITY_LINE_ADJ;

2667: -- Set control flags.
2668:
2669: l_control_rec.controlled_operation := TRUE;
2670: l_control_rec.process := TRUE;
2671: l_control_rec.process_entity := OE_GLOBALS.G_ENTITY_LINE_ADJ;
2672:
2673: l_control_rec.check_security := FALSE;
2674: l_control_rec.clear_dependents := FALSE;
2675: l_control_rec.default_attributes := FALSE;

Line 2687: -- l_request_rec.request_type := OE_GLOBALS.G_CHECK_PERCENTAGE;

2683: l_control_rec.clear_api_requests := FALSE;
2684:
2685:
2686: -- Assign requests that are to be executed
2687: -- l_request_rec.request_type := OE_GLOBALS.G_CHECK_PERCENTAGE;
2688: -- l_request_rec.entity_code := OE_GLOBALS.G_ENTITY_LINE_ADJ;
2689: -- l_request_rec.entity_id := p_line_id;
2690: -- l_request_rec.param1 := p_header_id;
2691: -- l_request_tbl(1) := l_request_rec;

Line 2688: -- l_request_rec.entity_code := OE_GLOBALS.G_ENTITY_LINE_ADJ;

2684:
2685:
2686: -- Assign requests that are to be executed
2687: -- l_request_rec.request_type := OE_GLOBALS.G_CHECK_PERCENTAGE;
2688: -- l_request_rec.entity_code := OE_GLOBALS.G_ENTITY_LINE_ADJ;
2689: -- l_request_rec.entity_id := p_line_id;
2690: -- l_request_rec.param1 := p_header_id;
2691: -- l_request_tbl(1) := l_request_rec;
2692:

Line 2693: -- l_request_rec.request_type := OE_GLOBALS.G_PRICE_ADJ;

2689: -- l_request_rec.entity_id := p_line_id;
2690: -- l_request_rec.param1 := p_header_id;
2691: -- l_request_tbl(1) := l_request_rec;
2692:
2693: -- l_request_rec.request_type := OE_GLOBALS.G_PRICE_ADJ;
2694: -- l_request_rec.entity_code := OE_GLOBALS.G_ENTITY_LINE_ADJ;
2695: -- l_request_rec.entity_id := p_line_id;
2696: -- l_request_tbl(2) := l_request_rec;
2697:

Line 2694: -- l_request_rec.entity_code := OE_GLOBALS.G_ENTITY_LINE_ADJ;

2690: -- l_request_rec.param1 := p_header_id;
2691: -- l_request_tbl(1) := l_request_rec;
2692:
2693: -- l_request_rec.request_type := OE_GLOBALS.G_PRICE_ADJ;
2694: -- l_request_rec.entity_code := OE_GLOBALS.G_ENTITY_LINE_ADJ;
2695: -- l_request_rec.entity_id := p_line_id;
2696: -- l_request_tbl(2) := l_request_rec;
2697:
2698:

Line 2738: OE_GLOBALS.G_UI_FLAG := FALSE;

2734: END IF;
2735:
2736:
2737: -- Re-set the UI flag to FALSE
2738: OE_GLOBALS.G_UI_FLAG := FALSE;
2739:
2740: -- Set return status.
2741:
2742: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 2759: OE_GLOBALS.G_UI_FLAG := FALSE;

2755: EXCEPTION
2756:
2757: WHEN FND_API.G_EXC_ERROR THEN
2758:
2759: OE_GLOBALS.G_UI_FLAG := FALSE;
2760:
2761: x_return_status := FND_API.G_RET_STS_ERROR;
2762:
2763: -- Get message count and data

Line 2772: OE_GLOBALS.G_UI_FLAG := FALSE;

2768: );
2769:
2770: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
2771:
2772: OE_GLOBALS.G_UI_FLAG := FALSE;
2773:
2774: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2775:
2776: -- Get message count and data

Line 2785: OE_GLOBALS.G_UI_FLAG := FALSE;

2781: );
2782:
2783: WHEN OTHERS THEN
2784:
2785: OE_GLOBALS.G_UI_FLAG := FALSE;
2786:
2787: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2788:
2789: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 2832: l_control_rec OE_GLOBALS.Control_Rec_Type;

2828: l_x_old_Line_Adj_rec OE_Order_PUB.Line_Adj_Rec_Type;
2829: l_Line_Adj_tbl OE_Order_PUB.Line_Adj_Tbl_Type;
2830: l_x_old_Line_Adj_tbl OE_Order_PUB.Line_Adj_Tbl_Type;
2831: l_Line_Adj_val_rec OE_Order_PUB.Line_Adj_Val_Rec_Type;
2832: l_control_rec OE_GLOBALS.Control_Rec_Type;
2833: l_return_status VARCHAR2(1);
2834: l_action_request_tbl OE_Order_PUB.Request_Tbl_Type;
2835: l_x_header_rec OE_Order_PUB.Header_Rec_Type;
2836: l_x_Header_Adj_tbl OE_Order_PUB.Header_Adj_Tbl_Type;

Line 2865: OE_GLOBALS.G_UI_FLAG := TRUE;

2861: oe_debug_pub.add( 'ENTERING OE_OE_FORM_LINE_ADJ.REPLACE_ATTRIBUTES' , 1 ) ;
2862: END IF;
2863:
2864: -- Set the UI flag
2865: OE_GLOBALS.G_UI_FLAG := TRUE;
2866:
2867: -- Set control flags.
2868: l_control_rec.controlled_operation := TRUE;
2869: l_control_rec.clear_dependents := FALSE;

Line 2965: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_UPDATE;

2961: If p_change_reason_text Is Not Null Then
2962: l_x_line_adj_rec.change_reason_text := p_change_reason_text;
2963: End If;
2964:
2965: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
2966:
2967: l_x_Line_Adj_tbl(1) := l_x_Line_Adj_rec;
2968: -- commented to fix bug 1717501 Begin
2969: -- l_x_old_Line_Adj_rec := l_x_Line_Adj_rec;

Line 3009: OE_GLOBALS.G_UI_FLAG := FALSE;

3005: p_db_record => TRUE
3006: );
3007:
3008: -- Re-set the UI flag to FALSE
3009: OE_GLOBALS.G_UI_FLAG := FALSE;
3010:
3011: -- Set return status.
3012:
3013: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 3030: OE_GLOBALS.G_UI_FLAG := FALSE;

3026: EXCEPTION
3027:
3028: WHEN FND_API.G_EXC_ERROR THEN
3029:
3030: OE_GLOBALS.G_UI_FLAG := FALSE;
3031:
3032: x_return_status := FND_API.G_RET_STS_ERROR;
3033:
3034: -- Get message count and data

Line 3045: OE_GLOBALS.G_UI_FLAG := FALSE;

3041: ROLLBACK TO SAVEPOINT replace_attributes;
3042:
3043: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
3044:
3045: OE_GLOBALS.G_UI_FLAG := FALSE;
3046:
3047: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
3048:
3049: -- Get message count and data

Line 3060: OE_GLOBALS.G_UI_FLAG := FALSE;

3056: ROLLBACK TO SAVEPOINT replace_attributes;
3057:
3058: WHEN OTHERS THEN
3059:
3060: OE_GLOBALS.G_UI_FLAG := FALSE;
3061:
3062: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
3063:
3064: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 3116: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_LOCK;

3112: END IF;
3113:
3114: -- Load Line_Adj record
3115:
3116: l_x_Line_Adj_rec.operation := OE_GLOBALS.G_OPR_LOCK;
3117: l_x_Line_Adj_rec.lock_control := p_lock_control;
3118: l_x_Line_Adj_rec.price_adjustment_id := p_price_adjustment_id;
3119:
3120: OE_Line_Adj_Util.Lock_Row

Line 3292: l_Control_Rec OE_GLOBALS.Control_Rec_Type;

3288: ,x_msg_data OUT NOCOPY VARCHAR2
3289:
3290: ,x_price_adjustment_id OUT NOCOPY NUMBER) Is
3291:
3292: l_Control_Rec OE_GLOBALS.Control_Rec_Type;
3293: l_line_adj_tbl Oe_Order_Pub.line_adj_tbl_type;
3294: l_line_rec Oe_Order_Pub.line_rec_type;
3295: l_dummy_tbl Oe_Order_Pub.line_adj_tbl_type;
3296: --

Line 3310: OE_GLOBALS.G_UI_FLAG := TRUE;

3306: --l_control_rec.change_attributes := FALSE;
3307: l_control_rec.change_attributes := TRUE;
3308:
3309: -- lagrawal Bug 3673050
3310: OE_GLOBALS.G_UI_FLAG := TRUE;
3311:
3312: If l_line_adj_tbl(1).operand_per_pqty is NULL Then
3313: If l_line_adj_tbl(1).line_id is not Null
3314: and l_line_adj_tbl(1).list_line_type_code Not In ('%','LUMPSUM')

Line 3349: l_line_adj_tbl(1).operation := OE_GLOBALS.G_OPR_CREATE;

3345: l_line_adj_tbl(1).adjusted_amount_per_pqty:=l_line_adj_tbl(1).adjusted_amount;
3346: End If;
3347: End If;
3348:
3349: l_line_adj_tbl(1).operation := OE_GLOBALS.G_OPR_CREATE;
3350:
3351:
3352: IF l_line_adj_tbl(1).range_break_quantity IS NULL
3353: AND l_line_adj_tbl(1).list_line_type_code = 'PBH'

Line 3371: OE_GLOBALS.G_UI_FLAG := FALSE;

3367: AND rownum = 1;
3368:
3369: EXCEPTION WHEN OTHERS THEN
3370: -- lagrawal bug 3673050
3371: OE_GLOBALS.G_UI_FLAG := FALSE;
3372: IF l_debug_level > 0 THEN
3373: oe_debug_pub.add( ' IN OE_OE_FORM_LINE_ADJ.INSER_ROW:'||SQLERRM ) ;
3374: END IF;
3375: END;

Line 3404: OE_GLOBALS.G_UI_FLAG := FALSE;

3400: p_x_old_line_adj_tbl => l_dummy_tbl);
3401: x_price_adjustment_id := l_line_adj_tbl(1).price_adjustment_id;
3402:
3403: -- lagrawal bug 3673050
3404: OE_GLOBALS.G_UI_FLAG := FALSE;
3405: Exception
3406: WHEN OTHERS THEN
3407:
3408: OE_GLOBALS.G_UI_FLAG := FALSE;

Line 3408: OE_GLOBALS.G_UI_FLAG := FALSE;

3404: OE_GLOBALS.G_UI_FLAG := FALSE;
3405: Exception
3406: WHEN OTHERS THEN
3407:
3408: OE_GLOBALS.G_UI_FLAG := FALSE;
3409:
3410: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
3411:
3412: OE_MSG_PUB.Add_Exc_Msg

Line 3605: p_entity_code => OE_GLOBALS.G_ENTITY_LINE,

3601: G_PRICE_ADJ request should be logged against LINE entity, not
3602: against LINE_ADJ entity
3603: */
3604: oe_delayed_requests_pvt.log_request(
3605: p_entity_code => OE_GLOBALS.G_ENTITY_LINE,
3606: p_entity_id => p_line_id_tbl(i),
3607: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_LINE_ADJ,
3608: p_requesting_entity_id => p_line_id_tbl(i),
3609: p_request_type => OE_GLOBALS.G_PRICE_ADJ,

Line 3607: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_LINE_ADJ,

3603: */
3604: oe_delayed_requests_pvt.log_request(
3605: p_entity_code => OE_GLOBALS.G_ENTITY_LINE,
3606: p_entity_id => p_line_id_tbl(i),
3607: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_LINE_ADJ,
3608: p_requesting_entity_id => p_line_id_tbl(i),
3609: p_request_type => OE_GLOBALS.G_PRICE_ADJ,
3610: x_return_status => l_return_status);
3611: End If; --end if for create_adj_no_validate

Line 3609: p_request_type => OE_GLOBALS.G_PRICE_ADJ,

3605: p_entity_code => OE_GLOBALS.G_ENTITY_LINE,
3606: p_entity_id => p_line_id_tbl(i),
3607: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_LINE_ADJ,
3608: p_requesting_entity_id => p_line_id_tbl(i),
3609: p_request_type => OE_GLOBALS.G_PRICE_ADJ,
3610: x_return_status => l_return_status);
3611: End If; --end if for create_adj_no_validate
3612: End If;
3613: Elsif p_delete_flag = 'Y' Then

Line 3625: p_entity_code => OE_GLOBALS.G_ENTITY_LINE,

3621: G_PRICE_ADJ request should be logged against LINE entity,
3622: not against LINE_ADJ entity
3623: */
3624: oe_delayed_requests_pvt.log_request(
3625: p_entity_code => OE_GLOBALS.G_ENTITY_LINE,
3626: p_entity_id => p_line_id_tbl(i),
3627: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_LINE_ADJ,
3628: p_requesting_entity_id => p_line_id_tbl(i),
3629: p_request_type => OE_GLOBALS.G_PRICE_ADJ,

Line 3627: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_LINE_ADJ,

3623: */
3624: oe_delayed_requests_pvt.log_request(
3625: p_entity_code => OE_GLOBALS.G_ENTITY_LINE,
3626: p_entity_id => p_line_id_tbl(i),
3627: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_LINE_ADJ,
3628: p_requesting_entity_id => p_line_id_tbl(i),
3629: p_request_type => OE_GLOBALS.G_PRICE_ADJ,
3630: x_return_status => l_return_status);
3631:

Line 3629: p_request_type => OE_GLOBALS.G_PRICE_ADJ,

3625: p_entity_code => OE_GLOBALS.G_ENTITY_LINE,
3626: p_entity_id => p_line_id_tbl(i),
3627: p_requesting_entity_code => OE_GLOBALS.G_ENTITY_LINE_ADJ,
3628: p_requesting_entity_id => p_line_id_tbl(i),
3629: p_request_type => OE_GLOBALS.G_PRICE_ADJ,
3630: x_return_status => l_return_status);
3631:
3632: End If;
3633: End If;