NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: jorgemir on March 30, 2011, 10:25:50 PM
-
Hi.
This code I put into send value to server:
Det:Total=Det:Cantidad*Det:PVP
/\ /\
These are file fields.
Do I have to use p_web.gsv('Det:cantidad') in order to get the real valu? I already have this fields primed and I see they are written to file, but the Det:Total, which is not touched at all. In this case, what is the correct construction of the statement¿
Thanks
Jorge
-
Yes you must use p_web unless you move your code to the Validate Embed on Save it should work without p_web.
-
The key is to save the Det:Total in the session queue after the calculation.
ie
Det:Total=Det:Cantidad*Det:PVP
p_web.SetSessionValue('Det:Total',DetTotal)
Cheers
Bruce