edoc Knowledge Base
Breadcrumbs

In edoc invoice, an empty line is displayed in the drop-down list for the delegation rule

Component

edoc invoice

Version

23.2.8

Created on

Last modified on

No Workflow Applied

Review status

No Workflow Applied

KB article number

436862990

Summary

You can specify a replacement in edoc invoice if you are absent. Administrators can also set up a replacement for a person in the event of an unplanned absence.

In some cases, at least one empty line may be displayed in the Individual column of the drop-down list under User settings > Delegation settings.

If there is an empty line in the drop-down list, the cause of the error is that there is no first name and/or surname for a user in Keycloak or in the directory service (e.g. Active Directory).

Find out in this KB article how you can find out missing user names and add them later.

Important requirements

You have administrative permissions in Keycloak and/or Active Directory.

Solution

To fix the error, proceed as follows in edoc invoice in conjunction with Keycloak:

  1. Open the developer console (DevTools) in the browser with F12.

  2. Click on Network.

  3. Go to the substitute-settings entry.

  4. Open the Answer tab and search for the value null.

  5. You should now find at least one value that is structured as follows:

    JSON
    {
                "uuid": "XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
                "display_name": null
            },
    
  6. Copy the UUID found to add the corresponding UUID to the URL of Keycloak.

  7. Go to Keycloak > Users > View all users.

  8. Use Edit to select any user to display the URL in the address bar of the browser.

  9. Replace the last number (UUID) in the URL with the copied UUID to find the user you are looking for.

The next steps differ depending on whether you are using an LDAP connection.

Next steps without LDAP connection:

Stay in Keycloak and enter the user's first name and surname.

Here's how

  1. Open the corresponding user name (URL with UUID) in Keycloak.

  2. In the Details tab, enter the first name under First Name and last name under Last Name.

The change will be displayed in edoc invoice in a few minutes.

Next steps with LDAP connection:

If your users in Keycloak are synchronized with the users and groups in Active Directory (LDAP connection), you must edit the user using the Keycloak entry under Details > Username in Active Directory.

After the next synchronization (every 24 hours by default), the user name is displayed in edoc invoice.