264: open csr_action;
265: fetch csr_action into l_csr_action;
266: if csr_action%notfound then
267: close csr_action;
268: fnd_message.set_name('PAY','PAY_34985_INVALID_PAY_ACTION');
269: fnd_message.raise_error;
270: end if;
271: close csr_action;
272: --
265: fetch csr_action into l_csr_action;
266: if csr_action%notfound then
267: close csr_action;
268: fnd_message.set_name('PAY','PAY_34985_INVALID_PAY_ACTION');
269: fnd_message.raise_error;
270: end if;
271: close csr_action;
272: --
273: g_payroll_action_id := p_payroll_action_id;