DBA Data[Home] [Help]

APPS.OE_DEFAULT_LINE dependencies on STANDARD

Line 1067: AND (p_x_line_rec.item_type_code = OE_GLOBALS.G_ITEM_STANDARD

1063: ELSIF (p_x_line_rec.sold_to_org_id IS NOT NULL
1064: AND p_x_line_rec.sold_to_org_id <> FND_API.G_MISS_NUM
1065: AND p_x_line_rec.inventory_item_id IS NOT NULL
1066: AND p_x_line_rec.inventory_item_id <> FND_API.G_MISS_NUM
1067: AND (p_x_line_rec.item_type_code = OE_GLOBALS.G_ITEM_STANDARD
1068: OR (p_x_line_rec.item_type_code = OE_GLOBALS.G_ITEM_KIT
1069: AND p_x_line_rec.top_model_line_id = p_x_line_rec.line_id)
1070: )
1071: -- Bug 2769562 => If blanket line number is being cleared by user

Line 1349: * and STANDARD */

1345:
1346:
1347: /* After getting ato_line_id, for top level parents and ato items,
1348: * we don't default any other columns for lines with item_type MODEL
1349: * and STANDARD */
1350:
1351: IF g_line_rec.item_type_code = OE_GLOBALS.G_ITEM_MODEL OR
1352: g_line_rec.item_type_code = OE_GLOBALS.G_ITEM_STANDARD
1353: THEN

Line 1352: g_line_rec.item_type_code = OE_GLOBALS.G_ITEM_STANDARD

1348: * we don't default any other columns for lines with item_type MODEL
1349: * and STANDARD */
1350:
1351: IF g_line_rec.item_type_code = OE_GLOBALS.G_ITEM_MODEL OR
1352: g_line_rec.item_type_code = OE_GLOBALS.G_ITEM_STANDARD
1353: THEN
1354: --{ bug3601544 starts
1355: IF l_debug_level > 0 THEN
1356: OE_DEBUG_PUB.Add('IB Owner: '||g_line_rec.ib_owner,3);

Line 1381: oe_debug_pub.add( 'RETURNING FOR ITEM TYPE MODEL AND STANDARD' , 1 ) ;

1377: END IF;
1378: -- bug3601544 ends }
1379:
1380: IF l_debug_level > 0 THEN
1381: oe_debug_pub.add( 'RETURNING FOR ITEM TYPE MODEL AND STANDARD' , 1 ) ;
1382: END IF;
1383: RETURN;
1384: END IF;
1385:

Line 1477: p_x_line_rec.item_type_code = OE_GLOBALS.G_ITEM_STANDARD OR

1473: /* These updates are valid only for Options/clasees/included items */
1474:
1475: IF p_x_line_rec.item_type_code = OE_GLOBALS.G_ITEM_SERVICE OR
1476: p_x_line_rec.item_type_code = OE_GLOBALS.G_ITEM_MODEL OR
1477: p_x_line_rec.item_type_code = OE_GLOBALS.G_ITEM_STANDARD OR
1478: (p_x_line_rec.item_type_code = OE_GLOBALS.G_ITEM_KIT AND
1479: p_x_line_rec.line_id = p_x_line_rec.top_modeL_line_id)
1480: THEN
1481:

Line 1483: oe_debug_pub.add( 'RETURNING FOR ITEM TYPE SERVICE , MODEL , STANDARD AND TOP LEVEL KITS' , 1 ) ;

1479: p_x_line_rec.line_id = p_x_line_rec.top_modeL_line_id)
1480: THEN
1481:
1482: IF l_debug_level > 0 THEN
1483: oe_debug_pub.add( 'RETURNING FOR ITEM TYPE SERVICE , MODEL , STANDARD AND TOP LEVEL KITS' , 1 ) ;
1484: END IF;
1485:
1486: RETURN;
1487: END IF;

Line 1605: (g_line_rec.item_type_code = OE_GLOBALS.G_ITEM_STANDARD AND

1601: -- build in wip flag, see if req?
1602:
1603: IF (g_line_rec.item_type_code = OE_GLOBALS.G_ITEM_MODEL AND
1604: l_replenish_to_order_flag = 'Y') OR
1605: (g_line_rec.item_type_code = OE_GLOBALS.G_ITEM_STANDARD AND
1606: l_replenish_to_order_flag = 'Y' AND
1607: l_build_in_wip_flag = 'Y')
1608: THEN
1609: IF l_debug_level > 0 THEN

Line 1965: RETURN OE_GLOBALS.G_ITEM_STANDARD;

1961: END IF;
1962:
1963:
1964: IF p_line_rec.line_category_code = OE_GLOBALS.G_RETURN_CATEGORY_CODE THEN
1965: RETURN OE_GLOBALS.G_ITEM_STANDARD;
1966: --- BUG#6933507 : retrun STANDARD in case of retrobill SO (type = ORDER)
1967: ELSIF p_line_rec.line_category_code = 'ORDER'
1968: and p_line_rec.retrobill_request_id is NOT NULL
1969: and p_line_rec.retrobill_request_id <> FND_API.G_MISS_NUM THEN

Line 1966: --- BUG#6933507 : retrun STANDARD in case of retrobill SO (type = ORDER)

1962:
1963:
1964: IF p_line_rec.line_category_code = OE_GLOBALS.G_RETURN_CATEGORY_CODE THEN
1965: RETURN OE_GLOBALS.G_ITEM_STANDARD;
1966: --- BUG#6933507 : retrun STANDARD in case of retrobill SO (type = ORDER)
1967: ELSIF p_line_rec.line_category_code = 'ORDER'
1968: and p_line_rec.retrobill_request_id is NOT NULL
1969: and p_line_rec.retrobill_request_id <> FND_API.G_MISS_NUM THEN
1970:

Line 1971: RETURN OE_GLOBALS.G_ITEM_STANDARD;

1967: ELSIF p_line_rec.line_category_code = 'ORDER'
1968: and p_line_rec.retrobill_request_id is NOT NULL
1969: and p_line_rec.retrobill_request_id <> FND_API.G_MISS_NUM THEN
1970:
1971: RETURN OE_GLOBALS.G_ITEM_STANDARD;
1972: --- BUG#6933507
1973: ELSIF p_line_rec.item_type_code = OE_GLOBALS.G_ITEM_CONFIG OR
1974: p_line_rec.item_type_code = OE_GLOBALS.G_ITEM_INCLUDED THEN
1975: RETURN p_line_rec.item_type_code;

Line 2037: -- STANDARD item, OPTION item and a KIT

2033: IF l_debug_level > 0 THEN
2034: oe_debug_pub.add( 'BOM 4 AND FLAG = N' ) ;
2035: END IF;
2036: -- Following 3 items can have bom_item_type = 4 :
2037: -- STANDARD item, OPTION item and a KIT
2038: -- We will distinguish an item to be a kit by seeing if
2039: -- it has a record in bom_bill_of_materials.
2040: -- All options MUST have the top_model_line_id populated
2041: -- before they come to defaulting. Thus we use it to distinguish

Line 2042: -- between a standard and an option item.

2038: -- We will distinguish an item to be a kit by seeing if
2039: -- it has a record in bom_bill_of_materials.
2040: -- All options MUST have the top_model_line_id populated
2041: -- before they come to defaulting. Thus we use it to distinguish
2042: -- between a standard and an option item.
2043: -- ato_item's item_type_code will be standard
2044:
2045: IF l_pick_components_flag = 'Y' THEN
2046: l_item_type_code := OE_GLOBALS.G_ITEM_KIT;

Line 2043: -- ato_item's item_type_code will be standard

2039: -- it has a record in bom_bill_of_materials.
2040: -- All options MUST have the top_model_line_id populated
2041: -- before they come to defaulting. Thus we use it to distinguish
2042: -- between a standard and an option item.
2043: -- ato_item's item_type_code will be standard
2044:
2045: IF l_pick_components_flag = 'Y' THEN
2046: l_item_type_code := OE_GLOBALS.G_ITEM_KIT;
2047: ELSIF (g_line_rec.top_model_line_id is not null AND

Line 2055: l_item_type_code := OE_GLOBALS.G_ITEM_STANDARD;

2051: oe_debug_pub.add( 'GET_ITEM_TYPE NO DATA FOUND , BOM_ITEM_TYPE : 4' , 1 ) ;
2052: END IF;
2053: l_item_type_code := OE_GLOBALS.G_ITEM_OPTION;
2054: ELSE
2055: l_item_type_code := OE_GLOBALS.G_ITEM_STANDARD;
2056: END IF;
2057:
2058: IF l_debug_level > 0 THEN
2059: oe_debug_pub.add( ' BEFORE CALLING CHECK 1' ) ;

Line 2093: l_item_type_code := OE_GLOBALS.G_ITEM_STANDARD;

2089: WHEN NO_DATA_FOUND THEN
2090: IF l_debug_level > 0 THEN
2091: oe_debug_pub.add( ' BEFORE CALLING CHECK 4' ) ;
2092: END IF;
2093: l_item_type_code := OE_GLOBALS.G_ITEM_STANDARD;
2094: --Procedure to check change in item_type_code
2095: Check_Item_Type(p_line_rec,
2096: p_old_line_rec,
2097: l_item_type_code);

Line 2598: OE_GLOBALS.G_ITEM_STANDARD) AND

2594: THEN
2595:
2596: -- ##1820608, ato_item can be under a pto model.
2597: IF NOT OE_GLOBALS.Equal(p_item_type_code,
2598: OE_GLOBALS.G_ITEM_STANDARD) AND
2599: NOT (p_item_type_code = OE_GLOBALS.G_ITEM_OPTION AND
2600: p_line_id = p_ato_line_id )
2601: THEN
2602:

Line 3510: p_x_line_rec.item_type_code := OE_GLOBALS.G_ITEM_STANDARD;

3506: p_x_line_rec.ordered_item := l_ref_line_rec.ordered_item ;
3507: p_x_line_rec.inventory_item_id := l_ref_line_rec.inventory_item_id;
3508: p_x_line_rec.item_identifier_type := l_ref_line_rec.item_identifier_type;
3509: p_x_line_rec.ordered_item_id := l_ref_line_rec.ordered_item_id;
3510: p_x_line_rec.item_type_code := OE_GLOBALS.G_ITEM_STANDARD;
3511: ELSE
3512: NULL;
3513: END IF;
3514: