Hi all,
We are using the Adapter Scenario.
We have the following object hierarchy :
ArticleEntity -> CustomerArticleEntity -> StaffCustomerArticleEntity
(StaffCustomerArticleEntity extends CustomerArticleEntity which extends ArticleEntity).
All staff customers have an entry in StaffCustomerArticleEntity which stores their staff number.
The problem is:
If we try to change a normal customer to a staff customer, an entry in StaffCustomerArticle is required, however, CustomerArticle entry already exists.
If we attempt to insert into StaffCustomerArticle, a duplicate key exception is raised when the insert is attempted on CustomerArticle (as it should be).
Is there any way to ONLY insert into the StaffCustomerArticle, using the existing keys from CustomerArticle?