Processflow - Ags change/add user field value

 2 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Shane Jones
Veteran Member
Posts: 460
Veteran Member
    I am trying to add/change a value of a user field through processflow.... I can do this through microsoft add-ins but when I run a similar ags call in portal I get a "change complete - continue" message with NO CHANGE TO THE USER FIELD....

    http://servername/servlet/ags?
    _PDL=TEST&_TKN=HR11.1&_EVT=CHG&_RTN=DATA&_LFN=ALL&_TDS=IGNORE&FC=Change&EMP-COMPANY=****&EMP-EMPLOYEE=****&EFFECT-DATE=20070226&HRU-FLD-NBR1=****&WS-FLD-NBR=****&VALUE1=****&WS-LINE-FC1=****&WS-VALUE1=****&_DELIM=%09&_OUT=TEXT&_EOT=TRUE

    EMP-Company = company number (1)
    EMP-Employee = EMPLOYEE #
    HRU-FLD-NBR1 = 2000 + field key (2069)
    WS-FLD-NBR = 2000 + field key (2069)
    VALUE1 = new value
    WS-LINE-FC1 = C if value exists or A if empty
    WS-VALUE1 = new value

    Anyone have a suggestion?
    Shane Jones
    Tools: HR, Payroll, Benefits, PFI, Smart Office, BSI, Portal and Self-Service
    Systems: Lawson, Open Hire, Kronos, Crystal Reporting, SumTotal Learning
    ** Teach others to fish...
    Shane Jones
    Veteran Member
    Posts: 460
    Veteran Member
      _PDL=TEST&_TKN=HR11.1&_EVT=CHG&_RTN=DATA&_TDS=IGNORE&FC=Change&_ADDINS=TRUE&_f1=C&_f257=1000&_f684=1&_f263=1&_f265=10004&_f267=20070227&_f478:0=2069&_f4=2069&_f482:0=Y&_f477:0=C&_DELIM=%09&_OUT=TEXT&_EOT=TRUE

      f1 = LINE action ?????????cann't find data on this
      f257 = I HAVE NO CLUE???????? XMIT-HREMP-BLOCK
      f684 = maybe company number?????? PT-FROM-PR134
      f263 = company number
      f265 = employee number
      f267 = effective date
      f478 = 2000 + field key
      f4 = 2000 + filed key
      f482 = value
      f477 = line fc

      anyone know what f1, f257, f684?

      I still need to test what changes for an ADD or a CHANGE.... Also, does anyone have processflow running in a test environment? I know this script runs in portal but can't test in processflow because I only have processflow available in a live version.
      Shane Jones
      Tools: HR, Payroll, Benefits, PFI, Smart Office, BSI, Portal and Self-Service
      Systems: Lawson, Open Hire, Kronos, Crystal Reporting, SumTotal Learning
      ** Teach others to fish...
      John Henley
      Posts: 3353
        Shane, couple of things that might help you out:

        - Adding the 'LFN=TRUE' argument to your AGS call will show the field names associated w/ the "f_" numbers, which should help you resolve the unmapped fields.
        Although you're not using VB, but this article might give you some insight into the AGS calls;
        https://www.danalytics.co.../archive/2006-08.htm

        - Also, see my article on updating HR11 fields via Addins, which may give you some assistance.
        https://www.danalytics.co.../archive/2005-12.htm

        With regards to the change vs. add issue...
        Now, what I end up doing for clients is to provide them with a simple custom form that "front-ends" the user fields and handles the add vs. change logic via COBOL...all the AGS call needs to do is post the values to this custom form and it figures out the add vs. change ...
        Thanks for using the LawsonGuru.com forums!
        John