R12:JE: JEPTSGEN: Portuguese Billing Transactions Signature Generation Program - Error:Given final block not properly padded
(Doc ID 2758632.1)
Last updated on JUNE 17, 2022
Oracle Financials for EMEA - Version 12.2.8 and later Information in this document applies to any platform.
On : 12.2.8 version, Portugal Localizations for AR
Not able to complete Portugal manual invoice
When we are trying to complete manual invoices related to Portugalerror is coming.
APP-JE-68162: Signature cannot be generated because previous transaction using same document sequence doesn't have signature. Ensure the signature is generated for the previous transaction before proceeding.
STEPS ----------------------- The issue can be reproduced at will with the following steps: 1. Log in to the Receivables responsibility 2. Create a manual transaction for Portugal OU 3. Complete transaction
BUSINESS IMPACT ----------------------- The issue has the following business impact: Due to this issue, users cannot create manual transactions.
The key was already hard coded in code (with byte array), an alternative approach was also to hard code the decrypted key from Cipher. To do this, we need to run the class and allow the code to call the Cipher#doFinal. This can be done in local machine where-in we are not experiencing the issue. The Cipher#doFinal method will return the byte array. From there, we can get the contents of the byte array, add it in the code and thus, we don't need to call the Cipher#doFinal since we already have the byte array. The return of this method will always be the same since the key was already hard coded.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!