I have an Account BO and a RegularUser BO.
If an Account can have many owners, this needs a 2 way peer multiple reference attribute.
If i want to say what kind of owner it is, then ill need to make a new AccountOwner BO with a single RegularUser and single Account with some other attributes detailing the relationship.
The peer multiple reference already creates a SQL table "account_ref" which would be functionally similar to the "AccountOwner" BO created but the AccountOwner will have other fields.
If we could add some custom attributes to the existing peer multiple reference so we can use the additional data when needed, but also use the nice INSERT, REMOVE and other functions related to the multiple reference would help.
Then i also wouldnt have to do EXISTS Account WHERE ( EXISTS AccountOwner WHERE ( AccountOwner.ps_Account = Account AND AccountOwner.ps_Owner = LoggedInRegularUser AND AccountOwner.Type = 'Manager'))
Instead something like EXISTS Account WHERE ( LoggedInRegularUser IN Account.pm_Owner WITH Type = 'Manager')
I hope that makes sense
Thank you.