Part 11: Add an alternative key and use the number range library
In this video you will learn how to add an alternative key (primary key) to your custom BO. You will also learn how to use a re-use library for generating incremental numbers for the key.
Usually this is something you start with but I missed it in my first tutorials as I was fine with the always present UUID but for the following content we are going to need the alternative key and anyway it is best practise to have it as the UUID is even less “human” friendly then any other ID.
The video shows you in 4 minutes how to add the alternative key, create a logic that draws a number on the initial create and also how we update our existing records in our solution.
Here you can find all videos of the new SAP Cloud Application Studio video series.
In my previous video I explained how to embedd your UI into a standard UI.
Watch the next part: adding an extension field to standard object / UI.