120:
121: exception when no_data_found then
122: -- Need to create new assignment action.
123: -- Also trashes the latest balances.
124: hrassact.inassact_main
125: (pactid => p_info.batchid
126: ,asgid => p_info.asgid
127: ,p_ass_action_seq => null
128: ,p_serial_number => null
236: * Returns the information in the general
237: * information record.
238: *
239: * Note that the current implementation of
240: * this function uses the existing hrassact
241: * inassact procedure. This avoids the need
242: * to clone the logic for retrospective
243: * adjustments. However, this means that
244: * it needs to be passed the element_entry_id
414: p_action_type in varchar2 default 'B',
415: p_run_result_id in number
416: )
417: is
418: udca hrassact.context_details;
419: tax_unit number;
420: begin
421:
422: /*
436: into tax_unit
437: from pay_assignment_actions
438: where assignment_action_id = p_assactid;
439: --
440: hrassact.set_action_context (p_assactid,
441: p_run_result_id,
442: p_element_entry_id,
443: tax_unit,
444: p_assignment_id,
450:
451: if p_action_type = 'B' then
452:
453: -- Make call to maintain latest balances.
454: hrassact.maintain_lat_bal (
455: assactid => p_assactid,
456: rrid => p_run_result_id,
457: eentryid => p_element_entry_id,
458: effdate => p_effdate,