Return related activities based on their procedural status
You can use the USER_SYM_ACT subroutine with the CURRENT.ACT.BY.STATUS argument in a complex User Symbolic to return related Activity records of a particular type based on their procedural status.
Subroutine name
USER_SYM_ACT
Subroutine argument
CURRENT.ACT.BY.STATUS
Example of use
You could see all completed condition reports.
Argument syntax and parameters
The subroutine is a piece of code that uses ‘arguments’. An argument is a set of options that tells the subroutine what to do. The argument parameters are commonly separated by an exclamation mark.
The CURRENT.ACT.BY.STATUS subroutine argument structure is:
CURRENT.ACT.BY.STATUS!arg2!arg3!arg4!arg5!arg6
What the argument parameters mean
Argument parameter | Required or optional? | Explanation | Example |
---|---|---|---|
arg2 | Required | The System ID of the Related Activity file. | |
arg3 | Required | EQUALS or NOT - whether to exclude activities of certain statuses (as listed in arg4), or to include them. Defaults to Equals. | |
arg4 | Required | Statuses to check for. Delimited by ";". | |
arg5 | Optional | Set to 1 to check the status of the Related Exhibition for a Venue record, rather than the Venue Status. Defaults to 0. This parameter is only valid if the file specified in arg2 is VE (Venue). | |
arg6 | Optional | Set to 1 to sort records by start date, ascending (earliest first). |