Question

How to sort a text field (which contains numbers) as numbers and not alpabetical

  • 18 January 2024
  • 1 reply
  • 34 views

Userlevel 4
Badge +9
  • Hero (Partner)
  • 141 replies

Given following screen, the purchase requisition id is a text field and when you sort it, it sorts it alphabetical but you actually want it to sort it numerical. Are there any workaround  / tips / hints how we could make this sorting more user friendly? Seems in the page designer you cannot change the field type or so. 

 

 

 


1 reply

Userlevel 6
Badge +13

Even though this is not very helpful, in IEE client, it is possible to use Advanced Search SQL Order By to achieve this with using TO_NUMBER(Requisition_No)

Can we do something similar in OData using $orderby?

Reply