Hello,
I'm trying to get applyData response in my edit grid program working but it's giving me a little trouble. As far as I understand it, that proc should let me set the value of other fields that are in the same row of the edited field my user is changing. Hopefully, I'm understanding that correctly.
Here is what I'm working with. Here is the edit grid and the arrow is pointing to the value that gets changed. This is set up for cell editing.
image.png
In my helper program, I take that Gross Amount and then calculate the Discount amount and Net amount that are next to it. Once I have those values, here is the code that I thought would work.
I even converted the variables to UCS2
SetResponse('applyData':'APDISCOUNT':GLdiscountAmo untUCS);
SetResponse('applyData':'APNET':GLnetAmountUCS);
I'm doing this in the ProcessEdit Proc.
My next step was to try to use SQL to insert those values myself, but I thought I could use this procedure. Am I doing anything wrong here? Any help would be great.
Thanks.
I'm trying to get applyData response in my edit grid program working but it's giving me a little trouble. As far as I understand it, that proc should let me set the value of other fields that are in the same row of the edited field my user is changing. Hopefully, I'm understanding that correctly.
Here is what I'm working with. Here is the edit grid and the arrow is pointing to the value that gets changed. This is set up for cell editing.
image.png
In my helper program, I take that Gross Amount and then calculate the Discount amount and Net amount that are next to it. Once I have those values, here is the code that I thought would work.
I even converted the variables to UCS2
SetResponse('applyData':'APDISCOUNT':GLdiscountAmo untUCS);
SetResponse('applyData':'APNET':GLnetAmountUCS);
I'm doing this in the ProcessEdit Proc.
My next step was to try to use SQL to insert those values myself, but I thought I could use this procedure. Am I doing anything wrong here? Any help would be great.
Thanks.

Comment