In my application, i am uploading the data into the collection via csv, now the issue is for the two columns, amount from and amount to, i want the data should be converted to be floating type before it enters the collection, since it is backoffice, for manually adding the columns i am using the below code
my_object.credit_amount_from = parseFloat(my_object.credit_amount_from);
my_object.credit_amount_to = parseFloat(my_object.credit_amount_to);,
so by manualy adding i can get the required approvers for this amount in my web interface, but while i am trying to get the data after uploading through csv, it is not coming the way i want.
I can understand since the data in csv is treated as general, this issue might be occuring,
So please help me out with this
Regards
Somjit
my_object.credit_amount_to = parseFloat(my_object.credit_amount_to);
i am using in the back-office, i want this similar kind of thing while upload the data throgh csv, so that before inserting into the collection the strings get converted to integer.
Regards,
Somjit
Your issue seems similar to the one I've faced a couple of months ago. It's now solved. See here https://groups.google.com/a/runmyprocess.com/forum/#!searchin/supportforum/yves/supportforum/_pLI8gR2Lj8/K_9yBwn4BREJ
Hope it helps
Regards
Yves