Dear Friends
I am calling a form to charge the clients VISA cards through a xml gateway. I need to read all payment lines and then save some data from the form, because they might pay with different cards. The code I have tried is:
IF Simul.FIND('-') THEN REPEAT
CLEAR(fTPV);
fTPV.SetVar(Simul."Importe (DL)", Simul."Nº documento");
IF fTPV.RUNMODAL = ACTION::Close THEN BEGIN
fTPV.OperRes(Simul."Nº Tarjeta",Simul.Caducidad);
END;
Simul.MODIFY;
UNTIL Simul.NEXT = 0;
But of course Navision 3.70 (native db) doesn't allow a runmodal without a COMMIT. As I prefer not to use COMMIT, I ask you if you have any suggestions.
Thanks
Soren
Soren Hansen
IT Manager
Helle Auto, S.A.
0
Comments
Could you have a temporary table, in wich you insert all the xml data before running your function and then, you use this table ? Need the user see the form ?
But oh my foes and oh my friends, it gives a lovely light