Skip to main content
Solved

Settling Detail Function in External Template


PamithK
Sidekick (Partner)
Forum|alt.badge.img+8
  • Sidekick (Partner)
  • 33 replies

Hi,

 

I am trying to set a RIGHT TRIM function in an external file template (bank statement), but it doesn’t seem to work when it is set according to the template shown in the LOV. My objective is to pick the first 100 characters of the uploaded field.

I get an unpack error as below

“ExtFileFunctionHandler.VALUEERROR2: Value error on column no TRANSACTION_INFO1 function no 10”

 

 

Any idea how to set this function detail? 

This is on Apps10 Upd13


Thank you

 

Pamith

Best answer by dsj

Hi @PamithK 

 

RIGHT_TRIM function removes the right-most characters defined in the set

 

If you need to pick the first 100 characters, use SUB_STRING function.

Function arguments:

COLUMN_REF(TRANSACTION_INFO1),1,100

 

Hope it helps!

Damith

 

View original
Did this topic help you find an answer to your question?

3 replies

dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 866 replies
  • Answer
  • January 31, 2024

Hi @PamithK 

 

RIGHT_TRIM function removes the right-most characters defined in the set

 

If you need to pick the first 100 characters, use SUB_STRING function.

Function arguments:

COLUMN_REF(TRANSACTION_INFO1),1,100

 

Hope it helps!

Damith

 


Forum|alt.badge.img+1
  • Do Gooder (Employee)
  • 1 reply
  • January 31, 2024

Hi Pamith

 

Just try as below. I also haven’t tried earlier.

 


PamithK
Sidekick (Partner)
Forum|alt.badge.img+8
  • Author
  • Sidekick (Partner)
  • 33 replies
  • January 31, 2024
dsj wrote:

Hi @PamithK 

 

RIGHT_TRIM function removes the right-most characters defined in the set

 

If you need to pick the first 100 characters, use SUB_STRING function.

Function arguments:

COLUMN_REF(TRANSACTION_INFO1),1,100

 

Hope it helps!

Damith

 

Thank you! this worked!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings