Currently it is not possible to use the date type within a primary key (or compound primary key) using the service builder. This was confirmed in
LPS-70242 and LPS-70279. Unfortunately this can cause issues with existing customizations and planned customizations. To help address this can a workaround be implemented to allow the use of the date type in primary keys or compound primary keys?