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 1907: l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_UPDATE

1903: -- validation in Check_Reschedule
1904: -- By AS on 10/12/99
1905:
1906: IF l_revised_item_rec.new_effective_date IS NOT NULL AND
1907: l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_UPDATE
1908: THEN
1909: G_SCHED_DATE_CHANGED := TRUE;
1910: END IF;
1911: */

Line 1920: IF p_revised_item_rec.Transaction_Type = ENG_Globals.G_OPR_UPDATE

1916: -- For the Eco form, this flag should be set to true in Entity Defaulting
1917: -- once, this flag is overwritten based on validation in ENGLRITB.pls
1918: -- set this flag, if from unit number is changed, we need to update
1919: -- components in this case also.
1920: IF p_revised_item_rec.Transaction_Type = ENG_Globals.G_OPR_UPDATE
1921: AND (NVL( p_revised_item_rec.new_effective_date,
1922: p_revised_item_rec.start_effective_date )
1923: <> p_old_revised_item_rec.start_effective_date)
1924: THEN

Line 1970: /* IF l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_UPDATE AND

1966: /* Changed upon ITI's request. Earlier warnings weren't being
1967: logged and mrp_active blindly being overwritten
1968: By AS on 11/10/99
1969: */
1970: /* IF 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 <> 2

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

1982: , x_Mesg_Token_Tbl => l_Mesg_Token_Tbl
1983: , p_Token_Tbl => l_Token_Tbl
1984: , p_message_type => 'W');
1985: END IF;
1986: ELSIF l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_UPDATE AND
1987: l_revised_item_rec.status_type <> 2 AND
1988: l_revised_item_rec.status_type <>
1989: p_old_revised_item_rec.status_type AND
1990: l_revised_item_rec.mrp_active <> 1

Line 2096: AND l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_UPDATE

2092: OR
2093: ( l_revised_item_rec.updated_routing_revision IS NOT NULL AND
2094: l_revised_item_rec.new_routing_revision IS NULL )
2095: )
2096: AND l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_UPDATE
2097: )
2098: OR
2099: l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_CREATE
2100: THEN

Line 2099: l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_CREATE

2095: )
2096: AND l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_UPDATE
2097: )
2098: OR
2099: l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_CREATE
2100: THEN
2101:
2102: IF Bom_Globals.Get_Debug = 'Y' THEN Error_Handler.Write_Debug
2103: ( 'Checking for routing revision: ' || p_revised_item_rec.new_routing_revision );

Line 2107: ENG_Globals.G_OPR_CREATE

2103: ( 'Checking for routing revision: ' || p_revised_item_rec.new_routing_revision );
2104: END IF;
2105:
2106: IF l_revised_item_rec.transaction_type =
2107: ENG_Globals.G_OPR_CREATE
2108: THEN
2109: FOR x_count IN c_Rtg_CheckRevision
2110: ( p_revision => l_revised_item_rec.new_routing_revision)
2111: LOOP

Line 2142: ELSIF l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_UPDATE

2138:
2139: G_DEL_UPD_INS_RTG_REV := 2;
2140: END IF;
2141:
2142: ELSIF l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_UPDATE
2143: THEN
2144:
2145: l_current_rtg_revision :=
2146: Get_Current_Rtg_Revision

Line 2349: IF l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_CREATE

2345: Error_Handler.Write_Debug('To Wo : ' || to_char(l_rev_item_unexp_rec.to_wip_entity_id)) ;
2346: END IF ;
2347:
2348: -- Modified by MK on 10/30/2000
2349: IF l_revised_item_rec.transaction_type = ENG_Globals.G_OPR_CREATE
2350: AND (l_revised_item_rec.mrp_active <> 2 OR
2351: l_revised_item_rec.update_wip <> 1 )
2352: AND
2353: ( l_revised_item_rec.lot_number IS NOT NULL OR

Line 2384: IF l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_UPDATE

2380: -- Set G_ECO_FOR_PROD_CHANGED to True if user is trying to
2381: -- update ECO_FOR_PRODUCTION
2382: -- Added by MK on 10/24/2000
2383: ***********************************************************************/
2384: IF l_revised_item_rec.transaction_type = ENG_GLOBALS.G_OPR_UPDATE
2385: AND ( l_revised_item_rec.eco_for_production
2386: <> p_old_revised_item_rec.eco_for_production OR
2387: ( l_revised_item_rec.eco_for_production IS NOT NULL AND
2388: p_old_revised_item_rec.eco_for_production IS NULL )