DataInvoices

Customise DataInvoices · Forms

Add your own fields, tabs and tables to the Client and Supplier forms

Add your own fields, tabs and tables, such as guarantors, to the Client and Supplier forms, with masked ID numbers, list columns and import.

Where: Administration › Setup › Customization › Modules or Sales › Sales Setup › Clients or Purchase › Purchase Setup › Supplier

The Client and Supplier forms can be made your own, like the documents. An instalment shop can record each client's father's name, date of birth, income and guarantors. A distributor can add a route or a credit-check date. Everyone then fills these in on the form, and you see them in the list, in exports and in the Report Builder.

How the forms are laid out

The Client form has a General panel at the top, then the tabs Contacts, Addresses, Credit & terms and Tax, your own tabs and tables, and Documents and Timeline at the end. It opens on Contacts.

The Supplier form is the same, with Payment & terms in place of Credit & terms.

Contacts and Addresses are for other people and places, such as an accounts contact or a warehouse. The client's own phone, e-mail and address stay in General.

Open the form

  1. Open Administration › Setup. Under Customization, click Modules.
  2. Click Edit on SALE for the Client form, or on PURCHASE for the Supplier form.
  3. Click Edit on Client or Supplier, then Layout Editor at the top.

You need the right to customise forms. For how the Layout Editor works, see Arrange a form with the Layout Editor.

Add a tab with your own fields

  1. Drag New Tab onto the form, after Tax or wherever you want it in the row of tabs, and enter its Section Name, for example Personal & residence.
  2. Drag field types into it: Single Line, Multi Line, Number, Date, Pick List or Checkbox.
  3. For each field, enter the Label, and set what it needs in the field's properties (below).
  4. Click Save Layout.

Field options for these forms

On the Client and Supplier forms, your fields have these options on top of the usual ones:

  • Sensitive (ID number, e.g. a CNIC): for a Single Line field. The number is shown masked everywhere: on the form, in the list, in exports and reports, and in the audit log, for example *****-*******-3. People allowed to see full numbers have an eye button next to it, and every time they use it, it is recorded in the audit log. See Masked ID and bank numbers.
  • Show the age under it (e.g. a date of birth): for a Date field. The form shows the age under the date, for example Age 36.
  • Show as a column in the list: the field becomes a column in the Clients or Suppliers list.
  • Minimum and Maximum for a number, for example an income that can't be below 0, and Full row width for a long address. For a year, use a Single Line field: a Number field shows it with a thousands separator, such as 2,015.

Add a table, such as guarantors

For several rows of the same details on one client, such as guarantors, add a table:

  1. Drag Subform onto the form, and give it a Subform Name, for example Guarantors. Leave it in its own tab, or drop it inside a tab.
  2. Under Columns, click Column for each column. Enter its label and pick its type: text, number, date, checkbox or DROPDOWN (typed options, or one of your lists).
  3. Tick Sensitive (ID number, e.g. a CNIC) on a text column that holds an ID number, such as the guarantor's CNIC.
  4. Click Save Layout.

On the client, people click to add a row for each guarantor.

The built-in Other contacts and Other addresses tables have fixed columns: you can move them, or switch one off by dragging it to Unused Fields, but not change or delete them. For anything else, add your own table.

The form's own fields

The form's own fields can be moved, made full width or given a tooltip, and some can be taken off. They can't be renamed or deleted.

Some of them are new:

  • Type: Company or Individual.
  • Trading Name: the name on their shop or letterhead.
  • Branch: their home branch.
  • Collector, in Credit & terms: who collects payments from this client.
  • Supplies, on a supplier: Goods or Services.

Blocked clients and suppliers

Tick Blocked in Credit & terms (on a supplier, Payment & terms) and enter Why Blocked:

  • A blocked client can't get new sale orders, credit invoices or instalment plans. Receipts and returns still work.
  • A blocked supplier can't get new purchase orders or purchase invoices. Payments and returns still work.

The form shows a Blocked banner with the reason. Untick Blocked to lift it.

The client's figures

Above the Client form you see Sales this year (with the number of invoices), Outstanding, Overdue and Available credit, with Statement and Open items buttons. Each figure appears only for people allowed to see sales or the client's ledger.

If a client may already exist

When you save a client, DataInvoices checks for another client with the same CNIC, NTN or phone. It also checks for a guarantor who already stands for another client. If it finds one, This client may already exist names the matches. Confirm to save anyway, or go back and change it.

A matching CNIC or NTN can only be saved by someone allowed to override duplicates: the OVERRIDE right on the clients row in Access Management, given to the Accountant and Branch Manager to start with. Each such save is recorded.

Import and export

On the Clients and Suppliers lists:

  • Export gives every column, including your own fields.
  • Import takes a CSV or Excel file. Each row is checked and saved like a normal save, and the rows that weren't saved are listed with the reason.

Tables, such as guarantors, aren't imported: add them on each client.

In reports

In the Report Builder, Customers includes your own Client fields. Client contacts, Client addresses and Suppliers are also available as sources.

To pick a client's guarantors on an instalment plan and print the agreement with their signature and thumb boxes, see Sell on instalments.

Still stuck? E-mail [email protected] or open Administration › Settings › Support Tickets in the app.