Forum Discussion

svj12's avatar
svj12
New Contributor II
2 days ago
Solved

Invalid destination data unit in script

I'm making my first attempt at using the DataBuffer to perform a data copy from a source scenario to a destination scenario. This is being done through a Data Management (DM) step and a Custom Calcul...
  • sameburn's avatar
    23 hours ago

    In your case I suspect it is your entity filter. Which i am guessing will differ to your hard coded E#ES at runtime. Maybe try just passing in a single entity and then build up your logic from there.

    You can use FinanceRulesApi object to get Entity, Scenario and Time etc dynamically from what you pass in e.g api.Pov.Data.Entity.Name