DBA Data[Home] [Help]

APPS.ENG_DEFAULT_REVISED_ITEM dependencies on ENG_GLOBALS

Line 449: IF (Eng_Globals.Get_PLM_Or_ERP_Change(g_revised_item_rec.eco_name, g_rev_item_unexp_rec.organization_id) = 'PLM'

445: -- Added For bug 3618676
446: --
447: ***********************************************************************************/
448:
449: IF (Eng_Globals.Get_PLM_Or_ERP_Change(g_revised_item_rec.eco_name, g_rev_item_unexp_rec.organization_id) = 'PLM'
450: AND g_rev_item_unexp_rec.status_code IS NULL)
451: THEN
452: IF g_revised_item_rec.transaction_type = 'CREATE'
453: THEN

Line 681: IF (Eng_Globals.Get_PLM_Or_ERP_Change(g_revised_item_rec.eco_name,

677:
678: -- 11.5.10E
679: -- Setting the values of new_rev_label, new_rev_description, new_rev_reason as null
680: -- for ERP case or when the new revision is not specified.
681: IF (Eng_Globals.Get_PLM_Or_ERP_Change(g_revised_item_rec.eco_name,
682: g_rev_item_unexp_rec.organization_id) <> 'PLM')
683: THEN
684: g_revised_item_rec.from_item_revision := FND_API.G_MISS_CHAR;
685:

Line 1041: l_assembly_type := ENG_Globals.Get_ECO_Assembly_Type

1037: AND ((assembly_type = 1 and l_assembly_type = 1)
1038: or l_assembly_type = 2);
1039: BEGIN
1040:
1041: l_assembly_type := ENG_Globals.Get_ECO_Assembly_Type
1042: ( p_change_notice => p_change_notice
1043: , p_organization_id => p_organization_id
1044: );
1045:

Line 1118: l_routing_type := ENG_Globals.Get_ECO_Assembly_Type

1114: AND ((routing_type = 1 and l_routing_type = 1)
1115: or l_routing_type = 2);
1116: BEGIN
1117:
1118: l_routing_type := ENG_Globals.Get_ECO_Assembly_Type
1119: ( p_change_notice => p_change_notice
1120: , p_organization_id => p_organization_id
1121: );
1122:

Line 1467: ENG_Globals.Check_Approved_For_Process

1463:
1464: l_Token_Tbl(1).Token_Name := 'REVISED_ITEM_NAME';
1465: l_Token_Tbl(1).Token_Value := p_revised_item_rec.revised_item_name;
1466:
1467: ENG_Globals.Check_Approved_For_Process
1468: ( p_change_notice => l_revised_item_rec.eco_name
1469: , p_organization_id => l_rev_item_unexp_rec.organization_id
1470: , x_processed => l_processed
1471: , x_err_text => l_err_text

Line 1498: IF (Eng_Globals.Get_PLM_Or_ERP_Change(l_revised_item_rec.eco_name, l_rev_item_unexp_rec.organization_id) = 'PLM'

1494:
1495: END IF;
1496:
1497: -- Syalaman - Added for bug 6371493.
1498: IF (Eng_Globals.Get_PLM_Or_ERP_Change(l_revised_item_rec.eco_name, l_rev_item_unexp_rec.organization_id) = 'PLM'
1499: AND l_rev_item_unexp_rec.status_code IS NULL)
1500: THEN
1501: IF l_revised_item_rec.transaction_type = 'CREATE'
1502: THEN

Line 1555: l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_UPDATE

1551: ( l_revised_item_rec.updated_revised_item_revision IS NOT NULL AND
1552: l_revised_item_rec.new_revised_item_revision IS NULL )
1553: )
1554: AND
1555: l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_UPDATE
1556: )
1557: OR
1558: l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_CREATE
1559: THEN

Line 1558: l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_CREATE

1554: AND
1555: l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_UPDATE
1556: )
1557: OR
1558: l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_CREATE
1559: THEN
1560:
1561:
1562: IF l_revised_item_rec.transaction_type =

Line 1563: ENG_Globals.G_OPR_CREATE

1559: THEN
1560:
1561:
1562: IF l_revised_item_rec.transaction_type =
1563: ENG_Globals.G_OPR_CREATE
1564: THEN
1565:
1566: IF Bom_Globals.Get_Debug = 'Y' THEN
1567: Error_Handler.Write_Debug('In transaction type = Create, Checking for revised item revision: ' ||

Line 1609: ENG_Globals.G_OPR_UPDATE

1605: G_DEL_UPD_INS_ITEM_REV := 2;
1606: END IF;
1607:
1608: ELSIF l_revised_item_rec.transaction_type =
1609: ENG_Globals.G_OPR_UPDATE
1610: THEN
1611:
1612: IF Bom_Globals.Get_Debug = 'Y' THEN
1613: Error_Handler.Write_Debug('In transaction type = Update , Checking for revised item revision: ' ||

Line 1673: -- and l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_DELETE

1669: ( l_rev_already_exists = 1 AND
1670: l_revised_item_rec.updated_revised_item_revision
1671: = l_current_revision
1672: ))
1673: -- and l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_DELETE
1674: -- Bug 3629755
1675: -- Commented as it is within the
1676: -- l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_UPDATE Condition
1677: THEN

Line 1676: -- l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_UPDATE Condition

1672: ))
1673: -- and l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_DELETE
1674: -- Bug 3629755
1675: -- Commented as it is within the
1676: -- l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_UPDATE Condition
1677: THEN
1678:
1679: IF Bom_Globals.Get_Debug = 'Y' THEN Error_Handler.Write_Debug('Item Revision set for Delete . . .'); END IF;
1680:

Line 1702: IF ((Eng_Globals.Get_PLM_Or_ERP_Change(l_revised_item_rec.eco_name, l_rev_item_unexp_rec.organization_id) = 'PLM' AND

1698: --
1699: -- Set the global flag g_create_alternate to TRUE if the user is
1700: -- trying to create an alternate
1701: --
1702: IF ((Eng_Globals.Get_PLM_Or_ERP_Change(l_revised_item_rec.eco_name, l_rev_item_unexp_rec.organization_id) = 'PLM' AND
1703: (l_revised_item_rec.alternate_bom_code IS NOT NULL OR
1704: l_rev_item_unexp_rec.structure_type_id IS NOT NULL)
1705: )
1706: OR

Line 1891: l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_UPDATE

1887: -- validation in Check_Reschedule
1888: -- By AS on 10/12/99
1889:
1890: IF l_revised_item_rec.new_effective_date IS NOT NULL AND
1891: l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_UPDATE
1892: THEN
1893: G_SCHED_DATE_CHANGED := TRUE;
1894: END IF;
1895: */

Line 1904: IF p_revised_item_rec.Transaction_Type = ENG_Globals.G_OPR_UPDATE

1900: -- For the Eco form, this flag should be set to true in Entity Defaulting
1901: -- once, this flag is overwritten based on validation in ENGLRITB.pls
1902: -- set this flag, if from unit number is changed, we need to update
1903: -- components in this case also.
1904: IF p_revised_item_rec.Transaction_Type = ENG_Globals.G_OPR_UPDATE
1905: AND (NVL( p_revised_item_rec.new_effective_date,
1906: p_revised_item_rec.start_effective_date )
1907: <> p_old_revised_item_rec.start_effective_date)
1908: THEN

Line 1954: IF l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_UPDATE AND

1950: /* Changed upon ITI's request. Earlier warnings weren't being
1951: logged and mrp_active blindly being overwritten
1952: By AS on 11/10/99
1953: */
1954: IF l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_UPDATE AND
1955: l_revised_item_rec.status_type = 2 AND
1956: l_revised_item_rec.status_type <>
1957: p_old_revised_item_rec.status_type AND
1958: l_revised_item_rec.mrp_active <> 2

Line 1970: ELSIF l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_UPDATE AND

1966: , x_Mesg_Token_Tbl => l_Mesg_Token_Tbl
1967: , p_Token_Tbl => l_Token_Tbl
1968: , p_message_type => 'W');
1969: END IF;
1970: ELSIF l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_UPDATE AND
1971: l_revised_item_rec.status_type <> 2 AND
1972: l_revised_item_rec.status_type <>
1973: p_old_revised_item_rec.status_type AND
1974: l_revised_item_rec.mrp_active <> 1

Line 2080: AND l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_UPDATE

2076: OR
2077: ( l_revised_item_rec.updated_routing_revision IS NOT NULL AND
2078: l_revised_item_rec.new_routing_revision IS NULL )
2079: )
2080: AND l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_UPDATE
2081: )
2082: OR
2083: l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_CREATE
2084: THEN

Line 2083: l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_CREATE

2079: )
2080: AND l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_UPDATE
2081: )
2082: OR
2083: l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_CREATE
2084: THEN
2085:
2086: IF Bom_Globals.Get_Debug = 'Y' THEN Error_Handler.Write_Debug
2087: ( 'Checking for routing revision: ' || p_revised_item_rec.new_routing_revision );

Line 2091: ENG_Globals.G_OPR_CREATE

2087: ( 'Checking for routing revision: ' || p_revised_item_rec.new_routing_revision );
2088: END IF;
2089:
2090: IF l_revised_item_rec.transaction_type =
2091: ENG_Globals.G_OPR_CREATE
2092: THEN
2093: FOR x_count IN c_Rtg_CheckRevision
2094: ( p_revision => l_revised_item_rec.new_routing_revision)
2095: LOOP

Line 2126: ELSIF l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_UPDATE

2122:
2123: G_DEL_UPD_INS_RTG_REV := 2;
2124: END IF;
2125:
2126: ELSIF l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_UPDATE
2127: THEN
2128:
2129: l_current_rtg_revision :=
2130: Get_Current_Rtg_Revision

Line 2333: IF l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_CREATE

2329: Error_Handler.Write_Debug('To Wo : ' || to_char(l_rev_item_unexp_rec.to_wip_entity_id)) ;
2330: END IF ;
2331:
2332: -- Modified by MK on 10/30/2000
2333: IF l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_CREATE
2334: AND (l_revised_item_rec.mrp_active <> 2 OR
2335: l_revised_item_rec.update_wip <> 1 )
2336: AND
2337: ( l_revised_item_rec.lot_number IS NOT NULL OR

Line 2368: IF l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_UPDATE

2364: -- Set G_ECO_FOR_PROD_CHANGED to True if user is trying to
2365: -- update ECO_FOR_PRODUCTION
2366: -- Added by MK on 10/24/2000
2367: ***********************************************************************/
2368: IF l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_UPDATE
2369: AND ( l_revised_item_rec.eco_for_production
2370: <> p_old_revised_item_rec.eco_for_production OR
2371: ( l_revised_item_rec.eco_for_production IS NOT NULL AND
2372: p_old_revised_item_rec.eco_for_production IS NULL )