Access through business object group

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Brian
Posts: 9
Joined: Sun Jun 30, 2013 10:44 pm
Location: Australia

Access through business object group

Post by Brian »

Hi all,

I'm stuck in the process of business object things, so I'd like to seek any help from you.

I have a Person and it can have Phone or Email or both of them.
I've made a business object group named Contact and assigned Phone and Email.

I want Person to have only one of IDs of Phone or Email.
So I did it like this.

FIND Contact WHERE Contact.PersonID = ThisPerson AND Contact.Type='Phone' TAKE BEST 1
Person.ContactWay=ThisContact.ContactsID

The problem is that when I assign one say Phone or Email to Person, it's ok. But when I input Phone and Email and try to save Person, I got an error. Message is like this.
Value for path ThisContact.ContactsID could not be resolved.

Thanks in advance.

Have a nice weekend.

Brian
Post Reply