Rules for Using Implicit Variable
When using implicit variables, be aware of the following:
- Begin periodic report variables with pound (#) sign (e.g., #TRADE_NAME)
- Values to these variables are always used in the context of the periodic report configuration. For example, if you configure a periodic report for Product A (ICH PSUR - Subject Tab), this variable only appears as the Product A trade name.
Consider the following usage example:
"There were no cases related to {#TRADE_NAME}."
where:
#TRADE_NAME maps to a defined value known by the parser.
- You can map these variables to a formula or to the result of a specific SQL statement that is pre-encoded in the parser.
- These variables may return a single or multiple values (separated by "/")/
- You can use these variables in any template.
- Some implicit variables are considered to be multiple instances of values. Variables of this type require you to use indexes to indicate a particular position in the list. For example, a list of SOC terms sorted by occurrence where the most frequently used term is listed first. For example, this variable is included as #SOC_COUNT_TOP(x), where x indicates the "x" highest occurrence based on the count where the SOC term with the highest occurrence is listed first.
Parent topic: Template Scripting Elements