Hi!

I'm using transfer 1.1 with an application on Coldbox. Mi model:

- Person (name, countryId): many2one with Country, one2Many with
PersonOrg.
- Org (name, countryId): many2one with Country, one2Many with
PersonOrg.
- PersonOrg (personId, orgId, role): role can be 'staff', 'contact',
'interested', etc.
- Country (name, countryId)

The problem: I'd like to be able to delete an organisation, and its
relations with persons, but not the persons themselves, and neither
the country. i.e. all records from PersonOrg related to the
Organisation. If I try cascadeDelete, all objects related to the
organisations will be deleted PersonOrg and Country.

I read in the documentation about removemanytoone... and I thought it
was what I needed! I could remove the link between Country and
Organisation before doing the cascadeDelete... right?

Transfer responds with "The method removemanytooneCountry was not
found" :(

Am I missing something? Do I need to manually delete all related
one2many objects?

TIA,

Pedro.
--~--~---------~--~----~------------~-------~--~----~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to