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

Re: Rounding off the value with only logic script

$
0
0

Hi Dat,

 

Please don't mix everything!

 

First of all ensure that rounding is working correctly without any additional calculations (Currency Translation, Consolidation).

 

Put 723337,19207 into some intersection of base members using input form and then test script with rounding only for this intersection only!

 

Test script like:

 

//Define scope of the intersection here with number of *XDIM_MEMBERSET...

 

//First WHEN/ENDWHEN to show value before rounding

*WHEN ACCOUNT

*IS * //have to be already scoped

*REC(EXPRESSION=%VALUE%) //723337,19207 has to be shown

*ENDWHEN

 

//Second WHEN/ENDWHEN to show value after rounding

*WHEN ACCOUNT

*IS * //have to be already scoped

*REC(EXPRESSION=1*(%VALUE%).toFixed(2)) //723337,19 has to be shown

*ENDWHEN

 

Look on the results in UJKT - with EXECUTE!

 

Vadim

 

P.S.

 

"Therefore, if I understand it well, the logic script currently used follows this process :

 

Local Currency --> Currency Translation with 2 decimals --> Consolidation." - incorrect

You have rounding after both: after Currency Translation and after Consolidation

Please show you full consolidation script and not as a picture!


Viewing all articles
Browse latest Browse all 8635

Trending Articles



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