DBA Data[Home] [Help]

APPS.HR_PRE_PAY dependencies on HR_PRE_PAY

Line 1: package body hr_pre_pay as

1: package body hr_pre_pay as
2: /* $Header: pyprepyt.pkb 120.3.12010000.1 2008/07/27 23:26:49 appldev ship $ */
3: --
4: -- Payment details record type
5: --

Line 79: hr_pre_pay.set_cash_rule(ppt.category,

75: ppt.validation_days valid_days,
76: ppm.percentage percentage,
77: ppm.amount amount,
78: opm.org_payment_method_id org_method,
79: hr_pre_pay.set_cash_rule(ppt.category,
80: opm.pmeth_information1) cash_rule,
81: opm.currency_code payment_currency,
82: ppt.pre_validation_required validation_required,
83: ppt.validation_value validation_value,

Line 216: hr_utility.set_location('HR_PRE_PAY.INS_COIN_EL',2);

212: if (cash_detail.val_mode = 'TRANSFER') then
213: --
214: -- Now make the payment
215: --
216: hr_utility.set_location('HR_PRE_PAY.INS_COIN_EL',2);
217: --
218: insert into pay_coin_anal_elements(
219: coin_anal_element_id,
220: pre_payment_id,

Line 250: hr_utility.set_location('HR_PRE_PAY.PAY_COIN',1);

246: begin
247: --
248: -- Firstly get the monetary unit of the payment.
249: --
250: hr_utility.set_location('HR_PRE_PAY.PAY_COIN',1);
251: --
252: select pmu.monetary_unit_id
253: into monetary_unit
254: from pay_monetary_units pmu,

Line 318: hr_utility.set_location('HR_PRE_PAY.DO_CASH_ANALYSIS',1);

314: cash_detail.a_action_id := action_id;
315: --
316: -- Get the number of decimal places used by the currency
317: --
318: hr_utility.set_location('HR_PRE_PAY.DO_CASH_ANALYSIS',1);
319: --
320: select cur.precision
321: into cash_detail.precision
322: from fnd_currencies cur

Line 338: hr_utility.set_location('HR_PRE_PAY.DO_CASH_ANALYSIS',2);

334: -- represeneted in pay_coin_anal_elements already. Cash_left will
335: -- represent what hasn't been assigned a monetary unit.
336: -- Now pay this remainder by default.
337: --
338: hr_utility.set_location('HR_PRE_PAY.DO_CASH_ANALYSIS',2);
339: --
340: open coin_cursor(pay_currency, action_id);
341: --
342: -- Cursor orders by value (hi-lo). While there is cash left pay it.

Line 346: hr_utility.set_location('HR_PRE_PAY.DO_CASH_ANALYSIS',3);

342: -- Cursor orders by value (hi-lo). While there is cash left pay it.
343: --
344: while cash_detail.cash_left > 0 loop
345: --
346: hr_utility.set_location('HR_PRE_PAY.DO_CASH_ANALYSIS',3);
347: --
348: fetch coin_cursor into monetary_unit, factor;
349: --
350: if coin_cursor%notfound then

Line 404: hr_utility.set_location('HR_PRE_PAY.DO_CASH_ANALYSIS',4);

400: end if;
401: --
402: end loop;
403: --
404: hr_utility.set_location('HR_PRE_PAY.DO_CASH_ANALYSIS',4);
405: --
406: if (coin_cursor%ISOPEN) then
407: hr_utility.set_location('HR_PRE_PAY.DO_CASH_ANALYSIS',5);
408: close coin_cursor;

Line 407: hr_utility.set_location('HR_PRE_PAY.DO_CASH_ANALYSIS',5);

403: --
404: hr_utility.set_location('HR_PRE_PAY.DO_CASH_ANALYSIS',4);
405: --
406: if (coin_cursor%ISOPEN) then
407: hr_utility.set_location('HR_PRE_PAY.DO_CASH_ANALYSIS',5);
408: close coin_cursor;
409: end if;
410: --
411: end do_cash_analysis;

Line 662: hr_utility.set_location('HR_PRE_PAY.CREATE_PAYMENT',1);

658: if payment <> 0 then
659: --
660: -- Save the ID for cash analysis
661: --
662: hr_utility.set_location('HR_PRE_PAY.CREATE_PAYMENT',1);
663: --
664: payment_id := null;
665: declare
666: ins_cnt number;

Line 728: hr_utility.set_location('HR_PRE_PAY.PAY_METHOD',1);

724: begin
725: --
726: -- Get the percentage or amount to be paid
727: --
728: hr_utility.set_location('HR_PRE_PAY.PAY_METHOD',1);
729: --
730: select cur.precision
731: into cash_detail.precision
732: from fnd_currencies cur

Line 802: hr_utility.set_location('HR_PRE_PAY.VALIDATE_MAGNETIC',1);

798: p_effdate in date default null) return boolean is
799: --
800: begin
801: --
802: hr_utility.set_location('HR_PRE_PAY.VALIDATE_MAGNETIC',1);
803: --
804: if prenote_date is null then
805: --
806: -- insert a prenote entry.

Line 808: hr_utility.set_location('HR_PRE_PAY.VALIDATE_MAGNETIC',2);

804: if prenote_date is null then
805: --
806: -- insert a prenote entry.
807: --
808: hr_utility.set_location('HR_PRE_PAY.VALIDATE_MAGNETIC',2);
809: insert into pay_pre_payments
810: (pre_payment_id,
811: personal_payment_method_id,
812: org_payment_method_id,

Line 834: hr_utility.set_location('HR_PRE_PAY.VALIDATE_MAGNETIC',3);

830: --
831: return false;
832: --
833: end if;
834: hr_utility.set_location('HR_PRE_PAY.VALIDATE_MAGNETIC',3);
835: if valid_date >= prenote_date then
836: --
837: return true;
838: --

Line 867: hr_utility.set_location('HR_PRE_PAY.Initialise',1);

863: pay_bg_id number(16);
864: --
865: begin
866: --
867: hr_utility.set_location('HR_PRE_PAY.Initialise',1);
868: --
869: payroll_action := to_number(action_id);
870: --
871: begin

Line 877: hr_pre_pay.set_cash_rule(ppt.category,

873: select ppt.category,
874: UPPER(translate(pbt.balance_name,' ','_') ||
875: pbd.database_item_suffix),
876: pbt.currency_code,
877: hr_pre_pay.set_cash_rule(ppt.category,
878: opm.pmeth_information1),
879: opm.currency_code,
880: pp.default_payment_method_id,
881: ppa.effective_date,

Line 930: hr_utility.set_location('HR_PRE_PAY.Initialise',2);

926: --
927: end;
928: --
929: --
930: hr_utility.set_location('HR_PRE_PAY.Initialise',2);
931: --
932: begin
933: select plr.rule_mode
934: into g_adjust_ee_source

Line 948: hr_utility.set_location('HR_PRE_PAY.Initialise',3);

944: when no_data_found then
945: g_adjust_ee_source := 'A';
946: end;
947: --
948: hr_utility.set_location('HR_PRE_PAY.Initialise',3);
949: --
950: end initialise;
951: --
952: --

Line 974: hr_utility.set_location('HR_PRE_PAY.INIT_OVERRIDE',1);

970: --
971: pay_bg_id number(16);
972: begin
973: --
974: hr_utility.set_location('HR_PRE_PAY.INIT_OVERRIDE',1);
975: --
976: payroll_action := to_number(action_id);
977: override.payment_method_id := to_number(override_method);
978: --

Line 985: hr_pre_pay.set_cash_rule(ppt.category,

981: select ppt.category,
982: UPPER(translate(pbt.balance_name,' ','_') ||
983: pbd.database_item_suffix),
984: pbt.currency_code,
985: hr_pre_pay.set_cash_rule(ppt.category,
986: opm.pmeth_information1),
987: opm.currency_code,
988: ppa.payroll_id,
989: pp.negative_pay_allowed_flag,

Line 1510: hr_pre_pay.set_cash_rule(ppt.category,

1506: ppt.validation_days valid_days,
1507: rtom.percentage percentage,
1508: rtom.amount amount,
1509: opm.org_payment_method_id org_method,
1510: hr_pre_pay.set_cash_rule(ppt.category,
1511: opm.pmeth_information1) cash_rule,
1512: opm.currency_code payment_currency,
1513: ppt.pre_validation_required validation_required,
1514: ppt.validation_value validation_value,

Line 1550: hr_pre_pay.set_cash_rule(ppt.category,

1546: ppt.validation_days valid_days,
1547: ppm.percentage percentage,
1548: ppm.amount amount,
1549: opm.org_payment_method_id org_method,
1550: hr_pre_pay.set_cash_rule(ppt.category,
1551: opm.pmeth_information1) cash_rule,
1552: opm.currency_code payment_currency,
1553: ppt.pre_validation_required validation_required,
1554: ppt.validation_value validation_value,

Line 2436: hr_pre_pay.set_cash_rule(ppt.category,

2432: ppt.validation_days valid_days,
2433: ppm.percentage percentage,
2434: ppm.amount amount,
2435: opm.org_payment_method_id org_method,
2436: hr_pre_pay.set_cash_rule(ppt.category,
2437: opm.pmeth_information1) cash_rule,
2438: opm.currency_code payment_currency,
2439: ppt.pre_validation_required validation_required,
2440: ppt.validation_value validation_value,

Line 2680: hr_pre_pay.set_cash_rule(ppt.category,

2676: ppt.validation_days valid_days,
2677: 100 percentage,
2678: null amount,
2679: popm_par.org_payment_method_id org_method,
2680: hr_pre_pay.set_cash_rule(ppt.category,
2681: popm_par.pmeth_information1) cash_rule,
2682: popm_par.currency_code payment_currency,
2683: ppt.pre_validation_required validation_required,
2684: ppt.validation_value validation_value,

Line 3512: end hr_pre_pay;

3508: --
3509: end process_pact_rollup;
3510:
3511: --
3512: end hr_pre_pay;