HR20 AGS Call Delete

 4 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
Srini Rao
Veteran Member Send Private Message
Posts: 149
Veteran Member
Hello, I'm trying to build a AGS call to delete the phone numbers from HR20. I'm running the following statement but it fails with error. http://da1lwweb201.lawpro...=TRUE&_DTLROWS=FALSE
  xml version="1.0" encoding="ISO-8859-1" ?>
- <XHR20.1>
- <HR20.1>
  <_PDL>TEST_PDL>
  <_TKN>HR20.1_TKN>
  <_PRE>TRUE_PRE>
  <Message>Type will be deleted; OK to continueMessage>
  <MsgNbr>112MsgNbr>
  <StatusNbr>001StatusNbr>
  <FldNbr>_f1FldNbr>
  HR20.1>
  XHR20.1>
Please advise.
Shane Jones
Veteran Member Send Private Message
Posts: 460
Veteran Member
Where are you trying to build your AGS? I have had luck in the past using Add-ins to create my AGS. I seem to remember it shows you the AGS text once it is performed.
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...
George Graham
Veteran Member Send Private Message
Posts: 201
Veteran Member
Were you able to get this to work? I'm trying to do the same thing through a transaction node in process flow but getting the same issue - even if setting the XMIT block to all 1s. Thanks for anything you can provide....
David Williams
Veteran Member Send Private Message
Posts: 1127
Veteran Member
Try including PT-XMIT=1 in your AGS call - I've gotten that to work on other forms that require you to click 'Add again' and it might work for your issue as well.
David Williams
Ragu Raghavan
Veteran Member Send Private Message
Posts: 477
Veteran Member
In HR20, looks like it is PT-XMIT-NBR. 002360 IF (HR20F1-LINE-FC (I1) = "D") 002370 AND (HR20F1-PT-XMIT-NBR = ZEROES) 002380 MOVE 1 TO HR20F1-PT-XMIT-NBR 002390 MOVE 112 TO CRT-ERROR-NBR 002400 MOVE HR20F1-FC-FN TO CRT-FIELD-NBR. 002410