MSS - Customizations

 9 Replies
 1 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
Chris12
Veteran Member
Posts: 150
Veteran Member
    I am looking to customize MSS so that when a manager enter a PA action on someone, I can hard code a value into a "CURRENT VALUE" field.
    For example, I want to hardcode the Current Value for STATUS to be 'ACTIVE' for everyone.  Does anyone know what file would call the CURRENT VALUE, or any pointers in getting this accomplished?


    Thanks in advance
    Carl.Seay
    Veteran Member
    Posts: 109
    Veteran Member
      I'm not sure I understand why you would want to change Current value to be static, but I believe you're looking for this file: $lawweb/lawson/xhrnet/personnelactions/pactions.htm. You should be able to intercept Fld-Nbr 20 (Emp-Status) when it displays the fields.
      Chris12
      Veteran Member
      Posts: 150
      Veteran Member
        Thanks, do you know what field number FTE would be .... or can you tell me how I can determine that.
        That is the information I was looking for
        Carl.Seay
        Veteran Member
        Posts: 109
        Veteran Member
          From Lawson Portal, click in the field you want, and hit Ctrl + Shift + O. It will display info in the status bar.

          Or you can look at the PADICT table, it has all the Field Numbers.
          Chris12
          Veteran Member
          Posts: 150
          Veteran Member
            COOL .... Going to check it out now!!!!

            Chris
            Chris12
            Veteran Member
            Posts: 150
            Veteran Member
              Carl, do you know when you are entering a PA in MSS. There are 3 columns. One For field, One for Current Value, and one for the Change To Value ..... When a manager enters a specific type of PA, I would like to hardcode the Current Value to a specific Number .... For example FTE = 1 ......Do you know what file generates this Current Value, of is the pactions.htm the best place to handle this???? Thanks in advance
              BarbR
              Veteran Member
              Posts: 306
              Veteran Member
                Just some food for thought - instead of customizing EMSS, we work-flow enabled our MSS personnel actions and have the flow query the personnel action and alter any of the "Change To" values as needed prior to sending it to the manager's inbasket for their approval. I'm not sure why you would change the Current Value - those come from the employee's current data and is the accurate "as is" value.
                Carl.Seay
                Veteran Member
                Posts: 109
                Veteran Member
                  I happen to be working on MSS Personnel Actions right now. It would be in pactions.htm, under the function PaintFieldsForAction().

                  FYI: By default, PA52 will not allow you to enter the same value as new value. So be careful you're not confusing management on what the real current value is, versus displayed hard-coded value.

                  Good luck!
                  Chris12
                  Veteran Member
                  Posts: 150
                  Veteran Member
                    Agreed ... and thanks
                    Akshay
                    Basic Member
                    Posts: 7
                    Basic Member
                      Hi Is there a way to provide access to non Manager to MSS? As our staff admins do some of the works for their manager as per approval? Can we give defined access?