Create a UDF |
Top Previous Next |
Description: User-definable fields can be created for the following applets applets in InFocus: Clients, Employees, Vendors, Projects, and Contacts.
Note: Whenever you are in one of these five setup screens, a "UDF Designer" button will appear on the tool bar, assuming you have proper permissions. You can also access any of the UDF designers from the UDF Designer applet located in the Administration module.
Step 1 - If you are going to use a list, create the UDF list; otherwise, skip to Step 2. UDF lists provide drop-down lists for UDF fields. These non-restrictive lists allow a user to enter a value that is not contained in the list. Lists are maintained in the UDF Lists tab of the UDF Designer.
Add/Edit a UDF List
Step 2 - UDF fields can be added, modified, and changed from the UDF Fields tab in the UDF Designer. Fields can be added or modified in a grid format. To delete a UDF field, highlight the row and hit the Delete key.
Add a UDF Field
Fill out the following fields:
^udfvalue^ (the value being validated) and ^keyid^ (the primary key of the record holding the udf) The SQL script must return at least three values: 1) reterr (>=0 equals no error, <0 equals error)
Click Save when finished and the Vendor section will be rebuilt to contain the UDF Field.
|