Fixed setup SQL ODETAILS PK