5010 - Duplicate value in UID!

This error is generated when user tries to add a record with defined WB_UID variable, and record with same value in fields defined in WB_UID already exists. Change the value in field(s) included in WB_UID.