3.5 List of LOP Function Type
Function Details for ‘IndexOf’
IndexOf returns the position of first occurrence of a specified value in a string. The search is case sensitive. If you have specified the LOP Function type as IndexOf, LOP type should be Expression and LOP data type should be Number.
- Source_String – Specify the parameter value from options list which lists the elements to be searched.
- Search_Value – Specify the value which has to be searched in the Source string.
- Start_Pos – Specify the start position of the search in the Source String.
For example, in a transaction, if string “LOAN” needs to be validated in the creditor account number, use Index of function.
Example ac no: 000432416LOAN12654
- Source String CDTRACCT_ACNO
- Search Value LOAN
- Start Position 0
Resultant LOP index value of the string is 9.
If the account does not contains the string ‘LOAN’ system returns the resultant index as ‘-1’.
After specifying the parameters, click on ‘Build Expression’ button.
On Click of ‘Build Expression’ button system populates the Final Expression.
Function Details for ‘Sub string’
Substring returns a new string that is a substring of the source string. If you have specified the LOP Function type as Sub string, LOP type should be Expression and LOP data type should be String.
- Source_String – Specify the parameter value from options list which lists the elements to be searched.
- Start_Pos – Specify the start position of the search in the Source String.
- End_Pos – Specify the end position of the search in the Source String.
For Example, If a rule has to be defined for “CREDITOR_AGENT_BIC country is US”
Source string – CREDITOR_AGENT_BIC
Start Position 4
End Position 6
If the CREDITOR_AGENT_BIC is CITIUS33, system returns the LOP substring value as ‘US’.
After specifying the parameters, click on ‘Build Expression’ button.
On Click of ‘Build Expression’ button system populates the Final Expression.
Function Details for ‘LengthOf’
Lengthof returns the number of characters of a specified string. If you have specified the LOP Function type as LengthOf, LOP type should be Expression and LOP data type should be Number.
Function Details Button launches the below screen to specify the below mandatory Parameter:
- Source_String – Specify the parameter value from options list which lists the elements whose length to be calculated.
For example, in a transaction, if length of the creditor account number to be validated, use Length of function.
Ex ac no: 89565656357
If a rule has to be defined to validate the length of creditor account number.
Source String CDTRACCT_ACNO
Resultant LOP length of the string is 11.
After specifying the parameters, click on ‘Build Expression’ button.
On Click of ‘Build Expression’ button system populates the Final Expression.
Function Details for ‘Upper case and Lower Case’
Upper case or lower Case converts all letters in the specified string to uppercase / lowercase. If you have specified the LOP Function type as Upper case/Lower case, LOP type should be Expression and LOP data type should be String.
Function Details button launches the below screen to specify the below mandatory parameters:
- Source_String – Specify the parameter value from options list, which lists the elements whose case to be converted.
For Example, If a rule has to be defined to convert Purpose as:
Lower case
Source string – PURPOSE
If the PURPOSE is PAYROLL, system returns the LOP value as ‘payroll’l’
After specifying the parameters, click on ‘Build Expression’ button.
On Click of ‘Build Expression’ button system populates the Final Expression.
Parent topic: Annexure




