M
mpiscoso@gmail.com
Guest
leonc you need to create a many to many relationship between users and codes. After you have that you need to create a trigger on the user object that will iterate through all your related premises using getRelatedRecordIds(). For each premise you'll need to get and store all related codes of that premise in an array then move onto the next premise. After getting all codes of all premises, attach it to your user. You'll need to run this after create/update when the premises of a user changes. Hope that helps Piscoso, Martin
Continue reading...
Continue reading...