In order for some lookups to occur properly on a related record I need to commit the record when pulling from the host. I'm pulling down a "Job" record with related "LineItem" records.
I see the section about "Forcing Lookups" listed here: http://www.seedcode.com/pmwiki/pmwiki.p ... eldMapping
But the instructions don't seem to match up with the files. Could you elaborate how this should be done?
Thanks
Committing related Records
3 posts
• Page 1 of 1
Posts: 36
Joined: Tue Mar 28, 2006 8:41 pm Location: Pittsburgh |
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Hi there,
You just want to make sure you've committed the parent record before you set any of the child fields that need to lookup from the parent. All this means is putting a Commit Record script step in the Set Field script that sets the parent record's fields: put it at the end after you've set all the Job fields (in this case). That way, when your LineItem fields get set, then job record is there to be looked up from. Hope that helps, John John Sindelar
SeedCode |
Posts: 36
Joined: Tue Mar 28, 2006 8:41 pm Location: Pittsburgh |
thanks. Got it working
|
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests