Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Business Object Row Id - Generate Random Number

Summary:

I have created a business object in a VBCS application. An 'id' field is created by default and the value is generated automatically when a row is created. The value is auto populated starting from 1 and incremented by 1 for each row.

Is there a way to generate a random value for this field instead of incremented values starting from 1.

I want to prevent the user from modifying the id in the URL and seeing other row data.


For example: Changing the mpWORKORDERSACTIVEId will show the data from another row to the user.

https://<OICURL>/ic/builder/rt/maintenancePortal/live/webApps/maintenanceportal/?mPWORKORDERSACTIVEId=1&page=shell&shell=workordersflow&workordersflow=workordersflow-mpworkordersactivedetail

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!