DBA Data[Home] [Help]

APPS.HR_DFLEX_UTILITY dependencies on FND_FLEX_DESCVAL

Line 301: -- inside the FND_FLEX_DESCVAL procedures.

297: --
298: -- Next retrieve the application column name corresponding to the segment
299: -- in error. We know where this is in the table because the sequence is
300: -- used as the order key. This should be the same sequence as is used
301: -- inside the FND_FLEX_DESCVAL procedures.
302: --
303: p_application_col_name := l_segment_info(p_error_seg_num).col1;
304: p_form_left_prompt := l_segment_info(p_error_seg_num).col2;
305: p_table_name := l_flexinfo.table_name;

Line 900: fnd_flex_descval.set_context_value

896: -- Populate the AOL details
897: --
898: -- Set the descriptive flex context value in AOL
899: --
900: fnd_flex_descval.set_context_value
901: (p_attribute_category
902: );
903: if g_debug then
904: hr_utility.set_location(l_proc, 40);

Line 922: fnd_flex_descval.set_column_value

918: l_attr_value := l_attr_set(l_attr_set_cnt).col2;
919: --
920: -- Add attribute details to AOL DF column details
921: --
922: fnd_flex_descval.set_column_value
923: (column_name => l_attr_name
924: ,column_value => l_attr_value
925: );
926: --

Line 936: if FND_FLEX_DESCVAL.validate_desccols

932: end if;
933: --
934: -- Validate DF column details passed to AOL
935: --
936: if FND_FLEX_DESCVAL.validate_desccols
937: (appl_short_name => p_appl_short_name
938: ,desc_flex_name => p_descflex_name
939: --5132936 start here
940: ,validation_date=>l_effective_date

Line 953: ||nvl(FND_FLEX_DESCVAL.segment_column_name(i),'NULL VALUE'),1,70),980);

949: -- Bug fix 1218702.Debug check added to improve performance.
950: if g_debug then
951: FOR i IN 1..20 loop
952: hr_utility.set_location(substr(to_char(i)||'...'
953: ||nvl(FND_FLEX_DESCVAL.segment_column_name(i),'NULL VALUE'),1,70),980);
954: END LOOP;
955: end if;
956: --
957: else

Line 962: ||nvl(to_char(fnd_flex_descval.error_segment),'CONTEXT'),1,70),970);

958: -- Bug fix 1218702.Debug check added to improve performance.
959: if g_debug then
960: hr_utility.set_location(substr('--====== FLEX VALUES =====--',1,70),69);
961: hr_utility.set_location(substr('Error segment:'
962: ||nvl(to_char(fnd_flex_descval.error_segment),'CONTEXT'),1,70),970);
963: FOR i IN 1..20 loop
964: hr_utility.set_location(substr(to_char(i)||'...'
965: ||nvl(FND_FLEX_DESCVAL.segment_column_name(i),'NULL VALUE'),1,70),980);
966: END LOOP;

Line 965: ||nvl(FND_FLEX_DESCVAL.segment_column_name(i),'NULL VALUE'),1,70),980);

961: hr_utility.set_location(substr('Error segment:'
962: ||nvl(to_char(fnd_flex_descval.error_segment),'CONTEXT'),1,70),970);
963: FOR i IN 1..20 loop
964: hr_utility.set_location(substr(to_char(i)||'...'
965: ||nvl(FND_FLEX_DESCVAL.segment_column_name(i),'NULL VALUE'),1,70),980);
966: END LOOP;
967: end if;
968: --
969: -- Raise or trap the AOL error

Line 973: -- The FND FLEX DESCVAL package makes a call to FND MESSAGE

969: -- Raise or trap the AOL error
970: --
971: hr_utility.set_location(l_proc, 60);
972: --
973: -- The FND FLEX DESCVAL package makes a call to FND MESSAGE
974: -- get encoded
975: hr_message.parse_encoded(p_encoded_error =>
976: FND_FLEX_DESCVAL.encoded_error_message);
977: hr_utility.set_location(l_proc, 62);

Line 976: FND_FLEX_DESCVAL.encoded_error_message);

972: --
973: -- The FND FLEX DESCVAL package makes a call to FND MESSAGE
974: -- get encoded
975: hr_message.parse_encoded(p_encoded_error =>
976: FND_FLEX_DESCVAL.encoded_error_message);
977: hr_utility.set_location(l_proc, 62);
978: --
979: if ((hr_message.last_message_app = 'FND') and
980: (hr_message.last_message_name = 'FLEX-VALUE NOT FOUND')) then

Line 995: l_error_seg := FND_FLEX_DESCVAL.error_segment;

991: -- First, work out which segment is in error, and change the
992: -- error message to indicate which of these segments is
993: -- is incorrect.
994: --
995: l_error_seg := FND_FLEX_DESCVAL.error_segment;
996: find_error_segment(p_appl_short_name => p_appl_short_name,
997: p_flexfield_name => p_descflex_name,
998: p_context_code => p_attribute_category,
999: p_error_seg_num => l_error_seg,

Line 1031: l_error_seg := FND_FLEX_DESCVAL.error_segment;

1027: -- First, work out which segment is in error, and change the
1028: -- error message to indicate which of these segments is
1029: -- is incorrect.
1030: --
1031: l_error_seg := FND_FLEX_DESCVAL.error_segment;
1032: find_error_segment(p_appl_short_name => p_appl_short_name,
1033: p_flexfield_name => p_descflex_name,
1034: p_context_code => p_attribute_category,
1035: p_error_seg_num => l_error_seg,

Line 1063: -- ,fnd_flex_descval.error_message

1059: -- Bug fix: 2504004
1060: hr_utility.set_location(l_proc, 69);
1061: -- dbms_standard.raise_application_error
1062: -- (-20001
1063: -- ,fnd_flex_descval.error_message
1064: -- );
1065: fnd_message.set_encoded
1066: (fnd_flex_descval.encoded_error_message);
1067: fnd_message.raise_error;

Line 1066: (fnd_flex_descval.encoded_error_message);

1062: -- (-20001
1063: -- ,fnd_flex_descval.error_message
1064: -- );
1065: fnd_message.set_encoded
1066: (fnd_flex_descval.encoded_error_message);
1067: fnd_message.raise_error;
1068: --
1069: end if;
1070: --

Line 1071: end if; -- FND_FLEX_DESCVAL.validate_desccols

1067: fnd_message.raise_error;
1068: --
1069: end if;
1070: --
1071: end if; -- FND_FLEX_DESCVAL.validate_desccols
1072: if g_debug then
1073: hr_utility.set_location(l_proc, 70);
1074: end if;
1075: --

Line 1101: l_enab_seg_count := fnd_flex_descval.segment_count;

1097: l_first_enab_segnum := 1;
1098: --
1099: -- Get the enabled segment count
1100: --
1101: l_enab_seg_count := fnd_flex_descval.segment_count;
1102: --
1103: for l_segment_cnt in l_first_enab_segnum..l_enab_seg_count loop
1104: --
1105: -- Get the segment column name

Line 1107: l_seg_column_name := fnd_flex_descval.segment_column_name(l_segment_cnt);

1103: for l_segment_cnt in l_first_enab_segnum..l_enab_seg_count loop
1104: --
1105: -- Get the segment column name
1106: --
1107: l_seg_column_name := fnd_flex_descval.segment_column_name(l_segment_cnt);
1108: --
1109: -- Check if the column name is set
1110: --
1111: if l_seg_column_name is not null then

Line 1182: l_id_out := fnd_flex_descval.segment_id(l_segment_cnt);

1178: l_context := TRUE;
1179: end if;
1180: --
1181: if not l_context then
1182: l_id_out := fnd_flex_descval.segment_id(l_segment_cnt);
1183: if l_id_in <> l_id_out
1184: or l_id_in IS NULL and l_id_out IS NOT NULL
1185: or l_id_in IS NOT NULL and l_id_out IS NULL then
1186: -- call find_error_segment to find table name