03-19-2024 08:50 AM - edited 03-19-2024 08:52 AM
Code:
Dim TimeName As String = "2023M1"
Dim dt_NIk As DataTable = BRApi.Import.Data.FdxExecuteDataUnit(si,"Consol", "E#KY00_Total.Base","OwnerPostAdj",Brapi.Finance.Scenario.GetScenarioType(si,si.WorkflowClusterPk.ScenarioKey).Id,"S#Actual_Hist","T#" & TimeName,"YTD",True,"Flow = 'EndBalanceLoad'",10,False)
Error:
Error processing data. The item was not found. Entity, Parent, -1.
Is there any alternate way to retrieve Data. It works on USD, Local
Solved! Go to Solution.
03-19-2024 09:16 AM - edited 03-19-2024 09:17 AM
Can you actually see records against that member in Database / Tools / Data Records? FdxExecuteDataUnit deals only in hard data, anything not stored (e.g. Share etc) will not be extracted. If you want that type of stuff, build a Cube View instead and use FdxExecuteCubeView / FdxExecuteCubeViewTimePivot.
03-19-2024 09:20 AM - edited 03-19-2024 03:15 PM
I was just looking at the same thing @JackLacava
@Nikpowar97 this may give you the insights you need for this:
Consolidation (onestreamcloud.com)
03-19-2024 10:15 AM
That's correct. The default consolidation algorithm effectively does not store the result of a bunch of consolidation calculations, and Fdx cannot extract what is not stored.
I don't know what Fdx does when the Stored Share algorithm is used instead (i.e. those records are actually generated), but I wouldn't be surprised if it skipped those elements anyway.
03-19-2024 02:27 PM
The FDX Data unit api's will only work with C#Local or any base currency member e.g C#Currencies.Base from the Consolidation dimension. That is why you're getting an error when you are not using one of those cons members and it works when you do.
03-19-2024 09:02 AM
Make sure entity member KY00_Total exists the Consol cube, and that the user running the rule where the FDX method call is has access to that entity and all its base members.
03-19-2024 09:10 AM
Yes the Entity Do exist in the Cube. and there is no security setup for the application. It is working for me on Local, USD but not for other Cons Member.
03-19-2024 09:16 AM - edited 03-19-2024 09:17 AM
Can you actually see records against that member in Database / Tools / Data Records? FdxExecuteDataUnit deals only in hard data, anything not stored (e.g. Share etc) will not be extracted. If you want that type of stuff, build a Cube View instead and use FdxExecuteCubeView / FdxExecuteCubeViewTimePivot.
03-19-2024 09:20 AM - edited 03-19-2024 03:15 PM
I was just looking at the same thing @JackLacava
@Nikpowar97 this may give you the insights you need for this:
Consolidation (onestreamcloud.com)
03-19-2024 10:15 AM
That's correct. The default consolidation algorithm effectively does not store the result of a bunch of consolidation calculations, and Fdx cannot extract what is not stored.
I don't know what Fdx does when the Stored Share algorithm is used instead (i.e. those records are actually generated), but I wouldn't be surprised if it skipped those elements anyway.
03-19-2024 02:27 PM
The FDX Data unit api's will only work with C#Local or any base currency member e.g C#Currencies.Base from the Consolidation dimension. That is why you're getting an error when you are not using one of those cons members and it works when you do.
03-19-2024 02:41 PM
The out of the box Data Management Export Data option might be path of least resistance to export data for those cons members