DBA Data[Home] [Help]

APPS.PAY_PBF_BUS dependencies on PAY_PBF_BUS

Line 1: Package Body pay_pbf_bus as

1: Package Body pay_pbf_bus as
2: /* $Header: pypbfrhi.pkb 120.4 2011/01/25 09:17:04 asnell ship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

Line 8: g_package varchar2(33) := ' pay_pbf_bus.'; -- Global package name

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' pay_pbf_bus.'; -- Global package name
9: --
10: -- The following two global variables are only to be
11: -- used by the return_legislation_code function.
12: --

Line 121: if ( nvl(pay_pbf_bus.g_balance_feed_id, hr_api.g_number)

117: ,p_argument => 'balance_feed_id'
118: ,p_argument_value => p_balance_feed_id
119: );
120: --
121: if ( nvl(pay_pbf_bus.g_balance_feed_id, hr_api.g_number)
122: = p_balance_feed_id) then
123: --
124: -- The legislation code has already been found with a previous
125: -- call to this function. Just return the value in the global

Line 128: l_legislation_code := pay_pbf_bus.g_legislation_code;

124: -- The legislation code has already been found with a previous
125: -- call to this function. Just return the value in the global
126: -- variable.
127: --
128: l_legislation_code := pay_pbf_bus.g_legislation_code;
129: hr_utility.set_location(l_proc, 20);
130: else
131: --
132: -- The ID is different to the last call to this function

Line 152: pay_pbf_bus.g_balance_feed_id := p_balance_feed_id;

148: -- Set the global variables so the values are
149: -- available for the next call to this function.
150: --
151: close csr_leg_code;
152: pay_pbf_bus.g_balance_feed_id := p_balance_feed_id;
153: pay_pbf_bus.g_legislation_code := l_legislation_code;
154: end if;
155: hr_utility.set_location(' Leaving:'|| l_proc, 40);
156: return l_legislation_code;

Line 153: pay_pbf_bus.g_legislation_code := l_legislation_code;

149: -- available for the next call to this function.
150: --
151: close csr_leg_code;
152: pay_pbf_bus.g_balance_feed_id := p_balance_feed_id;
153: pay_pbf_bus.g_legislation_code := l_legislation_code;
154: end if;
155: hr_utility.set_location(' Leaving:'|| l_proc, 40);
156: return l_legislation_code;
157: end return_legislation_code;

Line 770: if not pay_pbf_bus.is_pay_value(p_input_value_id) then

766: l_allow_adjust_feed := False;
767: if hr_startup_data_api_support.return_startup_mode
768: IN ('STARTUP') then -- {startupMode
769: -- in startup node allow adjustment feeds to classification balance
770: if not pay_pbf_bus.is_pay_value(p_input_value_id) then
771: l_allow_adjust_feed := True;
772: end if;
773: end if; -- }startupMode
774:

Line 1347: pay_pbf_bus.chk_business_group_id

1343: END IF;
1344: --
1345: -- Validate the following before actually inserting balance feed
1346: --
1347: pay_pbf_bus.chk_business_group_id
1348: (p_business_group_id => p_rec.business_group_id
1349: ,p_input_value_id => p_rec.input_value_id
1350: ,p_effective_date => p_effective_date
1351: );

Line 1354: pay_pbf_bus.chk_legislation_code

1350: ,p_effective_date => p_effective_date
1351: );
1352: --
1353:
1354: pay_pbf_bus.chk_legislation_code
1355: (p_legislation_code => p_rec.legislation_code
1356: );
1357: --
1358:

Line 1359: pay_pbf_bus.chk_input_value_id

1355: (p_legislation_code => p_rec.legislation_code
1356: );
1357: --
1358:
1359: pay_pbf_bus.chk_input_value_id
1360: (p_input_value_id => p_rec.input_value_id
1361: ,p_business_group_id => p_rec.business_group_id
1362: ,p_legislation_code => p_rec.legislation_code
1363: );

Line 1366: pay_pbf_bus.chk_balance_type_id

1362: ,p_legislation_code => p_rec.legislation_code
1363: );
1364: --
1365:
1366: pay_pbf_bus.chk_balance_type_id
1367: (p_balance_type_id => p_rec.balance_type_id
1368: ,p_business_group_id => p_rec.business_group_id
1369: ,p_legislation_code => p_rec.legislation_code
1370: );

Line 1372: pay_pbf_bus.chk_uom

1368: ,p_business_group_id => p_rec.business_group_id
1369: ,p_legislation_code => p_rec.legislation_code
1370: );
1371: --
1372: pay_pbf_bus.chk_uom
1373: (p_input_value_id => p_rec.input_value_id
1374: ,p_balance_type_id => p_rec.balance_type_id
1375: ,p_effective_date => p_effective_date
1376: );

Line 1379: pay_pbf_bus.chk_currency_match

1375: ,p_effective_date => p_effective_date
1376: );
1377: --
1378:
1379: pay_pbf_bus.chk_currency_match
1380: (p_input_value_id => p_rec.input_value_id
1381: ,p_balance_type_id => p_rec.balance_type_id
1382: );
1383: --

Line 1385: pay_pbf_bus.chk_bal_feed_unique

1381: ,p_balance_type_id => p_rec.balance_type_id
1382: );
1383: --
1384:
1385: pay_pbf_bus.chk_bal_feed_unique
1386: (p_input_value_id => p_rec.input_value_id
1387: ,p_balance_type_id => p_rec.balance_type_id
1388: ,p_effective_date => p_effective_date
1389: );

Line 1392: pay_pbf_bus.chk_bal_class_exists

1388: ,p_effective_date => p_effective_date
1389: );
1390: --
1391:
1392: pay_pbf_bus.chk_bal_class_exists
1393: (p_balance_type_id => p_rec.balance_type_id,
1394: p_input_value_id => p_rec.input_value_id); -- # 10427303
1395:
1396: --

Line 1402: pay_pbf_bus.chk_initial_feed_exists

1398: IF hr_startup_data_api_support.g_startup_mode NOT IN ('STARTUP') THEN
1399: -- If trying to create an initial feed then check no other initial feed
1400: -- already exists
1401: if (get_balance_init_flag (p_input_value_id => p_rec.input_value_id) ) then
1402: pay_pbf_bus.chk_initial_feed_exists
1403: (p_balance_type_id => p_rec.balance_type_id
1404: ,p_business_group_id => p_rec.business_group_id
1405: ,p_legislation_code => p_rec.legislation_code
1406: );

Line 1412: pay_pbf_bus.chk_feed_ipv_life

1408: END IF; -- added for Bug #8721639
1409:
1410: --
1411:
1412: pay_pbf_bus.chk_feed_ipv_life
1413: (p_input_value_id => p_rec.input_value_id
1414: ,p_effective_date => p_effective_date
1415: );
1416:

Line 1423: pay_pbf_bus.is_pay_value(p_rec.input_value_id))

1419: -- balance feed or adjustment
1420: IF ((hr_startup_data_api_support.g_startup_mode NOT IN ('STARTUP')) or
1421: ((hr_startup_data_api_support.g_startup_mode = 'STARTUP') and
1422: ((not get_balance_init_flag(p_rec.input_value_id)) and
1423: pay_pbf_bus.is_pay_value(p_rec.input_value_id))
1424: )) THEN
1425: -- When creating a balance feed derive the end date
1426: -- ie. input value may be date effectively deleted in
1427: -- the future or there are future balance feeds.

Line 1466: pay_pbf_bus.chk_scale_value

1462:
1463: --
1464: -- Validate Dependent Attributes
1465: --
1466: pay_pbf_bus.chk_scale_value
1467: (p_scale => p_rec.scale
1468: ,p_input_value_id => p_rec.input_value_id
1469: ,p_effective_date => p_effective_date
1470: );

Line 1535: pay_pbf_bus.chk_bal_class_exists

1531: --
1532: --
1533: -- Validate the following before actually updating balance feed
1534: --
1535: pay_pbf_bus.chk_bal_class_exists
1536: (p_balance_type_id => p_rec.balance_type_id,
1537: p_input_value_id => p_rec.input_value_id); -- # 10427303
1538: --
1539: if hr_balance_feeds.bf_chk_proc_run_results

Line 1554: pay_pbf_bus.chk_scale_value

1550: end if;
1551: --
1552: -- Validate Dependent Attributes
1553: --
1554: pay_pbf_bus.chk_scale_value
1555: (p_scale => p_rec.scale
1556: ,p_input_value_id => p_rec.input_value_id
1557: ,p_effective_date => p_effective_date
1558: );

Line 1655: pay_pbf_bus.chk_bal_class_exists

1651:
1652: end if;
1653: --
1654:
1655: pay_pbf_bus.chk_bal_class_exists
1656: (p_balance_type_id => p_rec.balance_type_id,
1657: p_input_value_id => p_rec.input_value_id); -- # 10427303
1658:
1659: --

Line 1768: end pay_pbf_bus;

1764: hr_utility.set_location(' Leaving:'|| l_proc, 40);
1765: return l_is_pay_value;
1766: --
1767: End is_pay_value;
1768: end pay_pbf_bus;