Hi to all,
I'm writing an add-on to simplify sales order insertions.
From a custom form user can insert, after some selections, one or more rows into the sales order (Form 139), my problem is in setting quantity, I can't found how to format the string to assign to the matrix cell, an example, if I write
2.5 (2 dot 5)
I obtain "Bad Value" error.
If I write
2,5 (2 comma 5)
No error occurs, but in the system order form i see in cell quantity 2, not 2,5.
For the price I haven't this problem, price is written correctly with decimal.
If I try to write manually in the cell 2,5 it works.
this is my code:
EditText edit = (EditText)matrix.Columns.Item("13").Cells.Item(rownum).Specific;
edit.Value = "2,5";
I suppose it can be due to cultere but I don't know how to solve it.
Thanks
Diego