Field Numbers on PA52

 1 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
TommyT
Veteran Member
Posts: 58
Veteran Member
    I have a flow that has to create a pa52 transaction record, but when the PA100 tries to run it it bombs because I'm not able to get the field numbers into field 1 and 2.

    Here is my call

    _PDL=&_TKN=PA52.1&_EVT=ADD&_RTN=DATA&_LFN=ALL&_TDS=IGNORE&FC=Add&PCT-COMPANY=1&PCT-EMPLOYEE=&PCT-ACTION-CODE=TERM%20FINAL&PCT-EFFECT-DATE=&PCT-REASON1=TERM&PCT-UPDATE-BENEFIT=Y&PCT-UPD-ABS-MGMT=N&PCT-NEW-VALUE-1r0=T9&IMMEDIATE-ACTION=N&ORIG-COMPANY=1&ORIG-EMPLOYEE=&ORIG-ACTION-CODE=TERM%20FINAL&ORIG-EFFECT-DATE=&PAT-FLD-NBR-1=27&PAT-FLD-NBR-2=20&_HK=0001000012345TERM%20FINAL20110101_DELIM=%09&_OUT=XML&_EOT=TRUE


    Does anyone see an issue with it?
    David Williams
    Veteran Member
    Posts: 1127
    Veteran Member
      Are you trying to pass a value into FLD_NBR_01 (PAT-FLD-NBR-1Ar0 )? I thought the system generated these values?

      Did you try using the example I emailed you? My AGS call example looks different than yours does. The example I gave you had EVT=CHG, not EVT=ADD and you’re including fields you shouldn’t need to include (if your PA50 is set up correctly). You are also missing an & in your _DELIM= section.

      This is what your AGS call should look like:
      _PDL=TEST9&_TKN=PA52.1&_EVT=CHG&_RTN=DATA&_LFN=ALL&_TDS=IGNORE&FC=Add&PCT-COMPANY=1&PCT-EMPLOYEE=12345&PCT-ACTION-CODE=TERM%20FINAL&PCT-EFFECT-DATE=20110114&PCT-REASON1=TERM&PCT-NEW-VALUE-1r1=T9&_DELIM=%09&_OUT=XML&_EOT=TRUE
      David Williams