Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9129

Re: Script logic issue while loading data for the first time

$
0
0

Hi Varsha,

 

What is the difference is logic for ACCOUNT is BAS(D) in line 7 and 13 of your code below.


Line 7 : BAS(D) is not considering the FUNC_AREA, so will calculate for all FUNC_AREA ( including LMN)


Line 13: BAS(D) is considering the FUNC_AREA (LMN) - so repeating the same calculation for FUNC_AREA = LMN here.

 

  1. *WHEN ACCOUNT
  2. *IS BAS(A)
  3. *REC(EXPRESSION = %VALUE%,ACCOUNT = "X")
  4. *IS BAS(B),BAS(C),BAS(D),BAS(E)
  5. *REC(EXPRESSION = -%VALUE%,ACCOUNT = "X")
  6. *IS BAS(D)
  7. *WHEN FUNC_AREA
  8. *IS LMN
  9. *REC(EXPRESSION = -%VALUE%,ACCOUNT = "X")
  10. *ENDWHEN
  11. *ENDWHEN

 

Regards,

Bishwajit


Viewing all articles
Browse latest Browse all 9129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>