8,849
edits
Changes
→Breakdown of List Syntax
|[[Image:VariableExampleStoreDisplay.png|link=|300px]]
|
* This is an example of the use of [[Stored value|stored values]]/display values]].* The value on the right of the equals sign, ''Payment on $Scheduled Payment Date$ of $Payment Amount$'', is the option that will be displayed on the dropdown list. The words between dollar signs (''$'') are variable names referring to the two fields, ''Scheduled Payment Date'' and ''Payment Amount''.* The value on the left, ''~eventid~'' is a variable that will return the [[Event id|unique ID]] of the selected record and that is what will be saved to the database.
|-
|[[Image:VariableExampleBracketHashVariableExampleObjectandCriteria.png|link=|300px]]
|
* ''?object=activity'' tells the system that the list to be returned will be a list of {{l2}} records. See [[List Syntax]] for the list of ''objectname''s that can be substituted for ''activity''.
* ''criteria=typename='Payment''' tells the system that it should only return the {{l2}} records that are of the [[type]] ''Payment''.
* ''statusname='Scheduled''' tells the system that it should also only return the records that are in the ''Scheduled'' status.
|-
|[[Image:VariableExampleObjectandCriteriaVariableExampleBracketHash.png|link=|300px]]
|
* The ''[#...#]'' tags tell the system that it should process a list of objects.
* Everything between the ''[#...#]'' tags will be repeated as many times as there are records that meet the criteria specified above.
|-
|[[Image:VariableExampleParent.png|link=|300px]]
|
* The ''@parent...@'' syntax tells the system that it should look at the ''parent record'' for the list of records to be returned.
|-
|[[Image:VariableExample-PleaseSelect.png|link=|300px]]