This support note applies to:
-
AE Practice Manager (NZ)
-
AE Practice Manager (AU)
Error 'A problem has occurred. Cannot insert duplicate key row in object 'dbo.Assignment' with unique index 'IX_Assignment_Code'. The statement has been terminated' may appear when editing a Client name or Mailing Name or when changing a client code or closing a client within AE Practice Manager (AE PM)
To resolve, ensure the Assignment Codes for the affected clients are all unique. Should you find there is a duplicate, one of the codes will need to be edited to be a unique code.
Note:
The Code for the assignment may display unique codes on the Assignments tab but may actually be different under the Amend assignment screen.
MYOB INTERNAL STAFF ONLY
SR 11258319009