DocType
How to use DocType in Platform Settings: access, working steps, fields, related records and troubleshooting.
Purpose and access
Review platform defaults and dependencies within the administrator’s authority. Record the reason and tested impact of changes. Authentication, session settings and security-sensitive configuration need a controlled change process.
This page is a internal/admin record in System Admin → Platform Settings. Use the link above to open the configured destination; permissions are checked by the destination service.
Before you start
Prepare the required information: Module.
Confirm the company, party, dates, units and source references that apply. Select existing links carefully and check for an existing record before creating a duplicate.
Working steps
- Open DocType from System Admin → Platform Settings, or use ERP Search.
- Filter the list and open the relevant record. To add a record, use Add/New when your role provides that action.
- Complete the editable fields described below. Required fields and validation conditions must be satisfied; read-only values are set by the system or their source records.
- Add the required child rows. Review each row’s identifiers, linked records and values, using the child-table field reference below.
- Save the record and address validation messages. Reload and verify the saved values and relationships.
- Use any additional workflow actions only when the record and your role provide them. Saving this record does not automatically complete a related transaction or external action.
Field reference
These fields come from the installed ERP definition. Hidden fields and password inputs are omitted. Additional conditions, custom scripts and workflow rules can make a field required or read-only in a particular context.
| Field | Type / behavior | How to use it |
|---|---|---|
Permissionspermissions | Table Optional | Add the relevant child rows and review required columns, quantities and references before saving. Linked record: DocPerm |
Restrict To Domainrestrict_to_domain | Link Optional | Choose an existing linked record. Check its company and ownership; typing a label alone does not create a new relationship. Linked record: Domain |
User Cannot Searchread_only | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
User Cannot Createin_create | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Protect Attached Filesprotect_attached_files | Check Optional | Users are only able to delete attached files if the document is either in draft or if the document is canceled and they are also able to delete the document. |
Naming Rulenaming_rule | Select Optional | Choose one of the configured list values. Status fields may be controlled by the record workflow.Available choices
|
Auto Nameautoname | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Title Fieldtitle_field | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Allow Renameallow_rename | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Modulemodule | Link Required | Choose an existing linked record. Check its company and ownership; typing a label alone does not create a new relationship. Linked record: Module Def |
Is Submittableis_submittable | Check Optional | Once submitted, submittable documents cannot be changed. They can only be Cancelled and Amended. |
Is Child Tableistable | Check Optional | Child Tables are shown as a Grid in other DocTypes |
Is Singleissingle | Check Optional | Single Types have only one record no tables associated. Values are stored in tabSingles |
Is Treeis_tree | Check Optional | Tree structures are implemented using Nested Set |
Is Calendar and Ganttis_calendar_and_gantt | Check Optional | Enables Calendar and Gantt views. |
Editable Grideditable_grid | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Quick Entryquick_entry | Check Optional | Open a dialog with mandatory fields to create a new record quickly. There must be at least one mandatory field to show in dialog. |
Grid Page Lengthgrid_page_length | Int Optional | Enter a whole-number value. |
Rows Threshold for Grid Searchrows_threshold_for_grid_search | Int Optional | Enter a whole-number value. |
Allow Bulk Editallow_bulk_edit | Check Optional | Enable bulk update of this field across child table rows. |
Track Changestrack_changes | Check Optional | If enabled, changes to the document are tracked and shown in timeline |
Track Seentrack_seen | Check Optional | If enabled, the document is marked as seen, the first time a user opens it |
Track Viewstrack_views | Check Optional | If enabled, document views are tracked, this can happen multiple times |
Custom?custom | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Betabeta | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Is Virtualis_virtual | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Queue in Background (BETA)queue_in_background | Check Optional | Enabling this will submit documents in background |
Descriptiondescription | Small Text Optional | Provide concise contextual information relevant to the record. Avoid unrelated personal or confidential data. |
Image Fieldimage_field | Data Optional | Must be of type "Attach Image" |
Timeline Fieldtimeline_field | Data Optional | Comments and Communications will be associated with this linked document |
Parent Field (Tree)nsm_parent_field | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Max Attachmentsmax_attachments | Int Optional | Enter a whole-number value. |
Documentation Linkdocumentation | Data Optional | URL for documentation or help |
Hide Sidebar, Menu, and Commentshide_toolbar | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Hide Copyallow_copy | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Allow Import (via Data Import Tool)allow_import | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Allow events in timelineallow_events_in_timeline | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Allow Auto Repeatallow_auto_repeat | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Make Attachments Public by Defaultmake_attachments_public | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Show Title in Link Fieldsshow_title_field_in_link | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Translate Link Fieldstranslated_doctype | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Search Fieldssearch_fields | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Default Print Formatdefault_print_format | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Default Sort Fieldsort_field | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Default Sort Ordersort_order | Select Optional | Choose one of the configured list values. Status fields may be controlled by the record workflow.Available choices
|
Default Viewdefault_view | Select Optional | Choose one of the configured list values. Status fields may be controlled by the record workflow. |
Force Re-route to Default Viewforce_re_route_to_default_view | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Show in Module Sectiondocument_type | Select Optional | Choose one of the configured list values. Status fields may be controlled by the record workflow.Available choices
|
Iconicon | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Colorcolor | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Show Preview Popupshow_preview_popup | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Make "name" searchable in Global Searchshow_name_in_global_search | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Default Email Templatedefault_email_template | Link Optional | Choose an existing linked record. Check its company and ownership; typing a label alone does not create a new relationship. Linked record: Email Template |
Allow document creation via Emailemail_append_to | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Sender Email Fieldsender_field | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Sender Name Fieldsender_name_field | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Recipient Account Fieldrecipient_account_field | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Subject Fieldsubject_field | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Fieldsfields | Table Optional | Add the relevant child rows and review required columns, quantities and references before saving. Linked record: DocField |
Document Actionsactions | Table Optional | Add the relevant child rows and review required columns, quantities and references before saving. Linked record: DocType Action |
Document Linkslinks | Table Optional | Add the relevant child rows and review required columns, quantities and references before saving. Linked record: DocType Link |
Document Statesstates | Table Optional | Add the relevant child rows and review required columns, quantities and references before saving. Linked record: DocType State |
Has Web Viewhas_web_view | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Allow Guest to Viewallow_guest_to_view | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Index Web Pages for Searchindex_web_pages_for_search | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Routeroute | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Is Published Fieldis_published_field | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Website Search Fieldwebsite_search_field | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Database Engineengine | Select Optional | Choose one of the configured list values. Status fields may be controlled by the record workflow.Available choices
|
Child tables
Permissions — child-row fields
| Field | Type / behavior | How to use it |
|---|---|---|
Rolerole | Link Required | Choose an existing linked record. Check its company and ownership; typing a label alone does not create a new relationship. Linked record: Role |
If user is the ownerif_owner | Check Optional | Apply this rule if the User is the Owner |
Levelpermlevel | Int Optional | Enter a whole-number value. |
Selectselect | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Readread | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Writewrite | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Createcreate | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Deletedelete | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Submitsubmit | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Cancelcancel | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Amendamend | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Maskmask | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Reportreport | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Exportexport | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Importimport | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Shareshare | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Printprint | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Emailemail | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Impersonateimpersonate | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Fields — child-row fields
| Field | Type / behavior | How to use it |
|---|---|---|
Labellabel | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Typefieldtype | Select Required | Choose one of the configured list values. Status fields may be controlled by the record workflow.Available choices
|
Namefieldname | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Lengthlength | Int Optional | Enter a whole-number value. |
Precisionprecision | Select Optional | Set non-standard precision for a Float, Currency or Percent fieldAvailable choices
|
Non Negativenon_negative | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Hide Dayshide_days | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Hide Secondshide_seconds | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Mandatoryreqd | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Virtualis_virtual | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Indexsearch_index | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Not Nullablenot_nullable | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Maskmask | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Optionsoptions | Small Text Optional | Provide concise contextual information relevant to the record. Avoid unrelated personal or confidential data. |
Sort Optionssort_options | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Show Dashboardshow_dashboard | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Filterslink_filters | JSON Optional | Filters applied to Link queries and Attachment Gallery files. |
Defaultdefault | Small Text Optional | Provide concise contextual information relevant to the record. Avoid unrelated personal or confidential data. |
Fetch Fromfetch_from | Small Text Optional | Provide concise contextual information relevant to the record. Avoid unrelated personal or confidential data. |
Fetch on Save if Emptyfetch_if_empty | Check Optional | If unchecked, the value will always be re-fetched on save. |
Button Colorbutton_color | Select Optional | Choose one of the configured list values. Status fields may be controlled by the record workflow.Available choices
|
Hiddenhidden | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Show on Timelineshow_on_timeline | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Boldbold | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Allow in Quick Entryallow_in_quick_entry | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Translatabletranslatable | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Print Hideprint_hide | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Print Hide If No Valueprint_hide_if_no_value | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Report Hidereport_hide | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Display Depends On (JS)depends_on | Code Optional | Administrator/integration field. Use a validated configuration or supported script and test its impact before deployment. |
Collapsiblecollapsible | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Collapsible Depends On (JS)collapsible_depends_on | Code Optional | Administrator/integration field. Use a validated configuration or supported script and test its impact before deployment. |
Hide Borderhide_border | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
In List Viewin_list_view | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
In Standard Filterin_standard_filter | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
In Previewin_preview | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Stickysticky | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
In Filterin_filter | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
In Global Searchin_global_search | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Read Onlyread_only | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Allow on Submitallow_on_submit | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Ignore User Permissionsignore_user_permissions | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Allow Bulk Editallow_bulk_edit | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Make Attachment Public (by default)make_attachment_public | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Perm Levelpermlevel | Int Optional | Enter a whole-number value. |
Ignore XSS Filterignore_xss_filter | Check Optional | Don't encode HTML tags like <script> or just characters like < or >, as they could be intentionally used in this field |
Uniqueunique | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
No Copyno_copy | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Set only onceset_only_once | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Remember Last Selected Valueremember_last_selected_value | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Mandatory Depends On (JS)mandatory_depends_on | Code Optional | Administrator/integration field. Use a validated configuration or supported script and test its impact before deployment. |
Read Only Depends On (JS)read_only_depends_on | Code Optional | Administrator/integration field. Use a validated configuration or supported script and test its impact before deployment. |
Alignmentalignment | Select Optional | Choose one of the configured list values. Status fields may be controlled by the record workflow.Available choices
|
Print Widthprint_width | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Widthwidth | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Max Heightmax_height | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Columnscolumns | Int Optional | Number of columns for a field in a List View or a Grid (Total Columns should be less than 11) |
Descriptiondescription | Small Text Optional | Provide concise contextual information relevant to the record. Avoid unrelated personal or confidential data. |
Documentation URLdocumentation_url | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Placeholderplaceholder | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Show Description on Clickshow_description_on_click | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Document Actions — child-row fields
| Field | Type / behavior | How to use it |
|---|---|---|
Labellabel | Data Required | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Action Typeaction_type | Select Required | Choose one of the configured list values. Status fields may be controlled by the record workflow.Available choices
|
Action / Routeaction | Small Text Required | Provide concise contextual information relevant to the record. Avoid unrelated personal or confidential data. |
Groupgroup | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Hiddenhidden | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Document Links — child-row fields
| Field | Type / behavior | How to use it |
|---|---|---|
Link DocTypelink_doctype | Link Required | Choose an existing linked record. Check its company and ownership; typing a label alone does not create a new relationship. Linked record: DocType |
Link Fieldnamelink_fieldname | Data Required | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Parent DocTypeparent_doctype | Link Optional | Choose an existing linked record. Check its company and ownership; typing a label alone does not create a new relationship. Linked record: DocType |
Table Fieldnametable_fieldname | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Groupgroup | Data Optional | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Hiddenhidden | Check Optional | Enable or disable the named option only when it matches the intended record behavior. |
Is Child Tableis_child_table | Check Optional · Read-only | Enable or disable the named option only when it matches the intended record behavior. |
Document States — child-row fields
| Field | Type / behavior | How to use it |
|---|---|---|
Titletitle | Data Required | Enter the identifier or short text requested by the label. Preserve external reference numbers accurately. |
Colorcolor | Select Required | Choose one of the configured list values. Status fields may be controlled by the record workflow.Available choices
|
Troubleshooting
- Not permitted: verify the account, role and source-document permission. Do not share an administrator login.
- Missing record or address: inspect the relevant Link or Dynamic Link fields; a matching title alone does not establish a relationship.
- Cannot save or change status: review required fields, read-only values, document status and the configured approval transition.
- Unexpected report or portal result: review company/date filters, source-document submission and the approved party or Employee link.