During expression evaluation, intermediated values of the expression can be passed to calculator
window and a log file ‘tdlfunc.log’ inside the application directory. This is very much helpful for
debugging the expression. By default, logging is enabled inside the function.
Syntax
LOG : < Expression>
Where,
is the expression whose value needs to be passed to the calculator window.
[Function : GetCurrentUserApprovelAmt]
Parameter : PsvCurrentUser : String
Variable : ApprovelAMT : Amount
Return : Amount
10 : Walk Collection : ApprovelRequredColl
11 : If : $CustVAUser = ##PsvCurrentUser
12 : Set : ApprovelAMT : $ApprovelAmount
12A : Log : ##ApprovelAMT
13 : End If
14 : End Walk
15 : Return : ##ApprovelAMT
window and a log file ‘tdlfunc.log’ inside the application directory. This is very much helpful for
debugging the expression. By default, logging is enabled inside the function.
Syntax
LOG : < Expression>
Where,
[Function : GetCurrentUserApprovelAmt]
Parameter : PsvCurrentUser : String
Variable : ApprovelAMT : Amount
Return : Amount
10 : Walk Collection : ApprovelRequredColl
11 : If : $CustVAUser = ##PsvCurrentUser
12 : Set : ApprovelAMT : $ApprovelAmount
12A : Log : ##ApprovelAMT
13 : End If
14 : End Walk
15 : Return : ##ApprovelAMT
Skip to main content
Comments
Post a Comment