Forum Discussion
ChrisLoran
3 years agoValued Contributor
Just to add to the answer already posted, if you need to lookup whether the incoming UD2 string is a valid member in the target UD2 dimension, please avoid using BRAPI functions (like BRAPI.Finance.Members.GetMember ) in BRs like this since each call to a BRAPI function creates and destroys a database connection object from the DB connection pool, which is quite inefficient. You can make this more efficient by storing a list of valid members in memory , and caching it in BRGlobals, so it doesn't have to use BRAPI lookup functions every time. Below example for illustration purposes...
- bilbrandon3 years agoNew Contributor III
Thank you - this is very helpful. Do you know if the list of members can be logged for review?
Thanks
Bil
Related Content
- 12 months ago
- 11 months ago
- 11 months ago