Key generation functions
The key generation functions are usually relevant only when working with OUAF entities. When using a Service target to add entities such as accounts and persons, the service generates the IDs for these new entities. This means that the mapping expressions do not need to handle the key generation explicitly. However, when using TableSet and TableCursor targets, the data is added directly into the target OUAF tables, requiring DIH mapping to create the new IDs.
The functions allocate and validate IDs for uniqueness while the data is inserted, which may not be the most efficient approach. For high volumes, an alternative may work better. For example, it may be better to first insert all the data with a sequence number as a placeholder ID, followed by a separate step that more efficiently allocates and updates the IDs.