vt730: vtws_describe limitation
Using vtws_describe on a module there is no way to determine if a field that is reported as type = double is purely a numerical field for a float, or a percentage field. If a developer wanted to retrieve the data how can they tell if a percentage symbol is required or not to correctly describe the value?
This is a percentage field:
[21] => Array
(
[name] => commissionrate
[label] => Commission Rate
[mandatory] =>
[type] => Array
(
[name] => double
)
[isunique] =>
[nullable] => 1
[editable] => 1
But I have no idea if this represents a percentage or not, e.g.
[modifiedby] => 19x1
[unit_price] => 100.00000000
[commissionrate] => 10.500
[taxclass] =>
[usageunit] =>
[qty_per_unit] => 1.50
[qtyinstock] => -1.000