DS Custom Hr11 Screen

 9 Replies
 2 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
Roger French
Veteran Member
Posts: 549
Veteran Member

    I've got a few changes to a custom DS screen created by someone else years ago.

    The screen is a customized version of HR11.1 with just the Main tab and 3 HR User Fields on it.

    So there are 3 distict HR User Fields on it. I want to add a 4th HR User Field (which is in the database and has a Key Number).

    In Design Studio, on the Design and Object modes there doesn't seem to be a way to add a 4th field.

    In the Script mode it's of course XML. But I can't seem to be able to see where or how to add a 4th User Field. In the XML there doesn't seem to be a reference to Key Numbers in the Script mode, so how is it done?

    Here's an example of what I want to do, add an additional field called "Training" under "Pay Rule Group".

    Thank you for your time,

    Roger

    Attachments
    David Williams
    Veteran Member
    Posts: 1127
    Veteran Member
      You should simply be able to double click the Text object in the left properties pane (in Design) and select the mapping to your 4th user field. Depending upon where the User Fields are displayed, you may have to go into the Object and then to the correct Tab. You can also add a Label and reposition both the label and text fields.
      David Williams
      Roger French
      Veteran Member
      Posts: 549
      Veteran Member

        Thanks David - already tried that. Doesn't seem to be a place or method to expand it to 4 rows using the Properties dialog. (Screenshot attached). And even in the 'Data' tab of the Properties of the Detail Area, there doesn't seem to be a way to add a 4th row.

        Attachments
        David Williams
        Veteran Member
        Posts: 1127
        Veteran Member
          I see - there should be an option to increase the detail area to 4 lines. Click on that section and go into properties or custom and you should see the option to increase to 4. You'll have to review the other fields to figure out how to get the details below to refresh depending upon the line you're on.
          David Williams
          Roger French
          Veteran Member
          Posts: 549
          Veteran Member

            Already tried that, the option to increase it to 4 actual lines (as opposed to increase the size of the line/object area to 4) is greyed out. The screenshot is attached on the previous post in this thread.

            Ragu Raghavan
            Veteran Member
            Posts: 476
            Veteran Member
              As a last resort, you can go to the Source and change the height. In the example below, height=12 indicates 12 rows

              detail col="2" hdrsize="1" height="12" id="detail1" nbr="DT0" par="TF0-1" row

              In your case changing height=3 to 4 may give you the 4th row.
              Roger French
              Veteran Member
              Posts: 549
              Veteran Member

                Yes I already tried that. But really changing it to 4 rows is meaningless since how does it know which specific User Field to put in the 4th row.

                 

                Ragu Raghavan
                Veteran Member
                Posts: 476
                Veteran Member
                  I assume it will display the first 3 or 4 lines from the HR11 user fields tab.
                  Roger French
                  Veteran Member
                  Posts: 549
                  Veteran Member

                    What I've found out is that we had to completely add a new custom version of the HR11 using DS 10.0.7 as we're on 10.0.7 LSF.

                    I did that, and still the HR User Field that we want does not show up. We tried IOS Cache Refresh, recompiling the HR11, xscrgen, etc. It doesn't matter what size the detail are on the custom screen is or how many rows it has, the HR User Field doesn't display, even using page down, page up, etc.

                    The HR User Field we want is active and it is showing on the HR11 User Field tab,.

                    I have a WebEx with support coming up so we'll see.

                     

                    Roger French
                    Veteran Member
                    Posts: 549
                    Veteran Member

                      I was able to figure this out. 

                      On any custom version of HR11.1 with DS, you can have only one single detail area on the screen, regardless of any amount of tabs.

                      So the HR User Field detail area I was able to expand to 5 rows through manually changing it in the Properties of the detail of the height of the detail area, and in the Script of the .xml. You can't change it in the Properties of the detail area itself since the # of rows is greyed out and can't be edited there. 

                      Also of course you can page up and down within the detail area to see all of your user fields. I don't think there is a way to specifically limit your detail area to just a few specific HR User Fields only.

                      To get 4 or 5 specific HR User Fields to display on the first page of the custom screen, a trick you can do is to put a space ' ' as the very first character of your HR User Field name. That way any fields with a space at the beginning will display on the first page, since the HR User Field list is displayed by alphabetic order.

                      -Roger