Incorrect record list to record summary mapping

Hi guys,

I have an entity based record. When click on a particular record from the record list, it drills down to a different record's summary. This is happening only in production.
It's all working fine in the lower environments. All the code is in sync.

The entity is a view and it's primary key is identified by rownum. I am not sure if this might be any problem.
Could anyone please help me identify what might cause the issue and what could be done to rectify it?

Thanks in advance

  Discussion posts and replies are publicly visible

Parents Reply
  • Create View Test_View as
    SELECT ROWNUM AS ID,
    A.trackingId as TRACKING_ID,
    B.itemsId as ITEMS_ID
    
    FROM TABLE A JOIN TABLE B ON
    A.trackingId = B.trackingId;

    I am just entering a test view which is similar to the actual view(not adding all the columns and joins).

    Here A.trackingId is a primary key of table A and B.itemsId is a primary key of table B.

    The view's column structure is something like this:  ID is nullable, TRACKING_ID and ITEMS_ID are not nullable,

Children