962: l_trans_obj_vers_num number;
963: l_processing_order number := 1;
964: --
965: begin
966: l_transaction_id := hr_transaction_ss.get_transaction_id
967: (p_item_type => p_item_type
968: ,p_item_key => p_item_key);
969:
970: if l_transaction_id is null then
967: (p_item_type => p_item_type
968: ,p_item_key => p_item_key);
969:
970: if l_transaction_id is null then
971: hr_transaction_ss.start_transaction
972: (itemtype => p_item_type
973: ,itemkey => p_item_key
974: ,actid => p_activity_id
975: ,funmode => 'RUN'
975: ,funmode => 'RUN'
976: ,p_login_person_id => p_login_person_id
977: ,result => l_result);
978:
979: l_transaction_id := hr_transaction_ss.get_transaction_id
980: (p_item_type => p_item_type
981: ,p_item_key => p_item_key);
982: end if;
983: