error on net value on payments - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17) +--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8) +--- Thread: error on net value on payments (/showthread.php?tid=1399) |
error on net value on payments - rslemer - 02-08-2019 System calculate a net value with wrong, value. See attached RE: error on net value on payments - joebordes - 02-08-2019 please reproduce online RE: error on net value on payments - rslemer - 02-08-2019 http://demo.corebos.com/index.php?action=DetailView&module=CobroPago&record=43235&parenttab=ptab Look Amout 1000 Cost 500 Benefit -499 ?? RE: error on net value on payments - joebordes - 02-08-2019 try setting credit to true RE: error on net value on payments - rslemer - 02-08-2019 But the value is wrong, not? Correct value is 500 ... not 499 and In demo, currency olnly display EURO or Dollar and a problem with a Real, because a inversion of comma and decimal point ... even I include a Brazil Real, in currency, and setting in users preferences ... See attached images RE: error on net value on payments - joebordes - 02-09-2019 Fixed: https://github.com/tsolucio/corebos/commit/3a1f9777bfa7a4547a286c5b278ff39917d9da0e RE: error on net value on payments - rslemer - 02-10-2019 In my test, I need inform a expression always with a decimal point right? I setting user with a Brazilian stadand. but when I try using a expression with comma, system shows Fatal error: Uncaught Exception: Was expecting a close bracket in /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/VTParser.inc:97 Stack trace: #0 /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/VTParser.inc(188): VTExpressionParser->atom() #1 /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/VTParser.inc(176): VTExpressionParser->unaryOp() #2 /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/VTParser.inc(166): VTExpressionParser->binOpPrec(-1) #3 /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/VTParser.inc(166): VTExpressionParser->binOpPrec(0) #4 /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/VTParser.inc(166): VTExpressionParser->binOpPrec(1) #5 /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/VTParser.inc(166): VTExpressionParser->binOpPrec(2) #6 /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/V in /usr/share/eCRM/ecrmweb-master/modules/com_vtiger_workflow/expression_engine/VTParser.inc on line 97 example I wish, add a more than one field, to calculte a cost and a financial cost ( with credicard ) (amount * 0.03) + cf_1045 ( works, only I use a decimal point ) if I user a comma, system shows message above ... RE: error on net value on payments - joebordes - 02-10-2019 Yes, expressions and formulas always use US format |