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

Re: BPC NW 10 Logic Script: Conditional Statement

$
0
0

Thanks Vadim for reply,

 

But what challenges, I am facing is that There are so many other things involved in coping data from one version to other version other than currency translation.

 

In detail, I have  HR Planning model, which has following dimensions: DataSrc, Employee, Version, Account, Entity, Segment, Currency, and Time.

 

I have to write a logic script to copy data from Plan_1 to Plan_2 using condition as below.

 

DataSrc = All

Employee = All

Version = Plan_1, Plan_2

Account= 1100111, 1100112

Entity = All

Segment = All

Currency = LC

Time = $TIMEID$ (this will be taken from DM Package)


For Account 1100111 and 1100112:

 

 

Check if CURRENCY property of ENTITY = CURRENCY property of Employee then copy data from 1100111 (Account) and Version (Plan_1) to 1100112 (Account) and Version (Plan_2) as it is,

 


 

else If the currencies are different, use plan exchange rates to convert the account to the currency of the Entity and Post the data from 1100111 (Account) and Version (Plan_1) to 1100112 (Account) and Version (Plan_2).

 

The above logic applies to some other GL accounts, which I have not included here.

 

 

 

Hope, I have explained the above requirement clearly. 

 

 

 

Regards,

 


Viewing all articles
Browse latest Browse all 2878

Trending Articles



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