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 837: if FND_FLEX_DSC_API.context_exists(

833: -- Create the dummy context
834: --
835:
836:
837: if FND_FLEX_DSC_API.context_exists(
838: P_APPL_SHORT_NAME => p_appl_short_name,
839: P_FLEXFIELD_NAME => p_flexfield_name,
840: P_CONTEXT_CODE => 'Dummy '||initcap(p_context_name)||' Context'
841: ) then

Line 842: FND_FLEX_DSC_API.delete_context(

838: P_APPL_SHORT_NAME => p_appl_short_name,
839: P_FLEXFIELD_NAME => p_flexfield_name,
840: P_CONTEXT_CODE => 'Dummy '||initcap(p_context_name)||' Context'
841: ) then
842: FND_FLEX_DSC_API.delete_context(
843: APPL_SHORT_NAME => p_appl_short_name,
844: FLEXFIELD_NAME => p_flexfield_name,
845: CONTEXT => 'Dummy '||initcap(p_context_name)||' Context');
846:

Line 849: FND_FLEX_DSC_API.create_context(

845: CONTEXT => 'Dummy '||initcap(p_context_name)||' Context');
846:
847: end if; -- Does this element context exist?
848:
849: FND_FLEX_DSC_API.create_context(
850: APPL_SHORT_NAME => p_appl_short_name,
851: FLEXFIELD_NAME => p_flexfield_name,
852: CONTEXT_CODE => 'Dummy '||initcap(p_context_name)||' Context',
853: CONTEXT_NAME => 'Dummy '||initcap(p_context_name)||' Context',

Line 884: FND_FLEX_DSC_API.create_segment(

880: --
881:
882: for i in 1..p_max_segments LOOP
883:
884: FND_FLEX_DSC_API.create_segment(
885: APPL_SHORT_NAME => p_appl_short_name,
886: FLEXFIELD_NAME => p_flexfield_name,
887: CONTEXT_NAME => 'Dummy '||initcap(p_context_name)||' Context',
888: NAME => p_segment_name_prefix||to_char(i),

Line 943: FND_FLEX_DSC_API.create_segment(

939: l_map_comp_field_name := 'NA_ZIP_CODE';
940: l_map_comp_name := 'NA Zip Code';
941: END IF;
942:
943: FND_FLEX_DSC_API.create_segment(
944: APPL_SHORT_NAME => p_appl_short_name,
945: FLEXFIELD_NAME => p_flexfield_name,
946: CONTEXT_NAME => 'Dummy '||initcap(p_context_name)||' Context',
947: NAME => l_segment_name_prefix,

Line 1025: FND_FLEX_DSC_API.create_segment(

1021: -- Create the segment in the OTC flex as it's
1022: -- defined in the other flexfield
1023: --
1024:
1025: FND_FLEX_DSC_API.create_segment(
1026: APPL_SHORT_NAME => p_otc_appl_short_name,
1027: FLEXFIELD_NAME => p_otc_flex_name,
1028: CONTEXT_NAME => p_context_code,
1029: NAME => l_segments.segment_name(l_segment_index),

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

1135: end if;
1136: --
1137: -- Tell the API we're seeding data
1138: --
1139: FND_FLEX_DSC_API.set_session_mode('seed_data');
1140: --
1141: -- First fetch the flexfield
1142: --
1143: FND_DFLEX.get_flexfield

Line 1207: if FND_FLEX_DSC_API.context_exists

1203: IF (LENGTH(l_contexts.context_code(l_context_index)) <=
1204: 30-((LENGTH(p_context_prefix)+3))) THEN
1205: -- Follow the existing logic
1206:
1207: if FND_FLEX_DSC_API.context_exists
1208: (P_APPL_SHORT_NAME => p_otc_appl_short_name,
1209: P_FLEXFIELD_NAME => p_otc_flex_name,
1210: P_CONTEXT_CODE => substr(p_context_prefix||' - '||l_contexts.context_code(l_context_index),1,30)
1211: ) then

Line 1212: FND_FLEX_DSC_API.delete_context

1208: (P_APPL_SHORT_NAME => p_otc_appl_short_name,
1209: P_FLEXFIELD_NAME => p_otc_flex_name,
1210: P_CONTEXT_CODE => substr(p_context_prefix||' - '||l_contexts.context_code(l_context_index),1,30)
1211: ) then
1212: FND_FLEX_DSC_API.delete_context
1213: (APPL_SHORT_NAME => p_otc_appl_short_name,
1214: FLEXFIELD_NAME => p_otc_flex_name,
1215: CONTEXT => substr(p_context_prefix||' - '||l_contexts.context_code(l_context_index),1,30));
1216:

Line 1219: FND_FLEX_DSC_API.create_context

1215: CONTEXT => substr(p_context_prefix||' - '||l_contexts.context_code(l_context_index),1,30));
1216:
1217: end if; -- Does this context exist?
1218:
1219: FND_FLEX_DSC_API.create_context
1220: (APPL_SHORT_NAME => p_otc_appl_short_name,
1221: FLEXFIELD_NAME => p_otc_flex_name,
1222: CONTEXT_CODE => substr(p_context_prefix||' - '||l_contexts.context_code(l_context_index),1,30),
1223: CONTEXT_NAME => l_contexts.context_name(l_context_index),

Line 1280: IF (not fnd_flex_dsc_api.context_exists

1276: -- the OTL Information Types, then do nothing else
1277: -- create the context code like PAEXPITDFFC -
1278: -- 14235252
1279:
1280: IF (not fnd_flex_dsc_api.context_exists
1281: (p_appl_short_name=> p_otc_appl_short_name,
1282: p_flexfield_name=> p_otc_flex_name,
1283: p_context_code=>substr( p_context_prefix || ' - '|| l_contexts.context_code(l_context_index), 1, 30))
1284: )THEN

Line 1306: fnd_flex_dsc_api.delete_context

1302:
1303: if (l_sequence_code is not null) then
1304: -- The context code exist and so it requires
1305: -- to be deleted and once again created
1306: fnd_flex_dsc_api.delete_context
1307: (appl_short_name=> p_otc_appl_short_name,
1308: flexfield_name=> p_otc_flex_name,
1309: CONTEXT=> l_sequence_code
1310: );

Line 1343: fnd_flex_dsc_api.create_context

1339: --with the above name and the text as 'System
1340: --context, do not modify''
1341: l_message := hr_utility.get_message;
1342: -- Creates the context
1343: fnd_flex_dsc_api.create_context
1344: (appl_short_name=> p_otc_appl_short_name,
1345: flexfield_name=> p_otc_flex_name,
1346: context_code=> l_sequence_code,
1347: context_name=> p_context_prefix

Line 1404: if FND_FLEX_DSC_API.context_exists

1400: (flexfield => l_flex,
1401: context_code =>'Global Data Elements'
1402: );
1403:
1404: if FND_FLEX_DSC_API.context_exists
1405: (P_APPL_SHORT_NAME => p_otc_appl_short_name,
1406: P_FLEXFIELD_NAME => p_otc_flex_name,
1407: P_CONTEXT_CODE => substr(p_context_prefix||' - GLOBAL',1,30)
1408: ) then

Line 1409: FND_FLEX_DSC_API.delete_context

1405: (P_APPL_SHORT_NAME => p_otc_appl_short_name,
1406: P_FLEXFIELD_NAME => p_otc_flex_name,
1407: P_CONTEXT_CODE => substr(p_context_prefix||' - GLOBAL',1,30)
1408: ) then
1409: FND_FLEX_DSC_API.delete_context
1410: (APPL_SHORT_NAME => p_otc_appl_short_name,
1411: FLEXFIELD_NAME => p_otc_flex_name,
1412: CONTEXT => substr(p_context_prefix||' - GLOBAL',1,30)
1413: );

Line 1417: FND_FLEX_DSC_API.create_context

1413: );
1414:
1415: end if; -- Does this context exist?
1416:
1417: FND_FLEX_DSC_API.create_context
1418: (APPL_SHORT_NAME => p_otc_appl_short_name,
1419: FLEXFIELD_NAME => p_otc_flex_name,
1420: CONTEXT_CODE => substr(p_context_prefix||' - GLOBAL',1,30),
1421: CONTEXT_NAME => substr(p_context_prefix||' - GLOBAL',1,30),

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

1651: --
1652: -- Tell the flex field API we're seeding data
1653: --
1654:
1655: FND_FLEX_DSC_API.set_session_mode('seed_data');
1656: -- Create alias definitions (Enabled and Disabled) and for the element set,
1657: -- if it does not already exist.
1658: --
1659: --

Line 1872: if FND_FLEX_DSC_API.context_exists(

1868: close csr_chk_repname_exists;
1869: END IF;
1870: --
1871: --
1872: if FND_FLEX_DSC_API.context_exists(
1873: P_APPL_SHORT_NAME => l_appl_short_name,
1874: P_FLEXFIELD_NAME => l_flexfield_name,
1875: P_CONTEXT_CODE => 'ELEMENT - '|| ele_rec.element_type_id
1876: ) then

Line 1877: FND_FLEX_DSC_API.delete_context(

1873: P_APPL_SHORT_NAME => l_appl_short_name,
1874: P_FLEXFIELD_NAME => l_flexfield_name,
1875: P_CONTEXT_CODE => 'ELEMENT - '|| ele_rec.element_type_id
1876: ) then
1877: FND_FLEX_DSC_API.delete_context(
1878: APPL_SHORT_NAME => l_appl_short_name,
1879: FLEXFIELD_NAME => l_flexfield_name,
1880: CONTEXT => 'ELEMENT - '|| ele_rec.element_type_id);
1881:

Line 1884: FND_FLEX_DSC_API.create_context(

1880: CONTEXT => 'ELEMENT - '|| ele_rec.element_type_id);
1881:
1882: end if; -- Does this element context exist?
1883:
1884: FND_FLEX_DSC_API.create_context(
1885: APPL_SHORT_NAME => l_appl_short_name,
1886: FLEXFIELD_NAME => l_flexfield_name,
1887: CONTEXT_CODE => 'ELEMENT - '|| ele_rec.element_type_id,
1888: CONTEXT_NAME => ele_rec.element_name,

Line 1962: FND_FLEX_DSC_API.create_segment(

1958:
1959: /* Bug 5919417 Start */
1960:
1961:
1962: FND_FLEX_DSC_API.create_segment(
1963: APPL_SHORT_NAME => l_appl_short_name,
1964: FLEXFIELD_NAME => l_flexfield_name,
1965: CONTEXT_NAME => 'ELEMENT - '||ele_rec.element_type_id,
1966: NAME => ipv_rec.name,

Line 2003: FND_FLEX_DSC_API.create_segment(

1999: l_temp_segment_choice := 30;
2000: l_attr_prompt := 'Zipcode';
2001: end if;
2002:
2003: FND_FLEX_DSC_API.create_segment(
2004: APPL_SHORT_NAME => l_appl_short_name,
2005: FLEXFIELD_NAME => l_flexfield_name,
2006: CONTEXT_NAME => 'ELEMENT - '||ele_rec.element_type_id,
2007: NAME => l_attr_prompt,

Line 2123: if FND_FLEX_DSC_API.context_exists(

2119: /*
2120: If the context exists, delete it and recreate otherwise just create it
2121: */
2122:
2123: if FND_FLEX_DSC_API.context_exists(
2124: P_APPL_SHORT_NAME => l_appl_short_name,
2125: P_FLEXFIELD_NAME => l_flexfield_name,
2126: P_CONTEXT_CODE => l_key_flex_code||' - '
2127: ||to_char(l_key_structure_list(l_structure_count))

Line 2129: FND_FLEX_DSC_API.delete_context(

2125: P_FLEXFIELD_NAME => l_flexfield_name,
2126: P_CONTEXT_CODE => l_key_flex_code||' - '
2127: ||to_char(l_key_structure_list(l_structure_count))
2128: ) then
2129: FND_FLEX_DSC_API.delete_context(
2130: APPL_SHORT_NAME => l_appl_short_name,
2131: FLEXFIELD_NAME => l_flexfield_name,
2132: CONTEXT => l_key_flex_code||' - '
2133: ||to_char(l_key_structure_list(l_structure_count)));

Line 2145: FND_FLEX_DSC_API.create_context(

2141: l_key_structure := FND_FLEX_KEY_API.find_structure(
2142: flexfield => l_key_flex,
2143: structure_number => l_key_structure_list(l_structure_count));
2144:
2145: FND_FLEX_DSC_API.create_context(
2146: APPL_SHORT_NAME => l_appl_short_name,
2147: FLEXFIELD_NAME => l_flexfield_name,
2148: CONTEXT_CODE => l_key_flex_code||' - '
2149: ||to_char(l_key_structure_list(l_structure_count)),

Line 2195: FND_FLEX_DSC_API.create_segment(

2191: /*
2192: Create the descriptive flexfield segment for this corresponding segment
2193: */
2194:
2195: FND_FLEX_DSC_API.create_segment(
2196: APPL_SHORT_NAME => l_appl_short_name,
2197: FLEXFIELD_NAME => l_flexfield_name,
2198: CONTEXT_NAME => l_key_flex_code||' - '
2199: ||to_char(l_key_structure_list(l_structure_count)),