Skip to main content
Contributor
Sep 27, 2024 6:48 AM UTC
Solved

Copy OnwerPost Adj Data

I am trying to copy the data from the Adjustment data. 

api.Data.Calculate("F#EndBalJE:O#AdjInput = RemoveZeros(F#EndBal:O#AdjInput:T#PovPrior1)","A#BS.Base")

As per My rule the data will be copied for C#members that does not require parent to be specified.
Example : C#Local and C#Share

 

Is there any way I can copy the data at C#OwnerPostAdj Data As well using api.data.Calculate
What changes I need to make in above code . ?

Regards,

Nik

Contributor
Oct 1, 2024 4:28 PM UTC

Nikpowar97_0-1727800059655.png

The property was set to False ( Calculate OwnerPostAdj if No Data), Worked when it was set to true

3 replies

OneStream Employee
Sep 27, 2024 9:05 AM UTC

Hi, 

Short Answer is yes you can use api.data.calc to copy data at C#OwnerPostAdj. 

Are you having issues with your code, have you tried to run it? 

Contributor
Sep 27, 2024 11:24 AM UTC

Yes I tried but the code does not copy data at OwnerPostAdj here.

api.Data.Calculate("F#EndBalJE:O#AdjInput = RemoveZeros(F#EndBal:O#AdjInput:T#PovPrior1)","A#BS.Base")

Nikpowar97AuthorAnswer
Contributor
Oct 1, 2024 4:28 PM UTC

Nikpowar97_0-1727800059655.png

The property was set to False ( Calculate OwnerPostAdj if No Data), Worked when it was set to true