cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Script logic Expression

Former Member
0 Likes
139

Hi

Can you explain the below record statement which we have in our one of the logic. I know normally EXPRESSION for used for add or divide but not familiar with below formate  

*REC(EXPRESSION = [ACCOUNT].[A187345] , ACCOUNT = "A212123")

Thank you

Ram

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi Ram,

Without testing this I'd think that it copies Account A187345 to Account A212123.

Regards,

Gersh

Answers (2)

Answers (2)

Former Member
0 Likes

Thanks both . This is part of large scrip (more that 60 lines), it is copying Account A187345 to Account A212123.

former_member186338
Active Contributor
0 Likes

As I already mentioned it's a bad way to copy Account A187345 to Account A212123... it will perform copy for any record in the scope, not for the records for A187345!

former_member186338
Active Contributor
0 Likes

Hi Ram,

[ACCOUNT].[A187345] means the reference to account A187345. But I have to view full script to see the scope defined. In general it's better to use something like:

*XDIM_MEMBERSET ACCOUNT=A187345

*WHEN ACCOUNT

*IS *

*REC(EXPRESSION = %VALUE% , ACCOUNT = "A212123")

*ENDWHEN

Vadim