59: IF (G_LEVEL_STATEMENT >= G_CURRENT_RUNTIME_LEVEL) THEN
60: FND_LOG.STRING(G_LEVEL_STATEMENT,G_MODULE_NAME||DBG_Loc,debug_info);
61: END IF;
62:
63: FND_PROFILE.GET('JGZZ_COUNTRY_CODE', l_country_code);
64:
65: -- bug 4995343.Added a code hook to call Federal
66: -- package for interest calculation
67:
131: l_interest_grace_days := nvl(l_interest_grace_days,0);
132: l_penalty_rate_amount := nvl(l_penalty_rate_amount,0);
133:
134: -- Get the Calendar
135: FND_PROFILE.GET('JLBR_CALENDAR',l_calendar);
136: --
137: -- Get the payment_location profile, vendor_site_id for getting CITY
138: --
139: -- Get payment_location
136: --
137: -- Get the payment_location profile, vendor_site_id for getting CITY
138: --
139: -- Get payment_location
140: FND_PROFILE.GET('JLBR_PAYMENT_LOCATION',l_payment_location);
141:
142: -- Get vendor_site_id from ap_invoices
143: SELECT vendor_site_id
144: INTO l_vendor_site_id
161:
162: END IF;
163:
164: -- Get the payment_action
165: --FND_PROFILE.GET('JLBR_PAYMENT_ACTION',l_payment_action);
166: l_payment_action := JL_ZZ_SYS_OPTIONS_PKG.get_payment_action(l_org_id); --8493945
167:
168: l_interest_amount := 0;
169: l_days_late := 0;