Forum Discussion

Nikpowar97's avatar
Nikpowar97
Contributor
3 months ago

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

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

  • MG's avatar
    MG
    Community Manager

    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? 

    • Nikpowar97's avatar
      Nikpowar97
      Contributor

      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")

      • Nikpowar97's avatar
        Nikpowar97
        Contributor

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