aricgresko
6 months agoContributor III
How to find Entity's Currency in Application Database Tables
I'm working on a custom Table View that returns People Planning Plan Data for our users. The new requirement is to also bring in the Currency of the data. This means I need to bring in the Currency ...
- 6 months ago
You can loop through your data table you are pulling from People Planning and update each row by using the entity information in column X (I assume the entity is in a dedicated column), pull the entity ID, pull the currency using the GetLocalCurrency function, and update the column that shall display your entity's currency using:
BRApi.Finance.Entity.GetLocalCurrency(si, myEntityId).Name
As this uses loops and BRApis, this may not be as performant as you need it to be. Try to keep the displayed table small so that users do not feel the (possible) impact if necessary.