I have two BOs, Employee and EmployeeHistory
I was sure I had this working previously whereby I can have many EmployeeHistory for each Employee.
If that were the case......
BO: Employee would have Attribute History of type EmployeeHistory
Multiple Allowed=Yes and Owner Of
BO: EmployeeHistory would have Attribute Employee of type Employee
Multiple Allowed = No and Owned By
Somehow or another I have not got a situation where it will not allow me to add multiple History records. Just keeps updating the same record.
Wondering why, I went back and had a look and low and behold
BO: Employee would have Attribute History of type EmployeeHistory
Multiple Allowed=Yes and Peer
BO: EmployeeHistory would have Attribute Employee of type Employee
Multiple Allowed = No and Peer
Question is, is there any way to recreate the Owner Of and Owned by relationship for existing BOs without losing all my data?
I did not pick this up (albeit that I did test it in the earlier part of the development) as the first 100 or so employees only had a single History record. Now one has multiple and hence the problem.
Any advice here would be helpful.