The customer (whether via the interface, API or imports) must specify the codes themselves.
The PIM does not have the capacity to create a unique code, and even less so by following a precise coding standard.
It is possible to track document creation via
- webhooks
- via the API or even via export/import by filtering on creation dates (or any other missing data that would indicate a coding system to be set up).
This requires the intervention of another system, which will define the new code according to the standard defined by the business.