PR13.1 and AGS

 3 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
rc
Basic Member
Posts: 8
Basic Member
    I am calling the PR13.1 form with an AGS call and can successfully update the fields of my choosing. However, there are some dedcodes that I have to page down to see, I cannot figure a way to update those???? These dedcode fields are represented by  EDM-DED-CODEr0 thru r3, so I tried using r4 and up with no success. Is it possible to get at these fields from AGS??? Can I somehow tell the form what page I want and continue to use r0 thru r3?
    David Williams
    Veteran Member
    Posts: 1127
    Veteran Member
      Have you tried just entering the values you want to change regardless of their position - just enter the actual deduction code you want to change into EDM-DED-CODEr0?
      David Williams
      rc
      Basic Member
      Posts: 8
      Basic Member
        I did try that, and to my surprise it tells me I cannot modify the deduction code...
        John Henley
        Posts: 3353

          The technique I use with both the Addins Upload wizard as well as the AGS calls is to *always* is to update row 0 (LSF9) or row 1 (8.x).  So if you look at a table that has 4 detail rows, and I need to update all 4, I would use 4 separate calls, always updating the "first" row on the form.  The trick to that is that you need to delve into the form details (capturing AGS calls from Portal) to see what hidden fields need to be populated (often the PT-XXX fields) to make the update work. This technique then allows you to update the fields on detail forms which would otherwise require a page-down.

          Here's an example of how I use this technique with HR11 user fields:
          https://www.lawsonguru.co...th-Excel-Add-In.aspx

          Thanks for using the LawsonGuru.com forums!
          John