Reserve Words

The following is a list of all the reserved words that are available in Lucity Web.

 

'%LOGGEDINUSERID%' - Returns the currently logged in users 'Login ID'.

Example

 

'%LOGGEDINEMPCODE%' - Returns the currently logged in users 'Employee ID'. This is found in the EM_EMPL_CD field in the WKUEMP table. When used in a filter, the system automatically replaces the reserved word with the Work Employee Code of the currently logged in user.

Requirements - You must own Work to use this string. In order to use this string, the logged in employee must have their login ID associated to an employee record in the Work Flow Setup > Employees module.

Example

 

'%FISCALYEAR%' - Returns the current fiscal year from the Planning and Budgeting, Fiscal Year module in the Desktop application.

Requirements - You must own Work to use this string. It uses the current fiscal year from the Planning and Budgeting, Fiscal Year module in the Desktop application.

Example

 

'%CURRENTYEAR%' - Inserts the current calendar year.

Example

 

'%CURRENTQUARTER%' - Inserts the current quarter.

Example

 

'%CURRENTMONTH%' - Inserts the current month.

Example

 

'%CURRENTWEEK%' - Inserts the current week surrounding the current date. The week runs from the previous Sunday to the next Sunday.

Example

 

'%CURRENTWEEK1%' - Inserts the current week surrounding the current date. The week runs from the previous Sunday to the next Sunday.

Example

 

'%CURRENTWEEK2%' - Inserts the current week surrounding the current date. The week runs from the previous Monday to the next Monday.

Example

 

'%CURRENTWEEK3%' - Inserts the current week surrounding the current date. The week runs from the previous Tuesday to the next Tuesday.

Example

 

'%CURRENTWEEK4%' - Inserts the current week surrounding the current date. The week runs from the previous Wednesday to the next Wednesday.

Example

 

'%CURRENTWEEK5%' - Inserts the current week surrounding the current date. The week runs from the previous Thursday to the next Thursday.

Example

 

'%CURRENTWEEK6%' - Inserts the current week surrounding the current date. The week runs from the previous Friday to the next Friday.

Example

 

'%CURRENTWEEK7%' - Inserts the current week surrounding the current date. The week runs from the previous Saturday to the next Saturday.

Example

 

'%CURRENTDAY%' - Inserts the current 24 hour period. This is a range from 12:00 AM of the current day to 12:00 AM of the next day.

Example

 

'%PREVIOUSYEAR%' - Inserts the year previous to the current year.

Example

 

'%PREVIOUSMONTH%' - Inserts the month previous to the current month.

Example

 

'%PREVIOUSWEEK%' - Inserts the week previous to the current week.

Example

 

'%PREVIOUSDAY%' - Inserts the day previous to the current day.

Example

 

'%FIRSTHALFOFTHEMONTH%' - Inserts the first half of the month (days 1-15).

Example

 

'%SECONDHALFOFTHEMONTH%' - Inserts the second half of the month (days 15-31).

Example

 

'%ONEWEEKAHEAD%' - Inserts the next week.

Example

 

'%TWOWEEKSAHEAD%' - Inserts the next two weeks.

Example

 

'%ONEWEEKAHEADANDBEFORE%' - Inserts the next week plus previous timespan. For example, you may use this string to query for all existing open work orders as well as those that are open/due in the next week.

Example

 

'%TWOWEEKSAHEADANDBEFORE%' - Inserts the next two weeks plus previous timespan.

Example

 

'%LAST(X,Y)%' - Inserts a range of dates (X) going backward in time starting a given number of days (Y) prior to the current date.

Example

 

'%NEXT(X,Y)%' - Inserts a range of dates (X) going forward in time starting a given number of days (Y) following to the current date.

Example

 

'%TODAY%' - Inserts today's date.

Example

 

See Also

Acquiring Filters

Sample Advanced Filters