CoreBOSBB
Custom field checkbox value not respected in List Columns business map issue - 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: Custom field checkbox value not respected in List Columns business map issue (/showthread.php?tid=2047)



Custom field checkbox value not respected in List Columns business map issue - radu - 12-04-2020

Hello again,

I have a List Colums type business map that defines the sales order columns displayed in the related table of other modules. If i add a custom checkbox field in SalesOrder module and define it as a column in the business map, the values displayed in the 'related' table are always 'no' even when the checkbox is 'yes'. Other built-in checkbox fields(ex. invoiced) are shown correctly. I tried to define the column both 'simple' and 'detailed', same result:

Code:
<field>
   <label>Checkbox</label>
   <name>cf_1410</name>
</field>

or

Code:
<field>
   <label>Checkbox</label>
   <name>cf_1410</name>
   <table>SalesOrder</table>
   <columnname>cf_1410</columnname>
</field>

Any ideas?
Thanks

-Later Edit- In fact, other types of custom fields show the same behavior, displaying wrong/no values in related table after defining List Columns business map. Do those columns representing custom fields have to be defined differently?


RE: Custom field checkbox value not respected in List Columns business map issue - joebordes - 12-06-2020

this should fix it

https://github.com/tsolucio/corebos/commit/bb48dadbac93e87140ccc175ad8cb458098ddbe0

Let me know how it goes


RE: Custom field checkbox value not respected in List Columns business map issue - radu - 12-07-2020

It works great. I wanted to do a bit more extensive testing before i jump to conclusion and in the end all went ok Wink

Thanks!


RE: Custom field checkbox value not respected in List Columns business map issue - joebordes - 12-07-2020

:-)