Forums
Lawson Design Studio
HR20 AGS Call Delete
Author
Messages
Srini Rao
Veteran Member
Posts: 148
5/22/2013 5:59 PM
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...E&_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 continue
Message
>
<
MsgNbr
>
112
MsgNbr
>
<
StatusNbr
>
001
StatusNbr
>
<
FldNbr
>
_f1
FldNbr
>
HR20.1
>
XHR20.1
>
Please advise.
Shane Jones
Veteran Member
Posts: 460
5/24/2013 2:48 AM
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.
George Graham
Veteran Member
Posts: 201
5/7/2014 12:42 AM
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
Posts: 1127
5/7/2014 11:13 AM
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.
Ragu Raghavan
Veteran Member
Posts: 468
5/7/2014 11:42 AM
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