DBA Data[Home] [Help]

APPS.JG_EXTENDED_WITHHOLDING_PKG dependencies on JL_ZZ_AP_EXT_AWT_UTIL

Line 53: JL_ZZ_AP_EXT_AWT_UTIL.Debug('Current org_id ' || l_ou_id);

49:
50: l_ou_id := MO_GLOBAL.get_current_org_id; --bug 8501685
51:
52: --Bug 10079561 Start
53: JL_ZZ_AP_EXT_AWT_UTIL.Debug('Current org_id ' || l_ou_id);
54:
55: IF l_ou_id IS NULL THEN
56: JL_ZZ_AP_EXT_AWT_UTIL.Debug('MO_GLOBAL.get_current_org_id returned null, hence this is a PPR process ' ||
57: 'and not quick payment');

Line 56: JL_ZZ_AP_EXT_AWT_UTIL.Debug('MO_GLOBAL.get_current_org_id returned null, hence this is a PPR process ' ||

52: --Bug 10079561 Start
53: JL_ZZ_AP_EXT_AWT_UTIL.Debug('Current org_id ' || l_ou_id);
54:
55: IF l_ou_id IS NULL THEN
56: JL_ZZ_AP_EXT_AWT_UTIL.Debug('MO_GLOBAL.get_current_org_id returned null, hence this is a PPR process ' ||
57: 'and not quick payment');
58: Begin
59: -- For Argentian PPR process should be run for one org only
60: -- since the recommended setup is 1 (LE) - 1 (OU) - 1 (SOB/Ledger).

Line 62: JL_ZZ_AP_EXT_AWT_UTIL.Debug('Checking for multiple orgs for Checkrun name : ' || P_Checkrun_Name ||

58: Begin
59: -- For Argentian PPR process should be run for one org only
60: -- since the recommended setup is 1 (LE) - 1 (OU) - 1 (SOB/Ledger).
61: -- Hence Checking if the checkrun pays invoices of multiple orgs
62: JL_ZZ_AP_EXT_AWT_UTIL.Debug('Checking for multiple orgs for Checkrun name : ' || P_Checkrun_Name ||
63: ' and Checkrun ID : ' || P_Checkrun_ID);
64: SELECT DISTINCT Org_Id
65: into l_ou_id
66: FROM AP_SELECTED_INVOICES_ALL

Line 71: JL_ZZ_AP_EXT_AWT_UTIL.Debug('Org id :' || l_ou_id );

67: WHERE checkrun_name = P_Checkrun_Name
68: AND checkrun_id = P_Checkrun_id;
69:
70: -- One distinct org is found, hence setting the policy context for the org and then fetching the country code
71: JL_ZZ_AP_EXT_AWT_UTIL.Debug('Org id :' || l_ou_id );
72: mo_global.set_policy_context('S', l_ou_id);
73:
74: Exception
75: When others then

Line 77: JL_ZZ_AP_EXT_AWT_UTIL.Debug('Exception encountered, hence setting the country code to Null');

73:
74: Exception
75: When others then
76: -- Either multiple orgs are fetched or some other exception is encountered.
77: JL_ZZ_AP_EXT_AWT_UTIL.Debug('Exception encountered, hence setting the country code to Null');
78: l_country_code := NULL;
79: End;
80: End If;
81:

Line 83: JL_ZZ_AP_EXT_AWT_UTIL.Debug('Org id ' || l_ou_id || ' Country Code : ' || l_country_code);

79: End;
80: End If;
81:
82: l_country_code := jg_zz_shared_pkg.get_country(l_ou_id, NULL);
83: JL_ZZ_AP_EXT_AWT_UTIL.Debug('Org id ' || l_ou_id || ' Country Code : ' || l_country_code);
84: --Bug 10079561 End
85: -------------------------------------------------
86: -- Execute the Argentine Withholding Tax Routine
87: -------------------------------------------------