Solved

See ROWVERSION/OBJVERSION in Custom LU

  • 2 September 2020
  • 2 replies
  • 303 views

Userlevel 7
Badge +18

On a custom LU, I’d like to create a read-only reference field to expose MY_CLT.ROWVERSION in the client presentation. Expressions or SQL statements against t.rowversion or v.objversion don’t appear to work. Is there a way to show this field to the users, short of creating another persistent field?

(My preference would be a solution that exposes the field without intermediate functions so the database can honor an index on it.)

icon

Best answer by paul harland 2 September 2020, 20:20

View original

2 replies

Userlevel 7
Badge +24

hi Kevin,

the following works fine in Apps 10.  I’m guessing you’ve tried this, in which case it must be a difference Apps 9 vs. 10… (?)

 

 

Userlevel 7
Badge +18

This is what I ended up using:

TO_DATE(v.objversion, 'YYYYMMDDHH24MISS')

 

The GET_ function in the _CLP package means there’s no way to enable indexing. 😞

 

 

Reply