on 2016 Apr 20 9:50 AM
Hi
Can someone explain to me Conditional logic in the record statement below ?
REC(EXPRESSION=([ACCOUNT].[A_100006])>([ACCOUNT].[A_100005]) ? ([ACCOUNT].[A_100103])*([ACCOUNT].[A_100102]) : 0,ACCOUNT="A_100009")
Is it if Account A_100006 is greater than A_100005 it posted in A_100009 otherwise A_100103 is multiplied with A_100102 and posted in A_100047 ?
Thank you
Regards
Ram
Request clarification before answering.
Hi Ram,
Looks like it's always posting to A_100009 (note, you don't need the quote marks around this account).
It's currently saying:
- If A_100006 is greater than A_100005, then multiply the value of A_100103 by the value of A_100102, otherwise write a value of zero. And always write the answer to A_100009 (after removing the " ")
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 6 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.