Custom Fields

Define custom fields once and add them to one or more sales and purchase documents.

Custom Fields let you add your own fields to sales and purchase documents. You can define a field once and apply it to one or several record types at the same time — for example, a Purchased For field on both Bill and Vendor Credit — instead of defining it for each document separately.

Go to Settings → Customization → Custom Fields.

The Custom Fields page

Custom Fields page
(1) Custom lists, (2) New field, (3) All, Transaction body, and Transaction lines tabs, (4) Search and filters, (5) Applies to, (6) Used in.
  • Tabs — All, Transaction body, and Transaction lines, each with a count.
  • Filters — Search by label, ID, or type, and filter by Record type, Field type, and Status.
  • Summary — the number of fields, active and inactive fields, and fields with rules.
  • Columns — Field (label, ID, and type), Applies to (the record types and whether it is on the transaction body or lines), Rules, Used in (the number of documents that use the field), and Next step.

The row menu (⋯) has Edit, Make inactive, and Delete.

Custom field row menu
The row menu (1): Edit, Make inactive, and Delete.

Use Reset to reset the page, and Custom lists to open Custom Lists.

Create a custom field

Select New field. The New custom field panel opens. It has seven numbered sections — Type, Applies to, Label & ID, Defaults, Sourcing, Conditions, and Placement — and a Live preview that shows how the field will look on the form.

New custom field panel
(1) Sections, (2) field types, (3) Live preview, (4) Save field.

1 · Type

Pick the field type. Use the search box to find a type.

GroupTypes
TextFree-Form Text, Long Text, Rich Text, Inline HTML (read-only)
NumbersInteger, Decimal, Currency, Percent
Date & timeDate, Date/Time, Time of Day
ChoiceCheck Box, List/Record, Multiple Select, Radio Button, Standard Record
Contact & webEmail, Phone, URL
FilesImage, Document/File

For a List/Record field, choose where its values come from under Values come from: Own values (values only this field uses — select Add value to add them) or Custom list (choose a custom list to share its values).

List/Record type selected
(1) List/Record type, (2) the new field in the Live preview.

2 · Applies to

Choose Transaction body or Transaction lines, then select one or more Record types (or Select all):

  • Sales — Invoice (also shown on Sales Orders), Credit Memo, Refund Receipt, Sale Receipt, Customer Payment.
  • Purchases — Bill (also shown on Purchase Orders), Bill Payment, Vendor Credit, Purchase Return, Expense, Expense Reversal, Expense Report.

Pick at least one record type. Removing a record type later hides the field there and keeps the stored values.

3 · Label & ID

Enter the Label (required) — the name shown on the form, and on the printed document if you add it to the report layout. The ID is made from the label and can't change after the field is saved. Optionally add Help text, shown under the field on the form.

4 · Defaults (optional)

Enter a Default value and turn on Mandatory if users must enter a value before saving the record. Defaults apply when a record is created and never overwrite a value someone typed.

5 · Sourcing (optional)

Fill this field from a related record. Pick a record type in section 2 first.

6 · Conditions (optional)

Select Add a condition to show, require, or lock the field only when other fields on the record match — for example, show the field only when the Location is Texas or Arizona. By default, the field is always shown.

7 · Placement (optional)

Choose the Position of the field on the form — for example, after Due Date. By default, it is added at the end of the main section. The panel shows which form the positions are based on (for example, the Invoice form); other forms place the field in the same spot when that field exists, otherwise at the end.

Save

Check the Live preview, then select Save field, or Cancel to discard it. The new field appears in the list with the record types it applies to.

Using a custom field

Once saved, the field appears on the forms of the record types it applies to, in the position you chose. For example, a Purchased For list field placed after Due Date appears after the due date on the bill form, with the values from its custom list. The value entered is shown on the document's detail page.

The field is also listed on the document's customization page (for example, Settings → Customization → Purchase → Bill), where you can change its visibility, required setting, width, and order. See Customization.

Show the field on the printed document

To include the field on the PDF, add it to the document's report layout — for example, Settings → Customization → Purchase → Bill Report — and select Apply Changes. See Customize report layouts.

On this page