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.10.12020000.6 2012/11/01 06:25:52 vmaripal 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 953: hr_utility.set_location('HR_PRE_PAY.Initialise',3);

949: g_adjust_ee_source := 'A';
950: end if;
951: end;
952: --
953: hr_utility.set_location('HR_PRE_PAY.Initialise',3);
954: --
955: end initialise;
956: --
957: --

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

975: --
976: pay_bg_id number(16);
977: begin
978: --
979: hr_utility.set_location('HR_PRE_PAY.INIT_OVERRIDE',1);
980: --
981: payroll_action := to_number(action_id);
982: override.payment_method_id := to_number(override_method);
983: --

Line 990: hr_pre_pay.set_cash_rule(ppt.category,

986: select ppt.category,
987: UPPER(translate(pbt.balance_name,' ','_') ||
988: pbd.database_item_suffix),
989: pbt.currency_code,
990: hr_pre_pay.set_cash_rule(ppt.category,
991: opm.pmeth_information1),
992: opm.currency_code,
993: ppa.payroll_id,
994: pp.negative_pay_allowed_flag,

Line 1515: hr_pre_pay.set_cash_rule(ppt.category,

1511: ppt.validation_days valid_days,
1512: rtom.percentage percentage,
1513: rtom.amount amount,
1514: opm.org_payment_method_id org_method,
1515: hr_pre_pay.set_cash_rule(ppt.category,
1516: opm.pmeth_information1) cash_rule,
1517: opm.currency_code payment_currency,
1518: ppt.pre_validation_required validation_required,
1519: ppt.validation_value validation_value,

Line 1555: hr_pre_pay.set_cash_rule(ppt.category,

1551: ppt.validation_days valid_days,
1552: ppm.percentage percentage,
1553: ppm.amount amount,
1554: opm.org_payment_method_id org_method,
1555: hr_pre_pay.set_cash_rule(ppt.category,
1556: opm.pmeth_information1) cash_rule,
1557: opm.currency_code payment_currency,
1558: ppt.pre_validation_required validation_required,
1559: ppt.validation_value validation_value,

Line 2461: hr_pre_pay.set_cash_rule(ppt.category,

2457: ppt.validation_days valid_days,
2458: ppm.percentage percentage,
2459: ppm.amount amount,
2460: opm.org_payment_method_id org_method,
2461: hr_pre_pay.set_cash_rule(ppt.category,
2462: opm.pmeth_information1) cash_rule,
2463: opm.currency_code payment_currency,
2464: ppt.pre_validation_required validation_required,
2465: ppt.validation_value validation_value,

Line 2716: hr_pre_pay.set_cash_rule(ppt.category,

2712: ppt.validation_days valid_days,
2713: 100 percentage,
2714: null amount,
2715: popm_par.org_payment_method_id org_method,
2716: hr_pre_pay.set_cash_rule(ppt.category,
2717: popm_par.pmeth_information1) cash_rule,
2718: popm_par.currency_code payment_currency,
2719: ppt.pre_validation_required validation_required,
2720: ppt.validation_value validation_value,

Line 3550: end hr_pre_pay;

3546: --
3547: end process_pact_rollup;
3548:
3549: --
3550: end hr_pre_pay;