Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. In the Framework, add three new instance level commands to the Employee business object: Name, Address and HR Details.
  2. Make Name the default command and set the sequence of the commands to 1, 2 and 3. Resequence the other commands associated with Employee to that they come after these three commands.
  3. In RAMP Tools link the destination screens with the commands:


UFRTS03_D1

Name

UFRTS03_D2

Address

UFRTS03_D3

HR Details


4. Modify the script of the UFRTS03_R1. You need to change the SETVALUE so that the commands will be shown for the employee selected in the instance list.



        case "UFRTS03_D1":
        {
           /* Set up data fields on form UFRTS03_R1 */

           SETVALUE("EmpNo",objListManager.AKey1[0]);
           SENDKEY(KeyEnter);

           /* Check for arrival at UFRTS03_D1 */

           Q_CHECK_CURRENT_FORM("UFRTS03_D1","Unable to navigate to form UFRTS03_D1");
        }
           break;


You may want to review RAMP-WIN006 Step 2. Change the Script to Use the Current Instance List Entry.

5. Save and restart the Framework.

...