BI Publisher (MOSC)

MOSC Banner

Etext template sorting by a paymentpriority(a number field)

edited Dec 25, 2019 4:00AM in BI Publisher (MOSC) 13 commentsAnswered

I have updated one of our payment related etext templates as follows after adding a new field for payment priority.

The sorting by payment priority seems to be happen but it looks like it considers the field as a text field.

Therefore 45 is placed before 9 as the first char 4 is smaller than 9.

Can you please help me to fix this so that "PaymentPriority" is sorted as a number type?

Thanks!

<LEVEL> OutboundPayment
<SORT ASCENDING> PaymentPriority
<POSITION> <LENGTH> <FORMAT> <PAD> <DATA> <COMMENTS>
<NEW RECORD> FORMFEED
< DISPLAY CONDITION > SEQUENCE_NUMBER(PaySeq) > 1
1 4 Alpha  CHR(12) Formfeed
5 9 Date, DD-MON-YY  PaymentDate Payment Date
14  12 Number L, ‘ ’ PaymentPriority 

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center