changeCompany(common.company()) { // do something in the specific company }instead of
changeCompany(common.dataAreaId) { // do something in the specific company }
This works also with table views and crosscompany selections:
while select crosscompany:['Company1', 'Company2'] common { changeCompany(common.company()) { // do something in the specific company } }
// current company is Company1 common.company('Company2'); select firstonly common; // this will return the first row in Company2 even you are in Company1!
I think, this can minimize the use of changeCompany(...) if used wisely.
No comments:
Post a Comment