On what basis is the document code generated for a document record?
System document type is internally stored as a concatenation of the following:
- Prefix of GLB if the document type is global, or prefix of the legislation code if the document type is specific to a legislation.
- Document type name in upper case, with spaces replaced with an underscore ( _ ).
Document code is defaulted as a concatenation of the following:
- System Document Type.
- Time stamp in yyyy-mm-dd-hh24-mi-ss format. The time stamp includes the database date and time (24-hour format, minutes and seconds).
For example, GLB_BIRTH_2019-06-13-09-25-10 is the document code defaulted for the Birth global document type.