CoreBOSBB
ListColumns Business Map: formatting currency? - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Development (https://discussions.corebos.org/forumdisplay.php?fid=18)
+--- Forum: coreBOS Development (https://discussions.corebos.org/forumdisplay.php?fid=4)
+--- Thread: ListColumns Business Map: formatting currency? (/showthread.php?tid=1341)



ListColumns Business Map: formatting currency? - Guido1982 - 11-20-2018

Can we set a directive in the ListColumns business map that tells the app to format a certain column as a currency? Right now I get the database formatted no.


RE: ListColumns Business Map: formatting currency? - joebordes - 11-20-2018

formatting is usually uitype based, is that field currency?


RE: ListColumns Business Map: formatting currency? - Guido1982 - 11-21-2018

Yeah I used the SO total and the new pl_gross_total (or something like that)


RE: ListColumns Business Map: formatting currency? - Guido1982 - 11-22-2018

Here's a screenshot of what I have


RE: ListColumns Business Map: formatting currency? - Guido1982 - 11-26-2018

Iḿ noticing more of this. I just created a module where I set some columns to DECIMAL(28,6). They show up as such in the listviews (like '8.000000'). In detailview, the uitype (7) is respected.