EGL9.2: Unposting VAT Journals Encounterd 'ORA-00001: unique constraint (SYSADM.PS_JRNL_VAT) violated' At Step GL_JP_BOOKCD.Process.InsVAT / GL_JP_RVRSAL.Process.InsVAT (Doc ID 2300876.1)

Last updated on AUGUST 25, 2017

Applies to:

PeopleSoft Enterprise FIN General Ledger - Version 9.2 to 9.2 [Release 9]
Information in this document applies to any platform.

Symptoms

Issue:
-------
While a Journal having VAT details is unposted it fails with unique constraint error at step GL_JP_BOOKCD.Process.InsVAT if the Business unit + Ledger group combination has open period options selected as 'Open periods by Ledger code'.

Note:

It also fails at step GL_JP_RVRSAL.Process.InsVAT if the VAT Journal is having a related reversal journal.


Steps to Replicate:
---------------------

Steps for failure at step GL_JP_BOOKCD.Process.InsVAT:

1. Choose a Business unit + Ledger group combination which has open period options selected as 'Open periods by Ledger code'.
2. The Business unit should also be attached to a VAT entity. Make sure that appropriate VAT defaults have also been set up.
3. Create a Journal with VAT details.
4. Edit & Post the journal
5. Unpost the Journal.

Steps for failure at step GL_JP_RVRSAL.Process.InsVAT:

1. Choose a Business unit which is attached to a VAT entity. Make sure that appropriate VAT defaults have also been set up.
3. Create a Journal with VAT details & reversal option selected  to create reversals .
4. Edit & Post the journal & it's corresponding reversal journal.
5. Unpost the original Journal.



Error:
------

SQL Error: ORA-00001: unique constraint (SYSADM.PS_JRNL_VAT) violated

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