AGS Call to delete PR39.1 records

 2 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
vc727
Advanced Member
Posts: 44
Advanced Member

    I am trying to build an ags call to delete certain PR30.1 records. I am trying to Keep the PR 39.1 deductions for certain benefits from going to arrears the benefit vendor wants to bill them directly if they do not have a paycheck to pay the premiums.  All our benefit deductions are loaded from a 3rd party system. Has anyone used an ags call on PR39. I seem to be having trouble getting it to find the correct row and delete it.

     

    Shane Jones
    Veteran Member
    Posts: 460
    Veteran Member

      I am not sure I have enough information to help you...
       

      • Why wouldn't you just turn off the Arears on PR05?
      • Are you looking to change a time record (PR30) or a one-time deduction record (PR39)?
      • Can you share what you have in your AGS - I am sure someone here can help if you include the AGS that is NOT working.

      MS-Add-Ins requires:

      PR30: COMPANY, EMPLOYEE, LINE FC1, PAY-CODE1, EFFECT-DATE1, and SEQ-NBR1 are probably the required fields

      PR39 : COMPANY, EMPLOYEE, LINE-FC1, DED-CODE1, and SEQ-NBR1 are probably the required fields


      Shane

      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
        If you are trying to delete something on PR39 ... This works: (However, look at changing the setting for the deduction on PR05 before doing this because functionally you should be able to tell Lawson not to try to catch up missed deductions.)

        _PDL=TEST&_TKN=PR39.1&_EVT=CHG&_RTN=DATA&_LFN=ALL&_TDS=IGNORE&FC=C&COMPANY=****&LINE-FCr0=D&EMPLOYEEr0=*****&DED-CODEr0=****&EFFECT-DATEr0=YYYYMMDD&EMP-EMPLOYEE=*****&BEG-EMPLOYEE=*****&BEG-DED-CODE=****&_HK=CCCCEEEEEEEEE&_DELIM=%09&_OUT=XML&_EOT=TRUE

        CCCC = company number (for us it is 0001)
        EEEEEEEEE = employee number (for us employee number is 5 digits so I needed to fill the front with 4 zeros)

        Good luck...
        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...