Vous êtes sur la page 1sur 2

Exception: 013 On Approving a Requisition, The Tax Log

Shows No Data Found On HZ_GEOGRAPHIES Table (Doc ID


566590.1)

To
Bottom

In this Document
Symptoms
Cause
Solution
References

:APPLIES TO
Oracle E-Business Tax - Version: 12.0 to 12.0.4 - Release: 12.0 to 12.0
Information in this document applies to any platform.
***Checked for relevance on 28-JUL-2011***

SYMPTOMS
When attempting to save a PR / PO (Purchase Requisition / Purchase Order), the
:following error occurs
:Eror
An error occurred during Tax Calculation. Please correct the problem or contact
your System Administrator. Your transactions have been saved. Tax will be
.recalculated when the document is submitted for Approval

:When submitting the document for Approval the following error occurs
:Error
.Error Messages: Unexpected error occurred during Tax Calculation
Exception: 013 - An unexpected error has occurred. Please contact your system
.administrator
.Please correct the problem or contact your System Administrator
:Steps To Reproduce
.Create a requisition or purchase order .1
.Save the document - first error occurs .2
.Submit the document for Approval, the second error occurs .3
CAUSE
The Ship-To/Bill-To Location specified on requisition had an incorrect country code

assigned. Since the incorrect country code was not associated into the
. HZ_GEOGRAPHIES table the tax calculation was erroring
.Following error was seen in the trace
B: SEL hz_geo_name_ref: in: p_location_id=163,
p_geography_type=COUNTRY,
x_location_table_name=HR_LOCATIONS_ALL
S: SEL hz_geo_name_ref: no_data_found:
x_location_table_name=HR_LOCATIONS_ALL B: x_geography_id=,
p_geography_type=COUNTRY, p_location_id=163,
p_geography_type=COUNTRY

SOLUTION
:To implement the solution, please execute the following steps in test instance
Obtain the tax log, trace and file version as seen in Page 48 and Page 49(Under .1
section heading 'Tax Log and File Versions') of the whitepaper Note 464243.1 E.business Tax A Purchasing Perspective
In the trace check for the following string - "S: SEL hz_geo_name_ref: .2
"no_data_found
If the above string is found in the trace then follow below instructions, else this .3
.solution is not relevant for your issue
Login to the application and navigate to 'Purchasing Super User > Setup > .4
'Organization > Locations
Query the ship-to/bill-to location with the issue and set the country code in the .5
address to the correct value. Ensure the country code is associated correctly with the
.location by using the following query
SELECT 'Country Code Exists'
FROM hz_geographies
WHERE geography_code = '&country_code'
AND geography_type = 'COUNTRY';

If the above query returns 'Country Code Exists' then country code
specified is correct.
6. Retest the issue and migrate the solution as appropriate to other
environment.

Vous aimerez peut-être aussi