DBA Data[Home] [Help]

APPS.HXC_CREATE_FLEX_MAPPINGS dependencies on FND_FLEX_DSC_API

Line 272: if FND_FLEX_DSC_API.context_exists(

268: BEGIN
269:
270: for context_rec in c_flex(p_flex_context_basis) LOOP
271:
272: if FND_FLEX_DSC_API.context_exists(
273: P_APPL_SHORT_NAME => p_appl_short_name,
274: P_FLEXFIELD_NAME => p_flexfield_name,
275: P_CONTEXT_CODE => context_rec.bld_blk_info_type
276: ) then

Line 279: FND_FLEX_DSC_API.delete_context(

275: P_CONTEXT_CODE => context_rec.bld_blk_info_type
276: ) then
277:
278:
279: FND_FLEX_DSC_API.delete_context(
280: APPL_SHORT_NAME => p_appl_short_name,
281: FLEXFIELD_NAME => p_flexfield_name,
282: CONTEXT => context_rec.bld_blk_info_type);
283:

Line 936: if FND_FLEX_DSC_API.context_exists(

932: -- Create the dummy context
933: --
934:
935:
936: if FND_FLEX_DSC_API.context_exists(
937: P_APPL_SHORT_NAME => p_appl_short_name,
938: P_FLEXFIELD_NAME => p_flexfield_name,
939: P_CONTEXT_CODE => 'Dummy '||initcap(p_context_name)||' Context'
940: ) then

Line 941: FND_FLEX_DSC_API.delete_context(

937: P_APPL_SHORT_NAME => p_appl_short_name,
938: P_FLEXFIELD_NAME => p_flexfield_name,
939: P_CONTEXT_CODE => 'Dummy '||initcap(p_context_name)||' Context'
940: ) then
941: FND_FLEX_DSC_API.delete_context(
942: APPL_SHORT_NAME => p_appl_short_name,
943: FLEXFIELD_NAME => p_flexfield_name,
944: CONTEXT => 'Dummy '||initcap(p_context_name)||' Context');
945:

Line 948: FND_FLEX_DSC_API.create_context(

944: CONTEXT => 'Dummy '||initcap(p_context_name)||' Context');
945:
946: end if; -- Does this element context exist?
947:
948: FND_FLEX_DSC_API.create_context(
949: APPL_SHORT_NAME => p_appl_short_name,
950: FLEXFIELD_NAME => p_flexfield_name,
951: CONTEXT_CODE => 'Dummy '||initcap(p_context_name)||' Context',
952: CONTEXT_NAME => 'Dummy '||initcap(p_context_name)||' Context',

Line 983: FND_FLEX_DSC_API.create_segment(

979: --
980:
981: for i in 1..p_max_segments LOOP
982:
983: FND_FLEX_DSC_API.create_segment(
984: APPL_SHORT_NAME => p_appl_short_name,
985: FLEXFIELD_NAME => p_flexfield_name,
986: CONTEXT_NAME => 'Dummy '||initcap(p_context_name)||' Context',
987: NAME => p_segment_name_prefix||to_char(i),

Line 1042: FND_FLEX_DSC_API.create_segment(

1038: l_map_comp_field_name := 'NA_ZIP_CODE';
1039: l_map_comp_name := 'NA Zip Code';
1040: END IF;
1041:
1042: FND_FLEX_DSC_API.create_segment(
1043: APPL_SHORT_NAME => p_appl_short_name,
1044: FLEXFIELD_NAME => p_flexfield_name,
1045: CONTEXT_NAME => 'Dummy '||initcap(p_context_name)||' Context',
1046: NAME => l_segment_name_prefix,

Line 1124: FND_FLEX_DSC_API.create_segment(

1120: -- Create the segment in the OTC flex as it's
1121: -- defined in the other flexfield
1122: --
1123:
1124: FND_FLEX_DSC_API.create_segment(
1125: APPL_SHORT_NAME => p_otc_appl_short_name,
1126: FLEXFIELD_NAME => p_otc_flex_name,
1127: CONTEXT_NAME => p_context_code,
1128: NAME => l_segments.segment_name(l_segment_index),

Line 1238: FND_FLEX_DSC_API.set_session_mode('seed_data');

1234: end if;
1235: --
1236: -- Tell the API we're seeding data
1237: --
1238: FND_FLEX_DSC_API.set_session_mode('seed_data');
1239: --
1240: -- First fetch the flexfield
1241: --
1242: FND_DFLEX.get_flexfield

Line 1306: if FND_FLEX_DSC_API.context_exists

1302: IF (LENGTH(l_contexts.context_code(l_context_index)) <=
1303: 30-((LENGTH(p_context_prefix)+3))) THEN
1304: -- Follow the existing logic
1305:
1306: if FND_FLEX_DSC_API.context_exists
1307: (P_APPL_SHORT_NAME => p_otc_appl_short_name,
1308: P_FLEXFIELD_NAME => p_otc_flex_name,
1309: P_CONTEXT_CODE => substr(p_context_prefix||' - '||l_contexts.context_code(l_context_index),1,30)
1310: ) then

Line 1311: FND_FLEX_DSC_API.delete_context

1307: (P_APPL_SHORT_NAME => p_otc_appl_short_name,
1308: P_FLEXFIELD_NAME => p_otc_flex_name,
1309: P_CONTEXT_CODE => substr(p_context_prefix||' - '||l_contexts.context_code(l_context_index),1,30)
1310: ) then
1311: FND_FLEX_DSC_API.delete_context
1312: (APPL_SHORT_NAME => p_otc_appl_short_name,
1313: FLEXFIELD_NAME => p_otc_flex_name,
1314: CONTEXT => substr(p_context_prefix||' - '||l_contexts.context_code(l_context_index),1,30));
1315:

Line 1318: FND_FLEX_DSC_API.create_context

1314: CONTEXT => substr(p_context_prefix||' - '||l_contexts.context_code(l_context_index),1,30));
1315:
1316: end if; -- Does this context exist?
1317:
1318: FND_FLEX_DSC_API.create_context
1319: (APPL_SHORT_NAME => p_otc_appl_short_name,
1320: FLEXFIELD_NAME => p_otc_flex_name,
1321: CONTEXT_CODE => substr(p_context_prefix||' - '||l_contexts.context_code(l_context_index),1,30),
1322: CONTEXT_NAME => l_contexts.context_name(l_context_index),

Line 1379: IF (not fnd_flex_dsc_api.context_exists

1375: -- the OTL Information Types, then do nothing else
1376: -- create the context code like PAEXPITDFFC -
1377: -- 14235252
1378:
1379: IF (not fnd_flex_dsc_api.context_exists
1380: (p_appl_short_name=> p_otc_appl_short_name,
1381: p_flexfield_name=> p_otc_flex_name,
1382: p_context_code=>substr( p_context_prefix || ' - '|| l_contexts.context_code(l_context_index), 1, 30))
1383: )THEN

Line 1405: fnd_flex_dsc_api.delete_context

1401:
1402: if (l_sequence_code is not null) then
1403: -- The context code exist and so it requires
1404: -- to be deleted and once again created
1405: fnd_flex_dsc_api.delete_context
1406: (appl_short_name=> p_otc_appl_short_name,
1407: flexfield_name=> p_otc_flex_name,
1408: CONTEXT=> l_sequence_code
1409: );

Line 1442: fnd_flex_dsc_api.create_context

1438: --with the above name and the text as 'System
1439: --context, do not modify''
1440: l_message := hr_utility.get_message;
1441: -- Creates the context
1442: fnd_flex_dsc_api.create_context
1443: (appl_short_name=> p_otc_appl_short_name,
1444: flexfield_name=> p_otc_flex_name,
1445: context_code=> l_sequence_code,
1446: context_name=> p_context_prefix

Line 1503: if FND_FLEX_DSC_API.context_exists

1499: (flexfield => l_flex,
1500: context_code =>'Global Data Elements'
1501: );
1502:
1503: if FND_FLEX_DSC_API.context_exists
1504: (P_APPL_SHORT_NAME => p_otc_appl_short_name,
1505: P_FLEXFIELD_NAME => p_otc_flex_name,
1506: P_CONTEXT_CODE => substr(p_context_prefix||' - GLOBAL',1,30)
1507: ) then

Line 1508: FND_FLEX_DSC_API.delete_context

1504: (P_APPL_SHORT_NAME => p_otc_appl_short_name,
1505: P_FLEXFIELD_NAME => p_otc_flex_name,
1506: P_CONTEXT_CODE => substr(p_context_prefix||' - GLOBAL',1,30)
1507: ) then
1508: FND_FLEX_DSC_API.delete_context
1509: (APPL_SHORT_NAME => p_otc_appl_short_name,
1510: FLEXFIELD_NAME => p_otc_flex_name,
1511: CONTEXT => substr(p_context_prefix||' - GLOBAL',1,30)
1512: );

Line 1516: FND_FLEX_DSC_API.create_context

1512: );
1513:
1514: end if; -- Does this context exist?
1515:
1516: FND_FLEX_DSC_API.create_context
1517: (APPL_SHORT_NAME => p_otc_appl_short_name,
1518: FLEXFIELD_NAME => p_otc_flex_name,
1519: CONTEXT_CODE => substr(p_context_prefix||' - GLOBAL',1,30),
1520: CONTEXT_NAME => substr(p_context_prefix||' - GLOBAL',1,30),

Line 2001: FND_FLEX_DSC_API.set_session_mode('seed_data');

1997: --
1998: -- Tell the flex field API we're seeding data
1999: --
2000:
2001: FND_FLEX_DSC_API.set_session_mode('seed_data');
2002: -- Create alias definitions (Enabled and Disabled) and for the element set,
2003: -- if it does not already exist.
2004: --
2005: --

Line 2364: if FND_FLEX_DSC_API.context_exists(

2360: --
2361: END IF; --l_abs_elem_flg
2362:
2363:
2364: if FND_FLEX_DSC_API.context_exists(
2365: P_APPL_SHORT_NAME => l_appl_short_name,
2366: P_FLEXFIELD_NAME => l_flexfield_name,
2367: P_CONTEXT_CODE => 'ELEMENT - '|| ele_rec.element_type_id
2368: ) then

Line 2369: FND_FLEX_DSC_API.delete_context(

2365: P_APPL_SHORT_NAME => l_appl_short_name,
2366: P_FLEXFIELD_NAME => l_flexfield_name,
2367: P_CONTEXT_CODE => 'ELEMENT - '|| ele_rec.element_type_id
2368: ) then
2369: FND_FLEX_DSC_API.delete_context(
2370: APPL_SHORT_NAME => l_appl_short_name,
2371: FLEXFIELD_NAME => l_flexfield_name,
2372: CONTEXT => 'ELEMENT - '|| ele_rec.element_type_id);
2373:

Line 2376: FND_FLEX_DSC_API.create_context(

2372: CONTEXT => 'ELEMENT - '|| ele_rec.element_type_id);
2373:
2374: end if; -- Does this element context exist?
2375:
2376: FND_FLEX_DSC_API.create_context(
2377: APPL_SHORT_NAME => l_appl_short_name,
2378: FLEXFIELD_NAME => l_flexfield_name,
2379: CONTEXT_CODE => 'ELEMENT - '|| ele_rec.element_type_id,
2380: CONTEXT_NAME => ele_rec.element_name,

Line 2472: FND_FLEX_DSC_API.create_segment(

2468:
2469: /* Bug 5919417 Start */
2470:
2471:
2472: FND_FLEX_DSC_API.create_segment(
2473: APPL_SHORT_NAME => l_appl_short_name,
2474: FLEXFIELD_NAME => l_flexfield_name,
2475: CONTEXT_NAME => 'ELEMENT - '||ele_rec.element_type_id,
2476: NAME => ipv_rec.name,

Line 2513: FND_FLEX_DSC_API.create_segment(

2509: l_temp_segment_choice := 30;
2510: l_attr_prompt := 'Zipcode';
2511: end if;
2512:
2513: FND_FLEX_DSC_API.create_segment(
2514: APPL_SHORT_NAME => l_appl_short_name,
2515: FLEXFIELD_NAME => l_flexfield_name,
2516: CONTEXT_NAME => 'ELEMENT - '||ele_rec.element_type_id,
2517: NAME => l_attr_prompt,

Line 2646: if FND_FLEX_DSC_API.context_exists(

2642: /*
2643: If the context exists, delete it and recreate otherwise just create it
2644: */
2645:
2646: if FND_FLEX_DSC_API.context_exists(
2647: P_APPL_SHORT_NAME => l_appl_short_name,
2648: P_FLEXFIELD_NAME => l_flexfield_name,
2649: P_CONTEXT_CODE => l_key_flex_code||' - '
2650: ||to_char(l_key_structure_list(l_structure_count))

Line 2652: FND_FLEX_DSC_API.delete_context(

2648: P_FLEXFIELD_NAME => l_flexfield_name,
2649: P_CONTEXT_CODE => l_key_flex_code||' - '
2650: ||to_char(l_key_structure_list(l_structure_count))
2651: ) then
2652: FND_FLEX_DSC_API.delete_context(
2653: APPL_SHORT_NAME => l_appl_short_name,
2654: FLEXFIELD_NAME => l_flexfield_name,
2655: CONTEXT => l_key_flex_code||' - '
2656: ||to_char(l_key_structure_list(l_structure_count)));

Line 2668: FND_FLEX_DSC_API.create_context(

2664: l_key_structure := FND_FLEX_KEY_API.find_structure(
2665: flexfield => l_key_flex,
2666: structure_number => l_key_structure_list(l_structure_count));
2667:
2668: FND_FLEX_DSC_API.create_context(
2669: APPL_SHORT_NAME => l_appl_short_name,
2670: FLEXFIELD_NAME => l_flexfield_name,
2671: CONTEXT_CODE => l_key_flex_code||' - '
2672: ||to_char(l_key_structure_list(l_structure_count)),

Line 2718: FND_FLEX_DSC_API.create_segment(

2714: /*
2715: Create the descriptive flexfield segment for this corresponding segment
2716: */
2717:
2718: FND_FLEX_DSC_API.create_segment(
2719: APPL_SHORT_NAME => l_appl_short_name,
2720: FLEXFIELD_NAME => l_flexfield_name,
2721: CONTEXT_NAME => l_key_flex_code||' - '
2722: ||to_char(l_key_structure_list(l_structure_count)),