This is an archived course — no longer updated. For current documentation see the official iDempiere docs. Today we help teams migrate from Sage ERP to iDempiere open source ERP — to join the sage.erpcommons.org community, email chuck@racktrust.com. Read the full story.

Column SQL - Virtual Column

The purpose of this discussion is to help you understand the concept of Column SQL and teach you best practices for how to write Column SQL one time then use it everywhere (code, views, print formats, etc...) without repeating yourself.

2014-09-02 Discussion about Column SQL Best Practices

Example of using Context in a ColumnSQL field to prevent certain users/roles from editing certain records in a window that is shared by all.

Another video demonstration.

Report Virtual Column

https://wiki.idempiere.org/en/How_To:_Using_Print_Format_Item_Scripts_In_Reports