USER DEFINED FIELDS IN SAGE 100

User-defined fields (UDF) are custom fields that can be added to almost any table in Sage 100. These UDF’s can be very useful when you want to track data that falls outside of the standard Sage 100 data fields. UDF’s can also be used for reports or to simplify searching for certain records. Let’s look at how to add a UDF and some of the options available to us.

need help now? live support available          Need training fast? Sage 100 courses avialable         sage 100 users tips and tricks

Adding A User Defined Field

Before adding a new UDF we will need to know what table to add it to as well as make sure all users are out of the system so Sage 100 can update the table. Once all users are logged out go to Modules – Custom Office – Main – User-Defined Field and Table Maintenance.

Choose which Module the UDF will be added to and then the Table. In our example, we will add a new UDF to the Customer Master table so we can track their delivery frequency. Right-click on the Table Name and choose Edit Fields. Click on the green plus sign to Add a new field.

Type the Field Name (Sage will automatically add the UDF and underscores) and the Description will automatically populate.

Manual Entry is used for any field that will manually be updated through an entry screen or by using Visual Integrator. Business Object is populated by the system and are typically used when moving data from one table to another, more information on that further down. In our example, Manual Entry will be used.

Now we can define the Control Type, Attributes, Validation, and Data Sources.

Select a Control Type. The control type determines the type of control used to enter data for the user-defined field (UDF). The control type cannot be changed after data is entered for the UDF; however, you can delete and redefine the UDF (all data associated with the UDF will be deleted).

  • Multi-Line for a general purpose text entry field that can consist of one or more lines of text. Use multi-line controls to enter text, numerics, and dates.
  • Drop-Box to allow selection from a list of valid values. A list of values will appear below the entry field using standard Windows drop-box conventions.
  • List-Box to display a list of valid values that can be scrolled through and selected. List box controls that are added to a grid are displayed as drop boxes.
  • Check-Box to store a single character, “N” for “No” (cleared) and “Y” for “Yes” (selected).

Select a Data Type. The data type determines the type of data that can be stored in a user-defined field (UDF).

  • A multi-line UDF can use any data type.
  • A drop box and list box can use a string data type.
  • A checkbox can use only a string data type.

The data type cannot be changed after data is entered for the UDF; however, you can delete and redefine the UDF (all data associated with the UDF will be deleted).

Type the Maximum Length field value. The maximum length specifies the maximum number of characters allowed for the user-defined field (UDF).

  • For date type fields, the length is set at 10, and this field is not available.
  • For numeric type fields, the length is set to 15, and this field is not available.
  • For checkbox type fields, the length is set to 1, and this field is not available.

The total number of characters for all UDFs for an entity cannot exceed 20,000. The maximum length cannot be reduced after data is entered for the UDF; however, you can delete and redefine the UDF (all data associated with the UDF will be deleted).

Uppercase – Select this check box to automatically convert data entered at a multi-line user-defined field to uppercase characters. Clear this check box if you do not want to automatically convert the data to uppercase characters.

Fixed Font – Select this check box to use a fixed-width font in place of the standard variable font. Clear this check box if you do not want to use a fixed-width font.

Center Text – Select this check box to center text in a multi-line control. Clear this check box if you do not want to center the text.

Right-Justify – Select this check box to right-justify text in a multi-line control. Clear this check box if you do not want to right-justify the text.

Borderless – Select this check box to display a multi-line control without a border. Clear this check box if you do not want to display the multi-line control without a border.

Mask – Select this check box to use a mask, and type the mask for the user-defined field (UDF). The mask controls how data appears in a window, as well as the way the data is entered. Masks can also control the type of characters allowed. You can specify string masks for string data type fields, and numeric masks for numeric data type fields. Clear this check box if you do not want to use a mask.

On the Validation tab, you can leave this set to None, Range, List or link it to a User-Defines Table.

In our example, we will provide a predefined list.

Data Sources can be used when data is to be populated from another table during an update process.

Once complete click OK and then OK on the User-Defined Table window. This will begin the process of updating the table. If anyone is using any tables or programs that need to be updated this will provide you with a warning to retry when they have exited the system.

Moving User Defined Field from Entry to History – Using Business Object

In some cases, we may need to add a UDF to table that we can only manually enter using an entry screen like Invoice Data Entry or Sales Order Data Entry but need to data to move with the record into the history tables. To do this we need to create the UDF in several locations and use the Business Object to transfer the UDF with the records.

For example, let’s say we added a UDF called “Technician” to the AR_InvoiceHeader table so we could manually enter the technician’s name who performed the work for the customer. We will be able to do this in AR Invoice Data Entry but we need that data to transfer to the AR_InvoiceHistoryHeader table when we run the Sales Journal.

First, we add the UDF Technician to the AR_InvoiceHeader table as shown above using Manual Entry Multi-Line String with 20 as a Maximum Length.

Second, we have to add the UDF_TECHNICIAN to the AR_TransactionPosting table using the Business Object as shown below.

Lastly, we add the UDF to the AR_InvoiceHistoryHeader table using the Business Object as shown below.

Using User Defined Fields

Now that we have added out UDF’s we can add them to the entry screens using Customizer (as shown in Custom Screens in Sage 100 (Formerly MAS90 & MAS200) or to any Crystal Report. We can also use the field in any lookup using the Custom lookup option.

Still having trouble?  ACC is proud to offer comprehensive training in Sage 100 and Sage 100c software! 

Register now for our upcoming Summer Series, a series of digital “lunch & learn” webinars to help you get the most out of your Sage 100 system!

 


Solutions by Industry

What's New

Make the Most of Acumatica and Sage 100 Features

Maximizing the benefits of Acumatica and Sage 100 requires a strategic approach, tailored customizations, and expert guidance. Read More

Submitted by Stephanie Dean on Thu, 10/24/24 - 5:00

Strategies for Optimizing ERP Performance

Implementing an ERP system is only the beginning. Optimizing its performance is where true value and competitive advantage are realized. Read More

Submitted by Stephanie Dean on Tue, 10/22/24 - 5:00

The ACC Advantage: Enhance Your Experience

Choosing the right software partner is crucial to the success of your business, and ACC Software Solutions is here to be that partner for you. Read More

Submitted by Stephanie Dean on Thu, 10/17/24 - 5:00

Whatever Your ERP Needs, We Have the Solution!

Or call us for a free consultation 866-379-3799