125: hr_data_pump.entry('call');
126: open cr;
127: fetch cr into c;
128: if cr%notfound then
129: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
130: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
131: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
132: hr_utility.set_message_token('VALUE',p_batch_line_id);
133: hr_utility.raise_error;
126: open cr;
127: fetch cr into c;
128: if cr%notfound then
129: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
130: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
131: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
132: hr_utility.set_message_token('VALUE',p_batch_line_id);
133: hr_utility.raise_error;
134: end if;
127: fetch cr into c;
128: if cr%notfound then
129: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
130: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
131: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
132: hr_utility.set_message_token('VALUE',p_batch_line_id);
133: hr_utility.raise_error;
134: end if;
135: --
128: if cr%notfound then
129: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
130: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
131: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
132: hr_utility.set_message_token('VALUE',p_batch_line_id);
133: hr_utility.raise_error;
134: end if;
135: --
136: if c.p1 is null then
129: hr_utility.set_message(800,'HR_50326_DP_NO_ROW');
130: hr_utility.set_message_token('TABLE','HR_PUMP_BATCH_LINES');
131: hr_utility.set_message_token('COLUMN','P_BATCH_LINE_ID');
132: hr_utility.set_message_token('VALUE',p_batch_line_id);
133: hr_utility.raise_error;
134: end if;
135: --
136: if c.p1 is null then
137: L_BALANCE_TYPE_ID:=nn;