10: -------------------------------< seterror >--------------------------------
11: procedure seterrorstage
12: (p_proc in varchar2, p_stage in varchar2, p_location in number) is
13: begin
14: hr_utility.set_location(p_proc || ':' || p_stage, p_location);
15: end seterrorstage;
16: -----------------------------< add_tx_row >-------------------------
17: --
18: -- {Start Of Comments}
918: end if;
919: --
920: -- Display a fatal error.
921: --
922: hr_utility.set_message
923: (applid => 800
924: ,l_message_name => 'PAY_52631_PPMSS_OPTION_ERROR'
925: );
926: hr_utility.set_message_token
922: hr_utility.set_message
923: (applid => 800
924: ,l_message_name => 'PAY_52631_PPMSS_OPTION_ERROR'
925: );
926: hr_utility.set_message_token
927: (l_token_name => 'OPTION'
928: ,l_token_value => p_option
929: );
930: hr_utility.raise_error;
926: hr_utility.set_message_token
927: (l_token_name => 'OPTION'
928: ,l_token_value => p_option
929: );
930: hr_utility.raise_error;
931: exception
932: when others then
933: raise;
934: end read_wf_config_option;