DBA Data[Home] [Help]

APPS.PN_VAR_TRUEUP_PKG dependencies on PN_VAR_TRUEUP_PKG

Line 1: PACKAGE BODY PN_VAR_TRUEUP_PKG AS

1: PACKAGE BODY PN_VAR_TRUEUP_PKG AS
2: -- $Header: PNVRTRPB.pls 120.0 2007/10/03 14:29:47 rthumma noship $
3:
4: TYPE two_nums_rec IS RECORD(
5: period_id NUMBER,

Line 888: PN_VAR_TRUEUP_PKG.apply_def_neg_rent(p_var_rent_id, p_period_id, inv_rec.var_rent_inv_id, l_abated_rent);

884:
885: --If this is a non cummulative apply_defered_neg_rent
886: --Do not apply def_neg_rent in TU invoices
887: IF (inv_rec.true_up_amt IS NULL) THEN
888: PN_VAR_TRUEUP_PKG.apply_def_neg_rent(p_var_rent_id, p_period_id, inv_rec.var_rent_inv_id, l_abated_rent);
889: ELSE
890: l_abated_rent := inv_rec.constr_actual_rent;
891: G_UNABATED_RENT(G_UNABATED_RENT.COUNT+1).period_id := p_period_id;
892: G_UNABATED_RENT(G_UNABATED_RENT.COUNT).amount := l_abated_rent;

Line 897: PN_VAR_TRUEUP_PKG.apply_allow(p_var_rent_id, p_period_id, inv_rec.var_rent_inv_id, l_allow_t, l_allow_tu_t, l_abated_rent);

893: END IF;
894:
895: IF (l_abat_order = pn_var_rent_calc_pkg.G_ALLOWANCE_FIRST) THEN
896: pnp_debug_pkg.log('call pnp_debug_pkg.log');
897: PN_VAR_TRUEUP_PKG.apply_allow(p_var_rent_id, p_period_id, inv_rec.var_rent_inv_id, l_allow_t, l_allow_tu_t, l_abated_rent);
898: pnp_debug_pkg.log('complete');
899: END IF;--Apply allowance.
900:
901:

Line 903: PN_VAR_TRUEUP_PKG.populate_abat(p_var_rent_id , p_period_id, inv_rec.var_rent_inv_id);

899: END IF;--Apply allowance.
900:
901:
902: pnp_debug_pkg.log('call populate_abat');
903: PN_VAR_TRUEUP_PKG.populate_abat(p_var_rent_id , p_period_id, inv_rec.var_rent_inv_id);
904: pnp_debug_pkg.log('complete');
905:
906:
907: pnp_debug_pkg.log('call apply_abat');

Line 908: PN_VAR_TRUEUP_PKG.apply_abat(p_var_rent_id, p_period_id, inv_rec.var_rent_inv_id, l_abated_rent);

904: pnp_debug_pkg.log('complete');
905:
906:
907: pnp_debug_pkg.log('call apply_abat');
908: PN_VAR_TRUEUP_PKG.apply_abat(p_var_rent_id, p_period_id, inv_rec.var_rent_inv_id, l_abated_rent);
909: pnp_debug_pkg.log('complete');
910:
911:
912: IF(l_abat_order <> pn_var_rent_calc_pkg.G_ALLOWANCE_FIRST) THEN

Line 914: PN_VAR_TRUEUP_PKG.apply_allow(p_var_rent_id, p_period_id, inv_rec.var_rent_inv_id, l_allow_t, l_allow_tu_t, l_abated_rent);

910:
911:
912: IF(l_abat_order <> pn_var_rent_calc_pkg.G_ALLOWANCE_FIRST) THEN
913: pnp_debug_pkg.log('call pnp_debug_pkg.log');
914: PN_VAR_TRUEUP_PKG.apply_allow(p_var_rent_id, p_period_id, inv_rec.var_rent_inv_id, l_allow_t, l_allow_tu_t, l_abated_rent);
915: pnp_debug_pkg.log('complete');
916: END IF;--Apply allowance
917:
918:

Line 921: PN_VAR_TRUEUP_PKG.populate_neg_rent(p_var_rent_id, p_period_id, inv_rec.var_rent_inv_id, l_abated_rent);

917:
918:
919: pnp_debug_pkg.log('called populate_neg_rent');
920: IF (inv_rec.true_up_amt IS NULL) THEN
921: PN_VAR_TRUEUP_PKG.populate_neg_rent(p_var_rent_id, p_period_id, inv_rec.var_rent_inv_id, l_abated_rent);
922: END IF;
923: pnp_debug_pkg.log('complete');
924:
925:

Line 2532: ELSIF pn_var_trueup_pkg.can_do_trueup

2528: LY, FLY
2529: */
2530: NULL;
2531:
2532: ELSIF pn_var_trueup_pkg.can_do_trueup
2533: ( p_var_rent_id => p_var_rent_id
2534: ,p_period_id => prd_rec.period_id)
2535: THEN
2536: /* no true up if calculation not done for all invoiceing periods

Line 2740: pn_var_trueup_pkg.post_summary_trueup

2736: END LOOP; /* loop for all lines in the period */
2737:
2738: pnp_debug_pkg.log(' tot_trueup_rent for Period : '||l_tot_trueup_rent);
2739: pnp_debug_pkg.log(' ');
2740: pn_var_trueup_pkg.post_summary_trueup
2741: ( p_var_rent_id => p_var_rent_id
2742: ,p_period_id => prd_rec.period_id
2743: ,p_proration_rule => l_proration_rule);
2744:

Line 2772: pn_var_trueup_pkg.insert_invoice_trueup

2768: l_proration_rule IN (pn_var_rent_calc_pkg.G_PRORUL_LY
2769: ,pn_var_rent_calc_pkg.G_PRORUL_FLY) AND
2770: prd_rec.partial_period = 'Y'))
2771: THEN
2772: pn_var_trueup_pkg.insert_invoice_trueup
2773: ( p_var_rent_id => p_var_rent_id
2774: ,p_period_id => prd_rec.period_id);
2775: END IF;
2776: END LOOP;

Line 2910: pn_var_trueup_pkg.calculate_trueup

2906:
2907: FOR vr_rec IN get_vr_prop_c(p_building_id => bld_rec.location_id)
2908: LOOP
2909:
2910: pn_var_trueup_pkg.calculate_trueup
2911: ( p_var_rent_id => vr_rec.var_rent_id
2912: ,p_prd_date => l_date);
2913:
2914: END LOOP;

Line 2922: pn_var_trueup_pkg.calculate_trueup

2918: ELSIF p_property_code IS NULL THEN
2919:
2920: FOR vr_rec IN get_vr_c LOOP
2921:
2922: pn_var_trueup_pkg.calculate_trueup
2923: ( p_var_rent_id => vr_rec.var_rent_id
2924: ,p_prd_date => l_date);
2925:
2926: END LOOP;

Line 2947: END PN_VAR_TRUEUP_PKG;

2943: RAISE;
2944: END;
2945:
2946:
2947: END PN_VAR_TRUEUP_PKG;