Sunday, January 24, 2021

FND FLEX VALUE Add Value - fnd_flex_loader_apis.up_value_set_value

 DECLARE


CURSOR l_data Is

select * from xx.XX_HR_POZITION;


begin


FOR n_data IN l_data LOOP

fnd_flex_loader_apis.up_value_set_value (p_upload_phase             => 'BEGIN'

                                        ,p_upload_mode              => NULL

                                        ,p_custom_mode              => 'FORCE'

                                        ,p_flex_value_set_name      => 'XX_HR_POSITION'-

                                        ,p_parent_flex_value_low    => null

                                        ,p_flex_value               => n_data.flex_value

                                        ,p_owner                    => null

                                        ,p_last_update_date         => TO_CHAR(SYSDATE, 'YYYY/MM/DD HH24:MI:SS')

                                        ,p_enabled_flag             => 'Y'

                                        ,p_summary_flag             => 'N'

                                        ,p_start_date_active        => null

                                        ,p_end_date_active          => null

                                        ,p_parent_flex_value_high   => null

                                        ,p_rollup_flex_value_set_name   => NULL

                                        ,p_rollup_hierarchy_code        => null

                                        ,p_hierarchy_level              => null

                                        ,p_compiled_value_attributes    => NULL--'N'||CHR(10)||'Y'||CHR(10)||'A'||CHR(10)||'N'||CHR(10)||'Y' --'YN'

                                        ,p_value_category => null

                                        ,p_attribute1 => null

                                        ,p_attribute2 => null

                                        ,p_attribute3 => null

                                        ,p_attribute4 => null

                                        ,p_attribute5 => null

                                        ,p_attribute6 => null

                                        ,p_attribute7 => null

                                        ,p_attribute8 => null

                                        ,p_attribute9 => null

                                        ,p_attribute10 => null

                                        ,p_attribute11 => null

                                        ,p_attribute12 => null

                                        ,p_attribute13 => null

                                        ,p_attribute14 => null

                                        ,p_attribute15 => null

                                        ,p_attribute16 => null

                                        ,p_attribute17 => null

                                        ,p_attribute18 => null

                                        ,p_attribute19 => null

                                        ,p_attribute20 => null

                                        ,p_attribute21 => null

                                        ,p_attribute22 => null

                                        ,p_attribute23 => null

                                        ,p_attribute24 => null

                                        ,p_attribute25 => null

                                        ,p_attribute26 => null

                                        ,p_attribute27 => null

                                        ,p_attribute28 => null

                                        ,p_attribute29 => null

                                        ,p_attribute30 => null

                                        ,p_attribute31 => null

                                        ,p_attribute32 => null

                                        ,p_attribute33 => null

                                        ,p_attribute34 => null

                                        ,p_attribute35 => null

                                        ,p_attribute36 => null

                                        ,p_attribute37 => null

                                        ,p_attribute38 => null

                                        ,p_attribute39 => null

                                        ,p_attribute40 => null

                                        ,p_attribute41 => null

                                        ,p_attribute42 => null

                                        ,p_attribute43 => null

                                        ,p_attribute44 => null

                                        ,p_attribute45 => null

                                        ,p_attribute46 => null

                                        ,p_attribute47 => null

                                        ,p_attribute48 => null

                                        ,p_attribute49 => null

                                        ,p_attribute50 => null

                                        ,p_flex_value_meaning   => n_data.FLEX_VALUE_MEANING

                                        ,p_description          => n_data.description

                                        );

commit;


END LOOP;

end ;



No comments:

Post a Comment