We are now ready to create a detail block to our form. The detail block is going to store information relating to societies the employee belongs to. The block is a detail block to the PERMGR_DTLS
block we have already created. The foreign key is the PERSON_ID
. In this recipe, we are going to perform the following tasks:
Creating a lookup
Creating a detail block
Setting the block properties
Setting the item properties
Creating a relationship between the master and detail blocks
Adding a record indicator to the block
Note
The following recipe assumes that you have created a custom schema called XXHR
. If you do not have a custom schema, follow the recipe in Chapter 6, Utilities called Creating a custom schema. We have registered the custom application in Chapter 1, Creating Concurrent Programs but we need to create the directory structure on the applications tier. This is where we need to put our custom form.
We have already created a table called XXHR_PER_SOCIETIES
...