Creating an AGS call for PA52.1

 9 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
swalker
New Member
Posts: 4
New Member
    Hello,

    I am trying to create a process flow that uses an AGS call to call PA52.1 and add a transaction. On PA52.1 you must inquire first before adding the transaction. Has anyone found a way to do this?

    With Addins I populate a hidden field "EMP-BLOCK" with a value that by-passes the "Inquiry Complete - Add new values" message. Is is possible to do the same thing in the AGS call?
    Sue Walker Geisinger Health Systems
    David Williams
    Veteran Member
    Posts: 1127
    Veteran Member
      Yes, you can. See my blog posting:

      http://consultdavidw.blog...dits-giving-you.html
      David Williams
      swalker
      New Member
      Posts: 4
      New Member
        Besides the XMIT-HREMP-BLOCK I was also missing other hidden fields that are referenced in Lawson article. The process flow is now working. Thanks for the info!
        Sue Walker Geisinger Health Systems
        TommyT
        Veteran Member
        Posts: 58
        Veteran Member
          Ive added the xmit block described but I'm still getting the instruction to inquire. Is the block sufficient to get the transaction in or do all the fields in the article need to be supplied as well?
          jamesraceson
          Veteran Member
          Posts: 52
          Veteran Member
            TommyT,

            I currently use ProcessFlow to add PA52.1's in our system. Below is the AGS call that I use sucessfully. I have broken out each piece on a seperate line so that it is more legiable, but for the actual flow you will want to put them all together. For the variables (the ones with ), you will have to replace them with your own that are in your specific PF. There are also some that are hard coded like PCT-ACTION-CODE because for this particular PF they don't change. Hope this helps out...

            _PDL=
            &_TKN=PA52.1
            &_EVT=ADD
            &_RTN=DATA
            &_LFN=ALL
            &_TDS=IGNORE
            &FC=Add
            &PCT-COMPANY=
            &PCT-EMPLOYEE=
            &PCT-ACTION-CODE=ADJUSTMENT
            &PCT-EFFECT-DATE=
            &PCT-REASON1=ADJ-DSPINC
            &PCT-UPDATE-BENEFIT=Y
            &PCT-UPD-ABS-MGMT=N
            &PCT-NEW-VALUE-1r0=
            &IMMEDIATE-ACTION=N
            &ORIG-COMPANY=
            &ORIG-EMPLOYEE=
            &ORIG-ACTION-CODE=ADJUSTMENT
            &ORIG-EFFECT-DATE=
            &_DELIM=%09
            &_OUT=XML
            &_EOT=TRUE
            TommyT
            Veteran Member
            Posts: 58
            Veteran Member
              Thats great stuff! Thanks. However after I began running it my PA100's started bombing with a subscript out of range error. I'm wondering if I caused an invalid record in Persaction. Does anyone have any experiece with this error?
              Shane Jones
              Veteran Member
              Posts: 460
              Veteran Member
                TommyT,
                There is a bunch of information on "PA100 out of range" on the mylawson knowledge base. Two articles were specific adding records to PA52 without using the form...

                Article ID:559379
                Article ID:103118
                Article ID: 86252

                And a bunch more... Might be a good place to start.
                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...
                ryand
                Veteran Member
                Posts: 51
                Veteran Member
                  David/James,

                  Where in the AGS call do you do this "Add the following hidden field value: XMIT-HREMP-BLOCK=1000000000"?
                  David Williams
                  Veteran Member
                  Posts: 1127
                  Veteran Member
                    Anywhere before: &_DELIM=%09&_OUT=TEXT&_EOT=TRUE
                    David Williams
                    ryand
                    Veteran Member
                    Posts: 51
                    Veteran Member
                      Working so far...thanks!