848: if c_ledger_info%notfound then
849: --
850: -- The primary key is invalid therefore we must error
851: --
852: fnd_message.set_name('PAY', 'HR_7220_INVALID_PRIMARY_KEY');
853: fnd_message.raise_error;
854: end if;
855: close c_ledger_info;
856: end if;
849: --
850: -- The primary key is invalid therefore we must error
851: --
852: fnd_message.set_name('PAY', 'HR_7220_INVALID_PRIMARY_KEY');
853: fnd_message.raise_error;
854: end if;
855: close c_ledger_info;
856: end if;
857:
1457: if c_ledger_info%notfound then
1458: --
1459: -- The primary key is invalid therefore we must error
1460: --
1461: fnd_message.set_name('PAY', 'HR_7220_INVALID_PRIMARY_KEY');
1462: fnd_message.raise_error;
1463: end if;
1464: close c_ledger_info;
1465: --
1458: --
1459: -- The primary key is invalid therefore we must error
1460: --
1461: fnd_message.set_name('PAY', 'HR_7220_INVALID_PRIMARY_KEY');
1462: fnd_message.raise_error;
1463: end if;
1464: close c_ledger_info;
1465: --
1466: end if;