Hi,
I have an apps with CDS as the datasource. I created an id field (Primary key) in my entity. Its data type is Autonumber with format: {DATETIMEUTC:yyyyMMdd}_{SEQNUM:3}. Does anyone know how can I reset the sequence number daily.
E.g. Date: 07-Jun-2020 => id: 20200607_001, 20200607_002, 20200607_003
For next day, date: 08-Jun-2020 => id: 20200608_001, 20200608_002
So the seq number is reset on the next day.


Report
All responses (
Answers (