Hi,
I have two BOs called Customer and Appointment. The Appointment BO is an Appointment object. There is a reference attribute called CustomerRef in the Appointment BO which is a reference to the related Customer BO. There are approximately 200 instances of Appointment referring to approximately 50 Customers.
I need to update the Subject attribute in all my Appointment BOs with data from two attributes of the related Customer BO. I have tried the following -
FIND ALL Appointment
Appointment.Subject=Appointment.CustomerRef.FirstName+' '+Appointment.CustomerRef.LastName
What I have encountered is that all my Appointment BOs are updated with the FirstName+Lastname of just one Customer, the first Customer from the FIND rule, I think.
I hoped my rule would fill Appointment BO with its own related data, but evidently not.
I'm wondering has it got something to do with THIS or THAT, or is there something else I'm overlooking.
Any suggestions ?
Thanks in advance,
Peter