You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

BI Publisher conditional field masking

edited Dec 13, 2022 7:09AM in Taleo Enterprise

Content

I have the following code on a field in a Peoplesoft BI Publisher RTF template where it is masking the first 4 digits of the Bank Account number.

The problem is that sometimes the total Bank Account number length is less than 4 digits and when this happens it causes an negative array error on the lpad function to occur.

Can I wrap some kind of conditional IF statement around this where it will check the length of the bank account number and if it is longer than 5 digits than mask the first 4 digits, else (for Bank Account numbers less than 5 digits) just mask the first 2 digits. What would this look like?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!