Oracle Message DRG-10504 - primary key is required when using the DETAIL_DATASTORE

ERRORprimary key is required when using the DETAIL_DATASTORE
CAUSEyou tried to use the detail datastore to index a table with no primary key constraint
ACTIONadd a primary key constraint on the table