EAP: Argentina - Division By Zero Error When Applying Sales Tax On A Standard Voucher (Doc ID 2166143.1)

Last updated on JULY 28, 2016

Applies to:

PeopleSoft Enterprise FIN Payables Argentina - Version 9.1 to 9.1 [Release 9]
Information in this document applies to any platform.

Symptoms

Division by zero error occurs when applying Sales Tax on a standard voucher.

STEPS:

1. Create a Regular Voucher
2. Complete the header data as bellow:

- Business Unit: Business unit located to Argentina with VAT tax and perceptions
- Tax: The vendor invoice is VAT , Sales Tax (perception) and Miscellaneous (Fuel tax)
- amounts:
a. Total: 613.01
b. Entered VAT: 78.85
c. Sales Tax: 13.00
d. Miscellaneous: 140.00
e. Invoice Line: 381.11

Note: It loads the value of miscellaneous first; second the sales tax ; third: When choosing the type of tax system gives the error message when dividing by zero:

"
Error Message: Decimal division by zero occurred. (180,109) VOUCHER.FREIGHT_AMT.FieldFormula Name:prorate_to_distrib PCPC:47514 Statement:786
Called from:VOUCHER.MISC_AMT.SaveEdit Name:process_misc_amt Statement:32
Called from:VCHR_HDR_WRK.XFR_SALETX_PB.FieldChange Statement:4

A division by zero occurred. Review the PeopleCode being executed to determine why the error occurred. Make sure that zero values are checked for and that appropriate error handling exists
"

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms