Define document fields
Define a field for attached documents once, then pick it in any document type. Example: the field Contract No. is used by the document type Contract.
Before you begin
- Your licence must include the archiving feature, so that the Archive System group appears in the ribbon.
- It is best to define the fields before you create the document types, because you pick the fields from a list when you define a type.
- If the field is a Menu, prepare the names of its items.
Steps
- In the ribbon choose Systems > Archive System > Document Fields. The Document Fields window opens with the defined fields.
- Click New. The Field Properties window opens.
- Type the Name, for example
Contract No.. It must not repeat between fields. Type the Latin Name if you want, for exampleContract No.. - Choose the Type: Text, Number, Date, Menu or Yes / No.
- Set the Default Value if a new document should start with a value. For a Menu field click Edit List and add the items as in Attached documents, then click OK in the list window.
- Tick Compulsory if every document must hold a value, and tick Unique if the value must not repeat between documents. Both options are disabled for Yes / No.
- Click OK, then confirm the save if the program asks. The window closes and the field appears at the end of the Document Fields grid.
To modify a field, select it and click Modify, or double-click its row, then follow steps 3 to 7. You cannot change the Type while a document uses the field. To delete a field, select it, click Delete, then confirm.
Result
The field becomes available on the Document Fields tab of the Attached Document Type Card, where you tick it in each document type that needs it. Existing documents do not change until you add the field to their type. This job writes no entries and changes no stock.
If something goes wrong
| Message | Why it appears | What to do |
|---|---|---|
| Field name is duplicated. | The name is used by another field. | Change the name. |
| List cannot be empty. | The type is Menu with no items. | Add an item from Edit List. |
| Field can't be changed to unique because there are saved documents having this field with repeated values. | You ticked Unique on a saved field and some documents hold repeated values. | Remove the repetition from the documents. |
| Field is used in a document. | You tried to delete a field whose value a document holds. | Keep the field. |
All fields and messages are in Document Fields.
Related
This page applies to alameen ERP 10, version 10.1.79.764.