Hello boys
I have a trouble with a minus sign(-) when I try to aplication the same
script rutine in a website or in a smtp process.
In a website these procedure work well
if the IMP value is one debit
<MvASSIGN NAME= "l.xting" VALUE="{xting + &[ctac.d.IMP]}">
<MvASSIGN NAME= "l.xsaldo" VALUE="{xsaldo - &[ctac.d.IMP] }">
if the IMP value is one credit
<MvASSIGN NAME= "l.xtegr" VALUE="{xtegr + &[ctac.d.IMP]}">
<MvASSIGN NAME= "l.xsaldo" VALUE="{xsaldo + &[ctac.d.IMP] }">
the debit acumulated in xsaldo are a negative number if not have a credit.
In a smtp proceess the same rutine xsaldo are 0 (zero) not acumulate, and
not decrese
if the IMP value is one debit
<MvEVAL EXPR="{' <MvASSIGN NAME= "l.xtegr" VALUE="{xtegr +
&[ctac.d.IMP]}">'}">
<MvEVAL EXPR="{'<MvASSIGN NAME= "l.xsaldo" VALUE="{xsaldo - &[ctac.d.IMP]
}">'}">
if the IMP value is one credit
<MvEVAL EXPR="{' <MvASSIGN NAME= "l.xtegr" VALUE="{xtegr +
&[ctac.d.IMP]}">'}">
<MvEVAL EXPR="{'<MvASSIGN NAME= "l.xsaldo" VALUE="{xsaldo + &[ctac.d.IMP]
}">'}">
I suppose the problem are in a variable definiton (or aplication) when I
try to accumulate or decrese saldo
thank's of advance
Roberto
_________________________________
Alfa Centauro Custom Systems
Copahue 3480 - San Carlos de Bariloche
Rio Negro - Patagonia Argentina
Comment