<
Message
>New value is the same as previous value
>
MsgNbr
>146
StatusNbr
>001
FldNbr
>PCT-NEW-VALUE-1r7
I'm trying to figure out how to get the name of the field that is in error. In my example, PCT-NEW-VALUE-1r7 is the field that is in error because it contained the same value that the person I'm taking the action on already has. I'd like to return in an email a little debugging information (more than just the standard: "New value is the same as previous value" that you can get from AGSPA52_RETURN_MSG) When you process this PA52 in the IOS API builder, at the very bottom of the XML response from running the ags call, you get some information on the return status of a call which includes the name of the field that you didn't fill out correctly. I can't seem to get that field name from the ags call. If you follow the normal naming convention for returned values in an ags call, it follows that the name of the variable that contains this information is AGSPA52_FldNbr but I get:
ReferenceError: "Transaction5010_FldNbr" is not defined. (threadScript#1) It's possible that this particular value in the return XML is not available but I figured I'd ask around and see if anyone had been able to get it.