MAI & PA52.1/PA56.1 comments

Sort:
You are not authorized to post a reply.
Author
Messages


kadkins











Advanced Member



Posts: 23




Advanced Member



    Is there a way, either using a Lawson Conversion Report or MAI's, to load comments tied to a personnel action at the time the action is updated?

    Thanks in advance!



    John Henley











    Senior Member



    Posts: 3348




    Senior Member



      I have not tried it, but you should be able to upload to PA56 using hidden fields like the PAH-OBJ-ID to tie it to the action.
      Thanks for using the LawsonGuru.com forums!
      John


      kadkins











      Advanced Member



      Posts: 23




      Advanced Member



        Thx!


        David Burnham











        Basic Member



        Posts: 9




        Basic Member



          I have been trying to do this in process flow but keep hitting the error "No comments exist for this action " Looking at the code This error is generated from a FC od "I" or "+". However I am sending in an A (Add). The PAH record exists. I just see what the problem is. Here is the IOS call.

          _PDL=THRIS&_TKN=PA56.1&_EVT=CHG&_RTN=DATA&_LFN=ALL&FC=A&PT-ACTION-TYPE=L&PGM-NAME=PFLOW&PAC-COMPANY=100&PAC-EMPLOYEE=74752&PAC-DATE=20100125&PAC-ACTION-CODE-IND=ASSIGNMENT&PAC-ACTION-CODE-PAY=ASSIGNMENT&PAC-ACTION-CODE-HIRE=ASSIGNMENT&PAC-ACTION-CODE-POS=ASSIGNMENT&PAC-ACTION-CODE-MASS=ASSIGNMENT&_HK=010000007475220100125&LINE-FCr0=A&PAC-CMT-TEXTr0=Testing 1234 Testing 1234 Testing 1234 Testing 1234&LINE-FCr1=&PAC-CMT-TEXTr1=&LINE-FCr2=&PAC-CMT-TEXTr2=&LINE-FCr3=&PAC-CMT-TEXTr3=&LINE-FCr4=&PAC-CMT-TEXTr4=&LINE-FCr5=&PAC-CMT-TEXTr5=&LINE-FCr6=&PAC-CMT-TEXTr6=&LINE-FCr7=&PAC-CMT-TEXTr7=&LINE-FCr8=&PAC-CMT-TEXTr8=&LINE-FCr9=&PAC-CMT-TEXTr9=&PT-IMMEDIATE-FLG=Y&PT-PAC-LN-NBR=4&PAH-OBJ-ID=2386382&DELIM=%09&_OUT=XML&_EOT=TRUE

          Does anyone see anything that I am missing?



          Carl.Seay











          Veteran Member



          Posts: 109




          Veteran Member



            I was able to get the call to work by changing _EVT from CHG to ADD:

            _PDL=&_TKN=PA56.1&_EVT=ADD&_RTN=DATA&_LFN=ALL&FC=A&PT-ACTION-TYPE=E&PAC-COMPANY=1&PAC-EMPLOYEE=&PAC-DATE=&PAC-ACTION-CODE-IND=TERM&PAC-ACTION-CODE-PAY=TERM&PAC-ACTION-CODE-HIRE=TERM&PAC-ACTION-CODE-POS=TERM&PAC-ACTION-CODE-MASS=TERM&LINE-FCr0=A&PAC-CMT-TEXTr0=Hello&PT-IMMEDIATE-FLG=Y&PT-PAC-LN-NBR=1&PAH-OBJ-ID=271626&XMIT-IMMED=1&XMIT-HREMP-BLOCK=1000000000&_DELIM=%09&_OUT=XML&_EOT=TRUE
            You are not authorized to post a reply.