Changes

Jump to: navigation, search

Using Variables in the Report Builder

136 bytes added, 20:46, 12 December 2014
companyid
* Add the field "'''Branch/Offices - Parent List'''" to the '''Report Builder''' window. This field returns a string containing the list of companyIDs that define the [[Hierarchy|hierarchy]] for the current companyID. This string is delimited by commas.
* Set the criteria for this field to '''like '%,@companyid@,%'''' This criteria will compare the current company ID to the '''Parent''' list and include all company IDs where the current company is referenced as a parent. Note the use of the wildcards "%" and the commas in the criteria string. You should hide the field in the report.
 
* Other syntaxes include '''@me.parent.parent.companyid@''' to return the [[companyid]] of the [[parent company]] of the current user.
==objectid==
8,849
edits

Navigation menu