Difference between revisions of "Functions in Formula Expressions"

From LongJump Support Wiki
imported>Aeric
 
imported>Aeric
Line 1: Line 1:
Formula functions are logical and programmatic functions, used with [[fields]] and [[operators]] to build [[Formula Expressions]] in any of the following platform elements:
Formula functions are logical and programmatic functions, used with [[fields]] and [[operators]] to build [[Formula Expressions]] in any of the following platform elements:
* [[Formula Fields]]
:* [[Formula Fields]]
*[[Validations]]
:*[[Validations]]
*Formulas in [[Computed Fields]]
:*Formulas in [[Computed Fields]]
*Policy triggering criteria in Action-Based [[Data Policies]]
:*Policy triggering criteria in Action-Based [[Data Policies]]
*[[Data_Policy#Add_Actions_to_a_Data_Policy|Update Record Action in Data Policies]].
:*[[Data_Policy#Add_Actions_to_a_Data_Policy|Update Record Action in Data Policies]].


The reference information for each Formula Function includes:
The reference information for each Formula Function includes:
* Format (syntax) of the Function
:* Format (syntax) of the Function
* Argument(s)
:* Argument(s)
* Description(s)
:* Description(s)
* Return Value
:* Return Value
* Examples  
:* Examples  


==Date Category==
==Date Category==

Revision as of 22:54, 12 July 2011

Formula functions are logical and programmatic functions, used with fields and operators to build Formula Expressions in any of the following platform elements:

The reference information for each Formula Function includes:

  • Format (syntax) of the Function
  • Argument(s)
  • Description(s)
  • Return Value
  • Examples

Date Category

See Date for details about these Day, Date and Time-related formula functions:

DATE

DATEADD

DATECOMP

DATEPART

DATESUB

DATEVALUE

DAY

HOUR

MINUTE

MONTH

NOW

NULLDATE

NULLTIME

SECOND

TIME

TIMEPART

TIMEVALUE

TODAY

WEEKDAY

YEAR

Logical Category

See Logical for details about functions resulting in TRUE/FALSE (YES/NO, 1/0):

AND

IF

ISCHANGED

ISNEW

ISNULL

NOT

OR

Math Category

See Math for details about mathematical functions:

ABS

CEIL

EXP

FLOOR

LN

LOG

MAX

MIN

MOD

POW

ROUND

SQRT

Text Category

See Text for details about text-related formula functions:

CONCAT

CONTAINS

ENDSWITH

FIND

LEN

LOWER

REPLACE

STARTSWITH

SUBSTRING

TEXT

TRIM

UPPER

VALUE

Uncategorized

LOOKUP

PRIORVALUE

Conventions

The following conventions are used in this document:

Element Description
string Strings must be enclosed with single quotes
dString Date strings must be enclosed with single quotes
int An integer,for example, a number representing the number of days (or months or years)
value An argument in date- and date/time-related Formula Functions, which defines a unit of time
[ ,optional] Optional values are shown in brackets, as [ ,option1, option2]