Method Functions
You can specify advanced configuration for method functions.
This table lists the method functions of advanced configuration:
Function | Description | Syntax | Example |
---|---|---|---|
Absolute | Always returns the positive value of the selected attribute. | Absolute value of <rule attribute> | Absolute value of Invoice Distribution.Amount Variance Greater Than 1500 Absolute value of Invoice Distribution.Amount Variance Between 500 and 1000 |
Negate | Changes the sign of numerical value for the selected attribute. | Negate value of <rule attribute> | Negate value of Invoice Line.Control Amount Between 500 and 1000 |
Index Of Character | Returns the position of the first occurrence of specified character(s) in a string. | Index of <search string> from <a given point> in <rule attribute> | Index of "VS" from 1 in Invoice Line.Account Segment Equals 6 |
Replace All | Replace parts of the text with a different string. | Replace All <search string> with <replacement string> in <rule attribute> | Replace All "Vision" with "VS" in Invoice Header.Business Unit Name ends with VS |
Sub String | Extract part of a given string, based on a specified starting position and ending position. | Sub string of <rule attribute> from <start index> to <end index> | Sub string of Cost Center Total.Center Name from 1 to 3 Equals EE |
Transform to Uppercase | Converts the text in the attribute to upper case. | To upper case of <rule attribute> | To upper case of Invoice Header.Invoice Source equals INVOICE To upper case of Invoice Header.Invoice Source not equals APPROVALS |
Transform to Lowercase | Converts the text in the attribute to lower case. | To lower case of <rule attribute> | To lower case of Invoice Header.Invoice Source starts with pos
To lower case of Invoice Header.Invoice Source equals internal |
Trim White Spaces | Removes white spaces and rearranges the text in the attribute. | Trim of <rule attribute> | Trim of Invoice Header.Invoice Type equals Standard Trim of Invoice Header.Invoice Type not equals Memo |