DBA Data[Home] [Help]

APPS.OE_BLANKET_FORM_CONTROL dependencies on OE_BLANKET_UTIL

Line 445: OE_Blanket_Util.Validate_Entity(p_header_rec,

441: ||p_header_rec.blanket_min_amount);
442: oe_debug_pub.add('Before sending to the API OLd Blanket MIN number FROM the API '
443: ||l_old_header_rec.blanket_min_amount);
444:
445: OE_Blanket_Util.Validate_Entity(p_header_rec,
446: l_old_header_rec,
447: x_return_status);
448:
449: oe_debug_pub.add('After returning from the API New Blanket MAX number FROM the API '

Line 573: OE_Blanket_Util.Validate_Entity(p_line_rec,

569: end if;
570:
571: oe_debug_pub.add('Inventory item id - RAJ' || p_line_rec.inventory_item_id);
572:
573: OE_Blanket_Util.Validate_Entity(p_line_rec,
574: l_old_line_rec,
575: x_return_status);
576:
577: IF x_return_status = FND_API.G_RET_STS_ERROR THEN

Line 655: OE_Blanket_Util.Insert_Row(p_header_rec,X_RETURN_STATUS);

651: BEGIN
652: OE_MSG_PUB.initialize;
653: oe_debug_pub.add('Entering Header OE_Blanket_Form_Control.Insert_row', 1);
654:
655: OE_Blanket_Util.Insert_Row(p_header_rec,X_RETURN_STATUS);
656:
657: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
658: RAISE FND_API.G_EXC_ERROR;
659: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 727: OE_Blanket_Util.Update_Row(p_header_rec,X_RETURN_STATUS);

723: BEGIN
724: OE_MSG_PUB.initialize;
725: oe_debug_pub.add('Entering Header OE_Blanket_Form_Control.Update_row', 1);
726:
727: OE_Blanket_Util.Update_Row(p_header_rec,X_RETURN_STATUS);
728:
729: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
730: RAISE FND_API.G_EXC_ERROR;
731: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 800: OE_Blanket_Util.Delete_Row(p_header_id => p_header_id

796:
797: OE_MSG_PUB.initialize;
798: oe_debug_pub.add('Entering Header OE_Blanket_Form_Control.Delete_row', 1);
799:
800: OE_Blanket_Util.Delete_Row(p_header_id => p_header_id
801: ,X_RETURN_STATUS => x_return_status);
802:
803: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
804: RAISE FND_API.G_EXC_ERROR;

Line 872: OE_Blanket_Util.Insert_Row(p_line_rec,X_RETURN_STATUS);

868: BEGIN
869: OE_MSG_PUB.initialize;
870: oe_debug_pub.add('Entering Lines OE_Blanket_Form_Control.Insert_row', 1);
871:
872: OE_Blanket_Util.Insert_Row(p_line_rec,X_RETURN_STATUS);
873:
874: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
875: RAISE FND_API.G_EXC_ERROR;
876: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 942: OE_Blanket_Util.Update_Row(p_line_rec,X_RETURN_STATUS);

938: l_debug_level CONSTANT NUMBER := oe_debug_pub.g_debug_level;
939: BEGIN
940: OE_MSG_PUB.initialize;
941: oe_debug_pub.add('Entering Lines OE_Blanket_Form_Control.Update_row', 1);
942: OE_Blanket_Util.Update_Row(p_line_rec,X_RETURN_STATUS);
943:
944: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
945: RAISE FND_API.G_EXC_ERROR;
946: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 1013: OE_Blanket_Util.Delete_Row(p_line_id => p_line_id

1009: -- hashraf ... start of pack J
1010: OE_MSG_PUB.initialize;
1011: oe_debug_pub.add('Entering Lines OE_Blanket_Form_Control.Delete_row', 1);
1012:
1013: OE_Blanket_Util.Delete_Row(p_line_id => p_line_id
1014: ,x_return_status => X_RETURN_STATUS);
1015:
1016: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
1017: RAISE FND_API.G_EXC_ERROR;

Line 1093: OE_Blanket_Util.Default_Attributes (p_x_header_rec,x_return_status);

1089: l_error := 1;
1090:
1091: --p_x_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;
1092:
1093: OE_Blanket_Util.Default_Attributes (p_x_header_rec,x_return_status);
1094:
1095: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
1096: RAISE FND_API.G_EXC_ERROR;
1097: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 1174: OE_Blanket_Util.Default_Attributes (p_x_line_rec,p_default_from_header,x_return_status);

1170: l_old_blanket_line_number := p_x_line_rec.line_number;
1171:
1172: --p_x_line_rec.operation := OE_GLOBALS.G_OPR_CREATE;
1173:
1174: OE_Blanket_Util.Default_Attributes (p_x_line_rec,p_default_from_header,x_return_status);
1175:
1176: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
1177: RAISE FND_API.G_EXC_ERROR;
1178: ELSIF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 1262: OE_Blanket_util.Query_Header(

1258: THEN
1259: l_dummy_header_rec := NULL;
1260: ELSIF G_header_cache_rec(ctr).operation
1261: =OE_GLOBALS.G_OPR_UPDATE THEN
1262: OE_Blanket_util.Query_Header(
1263: p_header_id =>G_header_cache_rec(ctr).header_id,
1264: x_header_rec =>l_dummy_header_Rec,
1265: x_return_status =>l_return_status);
1266:

Line 1280: OE_Blanket_Util.Validate_Entity(G_header_cache_rec(ctr),

1276: end if;
1277: I := oe_delayed_requests_pvt.g_delayed_requests.next(I);
1278: END LOOP;
1279: IF I IS NULL THEN
1280: OE_Blanket_Util.Validate_Entity(G_header_cache_rec(ctr),
1281: l_dummy_header_rec,
1282: x_return_status);
1283:
1284: IF x_return_status = FND_API.G_RET_STS_ERROR THEN

Line 1303: l_dummy_line_rec := OE_Blanket_util.Query_Row(p_line_id => G_LIne_cache_rec(ctr).line_id);

1299: THEN
1300: l_dummy_line_rec := NULL;
1301: ELSIF G_line_cache_rec(ctr).operation = OE_GLOBALS.G_OPR_UPDATE
1302: THEN
1303: l_dummy_line_rec := OE_Blanket_util.Query_Row(p_line_id => G_LIne_cache_rec(ctr).line_id);
1304: END IF;
1305: I := oe_delayed_requests_pvt.g_delayed_requests.first;
1306: WHILE I IS NOT NULL LOOP
1307: l_request_rec := oe_delayed_requests_pvt.g_delayed_requests(I);

Line 1314: OE_Blanket_Util.Validate_Entity(G_line_cache_rec(ctr),

1310: end if;
1311: I := oe_delayed_requests_pvt.g_delayed_requests.next(I);
1312: END LOOP;
1313: IF I IS NULL THEN
1314: OE_Blanket_Util.Validate_Entity(G_line_cache_rec(ctr),
1315: l_dummy_line_rec,
1316: x_return_status);
1317:
1318: IF x_return_status = FND_API.G_RET_STS_ERROR THEN

Line 1349: OE_Blanket_Util.Update_Row(G_header_Cache_Rec(ctr),x_return_status);

1345: x_return_status := FND_API.G_RET_STS_SUCCESS;
1346:
1347: If G_header_cache_rec(ctr).operation = OE_GLOBALS.G_OPR_UPDATE then
1348: oe_debug_pub.add('Operation in Update Condi: '||G_header_cache_rec(ctr).operation);
1349: OE_Blanket_Util.Update_Row(G_header_Cache_Rec(ctr),x_return_status);
1350: ElsIf G_header_cache_rec(ctr).operation = OE_GLOBALS.G_OPR_CREATE then
1351: oe_debug_pub.add('Operation IN Insert Condi: '||G_header_cache_rec(ctr).operation);
1352: OE_Blanket_Util.Insert_Row(G_header_Cache_Rec(ctr),x_return_status);
1353:

Line 1352: OE_Blanket_Util.Insert_Row(G_header_Cache_Rec(ctr),x_return_status);

1348: oe_debug_pub.add('Operation in Update Condi: '||G_header_cache_rec(ctr).operation);
1349: OE_Blanket_Util.Update_Row(G_header_Cache_Rec(ctr),x_return_status);
1350: ElsIf G_header_cache_rec(ctr).operation = OE_GLOBALS.G_OPR_CREATE then
1351: oe_debug_pub.add('Operation IN Insert Condi: '||G_header_cache_rec(ctr).operation);
1352: OE_Blanket_Util.Insert_Row(G_header_Cache_Rec(ctr),x_return_status);
1353:
1354: --Workflow changes for 11i10.
1355: --For the bug3230820
1356: -- Move this particular code to Oe_Blanket_Util.Process_object.

Line 1356: -- Move this particular code to Oe_Blanket_Util.Process_object.

1352: OE_Blanket_Util.Insert_Row(G_header_Cache_Rec(ctr),x_return_status);
1353:
1354: --Workflow changes for 11i10.
1355: --For the bug3230820
1356: -- Move this particular code to Oe_Blanket_Util.Process_object.
1357: -- Where we are calling directly to accomaidate both for backend creation of BSA and
1358: -- Through BSA UI.
1359:
1360: -- hashraf ... start of pack J

Line 1363: OE_Blanket_Util.Delete_Row(p_header_id => G_header_Cache_Rec(ctr).header_id,

1359:
1360: -- hashraf ... start of pack J
1361: ElsIf G_header_cache_rec(ctr).operation = OE_GLOBALS.G_OPR_DELETE then
1362: oe_debug_pub.add('Operation IS Delete Condi: '||G_header_cache_rec(ctr).operation);
1363: OE_Blanket_Util.Delete_Row(p_header_id => G_header_Cache_Rec(ctr).header_id,
1364: x_return_status => x_return_status);
1365: -- hashraf ... end of pack J
1366: End if;
1367:

Line 1400: OE_Blanket_Util.Update_Row(G_line_Cache_Rec(ctr),x_return_status);

1396: while ctr <= G_Line_Cache_Rec.count loop
1397:
1398: If G_line_cache_rec(ctr).operation = OE_GLOBALS.G_OPR_UPDATE then
1399: oe_debug_pub.add('Process_object for Lines update', 4);
1400: OE_Blanket_Util.Update_Row(G_line_Cache_Rec(ctr),x_return_status);
1401: ElsIf G_line_cache_rec(ctr).operation = OE_GLOBALS.G_OPR_CREATE then
1402: oe_debug_pub.add('Process_object for Lines Insert', 5);
1403: OE_Blanket_Util.Insert_Row(G_line_Cache_Rec(ctr),x_return_status);
1404: -- hashraf ... start of pack J

Line 1403: OE_Blanket_Util.Insert_Row(G_line_Cache_Rec(ctr),x_return_status);

1399: oe_debug_pub.add('Process_object for Lines update', 4);
1400: OE_Blanket_Util.Update_Row(G_line_Cache_Rec(ctr),x_return_status);
1401: ElsIf G_line_cache_rec(ctr).operation = OE_GLOBALS.G_OPR_CREATE then
1402: oe_debug_pub.add('Process_object for Lines Insert', 5);
1403: OE_Blanket_Util.Insert_Row(G_line_Cache_Rec(ctr),x_return_status);
1404: -- hashraf ... start of pack J
1405: ElsIf G_line_cache_rec(ctr).operation = OE_GLOBALS.G_OPR_DELETE then
1406: oe_debug_pub.add('Process_object for Lines Delete', 6);
1407: OE_Blanket_Util.Delete_Row(p_line_id => G_line_Cache_Rec(ctr).line_id, x_return_status => x_return_status);

Line 1407: OE_Blanket_Util.Delete_Row(p_line_id => G_line_Cache_Rec(ctr).line_id, x_return_status => x_return_status);

1403: OE_Blanket_Util.Insert_Row(G_line_Cache_Rec(ctr),x_return_status);
1404: -- hashraf ... start of pack J
1405: ElsIf G_line_cache_rec(ctr).operation = OE_GLOBALS.G_OPR_DELETE then
1406: oe_debug_pub.add('Process_object for Lines Delete', 6);
1407: OE_Blanket_Util.Delete_Row(p_line_id => G_line_Cache_Rec(ctr).line_id, x_return_status => x_return_status);
1408: -- hashraf ... end of pack J
1409: End if;
1410:
1411: IF x_return_status = FND_API.G_RET_STS_ERROR THEN

Line 1429: OE_Blanket_Util.Process_Object(x_return_status);

1425: ctr := ctr + 1;
1426:
1427: end loop;
1428: if x_return_status = FND_API.G_RET_STS_SUCCESS then
1429: OE_Blanket_Util.Process_Object(x_return_status);
1430: end if;
1431:
1432: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
1433: RAISE FND_API.G_EXC_ERROR;

Line 1526: OE_BLANKET_UTIL.API_Rec_To_Rowtype_Rec

1522: -- 11i10 Pricing Changes
1523: -- Check security for a specific attribute
1524: IF p_column_name IS NOT NULL THEN
1525:
1526: OE_BLANKET_UTIL.API_Rec_To_Rowtype_Rec
1527: (p_header_rec,l_rowtype_rec);
1528: if p_header_rec.operation = OE_GLOBALS.G_OPR_CREATE then
1529: l_operation := OE_PC_GLOBALS.CREATE_OP;
1530: elsif p_header_rec.operation = OE_GLOBALS.G_OPR_UPDATE then

Line 2007: OE_Blanket_Util.Query_Header

2003:
2004: Begin
2005: OE_MSG_PUB.initialize;
2006:
2007: OE_Blanket_Util.Query_Header
2008: (p_header_id => p_x_header_rec.header_id,
2009: x_header_rec => p_x_old_header_rec,
2010: x_return_status => l_x_return_status);
2011:

Line 2059: OE_Blanket_Util.Query_Lines

2055: -- Comment out the query here and call query_line
2056: -- instead to populate the line record.
2057: begin
2058:
2059: OE_Blanket_Util.Query_Lines
2060: (p_line_id => p_x_line_rec.line_id,
2061: x_line_tbl => l_line_tbl,
2062: x_return_status => l_x_return_status);
2063: