[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Attach and update records automatically

  • Thread starter Thread starter mpiscoso@gmail.com
  • Start date Start date
Status
Not open for further replies.
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...
 
Status
Not open for further replies.
Back
Top