Skip to main content
After you create an extra table, you must set up fields in the table, to allow you to subsequently input data (entries). You can also create extra fields in standard tables.

Steps

  1. Go to Settings and maintenance > System design. Then select the Tables tab.
  2. Browse to your desired table, point at the table name, and click New field. Create extra field -screenshot
  3. Select a type for the new field and click OK.
  4. In the Field properties screen, enter data about the new field.
    • Enter a name to be used as the label.
    • Enter a database field beginning with x_ to identify the field in the schema.
    • Optionally set other properties. The type (specified in step 3) determines what is available. Se details about the fields below.
    To make a field mandatory, select Cannot be empty.
  5. Click OK to save the new field (runs alter table y_mynewtable add column x_mynewfield ...).
  6. Continue adding more fields.
  7. Click Restart NetServer when you are done. If Travel is activated, you will also see a message that a new Travel database must be generated.

Field properties

Add relation (foreign key, FK)

  1. Click New field.
  2. Select the relation type for the entity you want to connect to and click OK.
  3. Set field properties as described above.
    Available from version 10.3.4 in pilot: Selecting Show one-to-many relations adds a section tab (archive) to related standard entities.
  4. Click OK to save the relation.
  5. Click Restart NetServer to apply the changes.
For example, to connect all incoming requests to a specific sale, you can add an extra field of type sale relation to requests (ticket table). To list connected requests when viewing a sale in SuperOffice CRM, you will need to build a web panel.