NexCommand AINexCom Knowledge Base
Field reference

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.

ERP links open in a new tab. Sign in with your own account; record visibility, actions and approval authority follow your assigned permissions. Screens can differ by company and configuration.

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

  1. Open DocType from System Admin → Platform Settings, or use ERP Search.
  2. Filter the list and open the relevant record. To add a record, use Add/New when your role provides that action.
  3. 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.
  4. Add the required child rows. Review each row’s identifiers, linked records and values, using the child-table field reference below.
  5. Save the record and address validation messages. Reload and verify the saved values and relationships.
  6. 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.

FieldType / behaviorHow to use it
PermissionspermissionsTable
Optional
Add the relevant child rows and review required columns, quantities and references before saving.

Linked record: DocPerm

Restrict To Domainrestrict_to_domainLink
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_onlyCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
User Cannot Createin_createCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Protect Attached Filesprotect_attached_filesCheck
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_ruleSelect
Optional
Choose one of the configured list values. Status fields may be controlled by the record workflow.
Available choices
  • Set by user
  • Autoincrement
  • By fieldname
  • By "Naming Series" field
  • Expression
  • Expression (old style)
  • Random
  • UUID
  • By script
Auto NameautonameData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Title Fieldtitle_fieldData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Allow Renameallow_renameCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
ModulemoduleLink
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_submittableCheck
Optional
Once submitted, submittable documents cannot be changed. They can only be Cancelled and Amended.
Is Child TableistableCheck
Optional
Child Tables are shown as a Grid in other DocTypes
Is SingleissingleCheck
Optional
Single Types have only one record no tables associated. Values are stored in tabSingles
Is Treeis_treeCheck
Optional
Tree structures are implemented using Nested Set
Is Calendar and Ganttis_calendar_and_ganttCheck
Optional
Enables Calendar and Gantt views.
Editable Grideditable_gridCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Quick Entryquick_entryCheck
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_lengthInt
Optional
Enter a whole-number value.
Rows Threshold for Grid Searchrows_threshold_for_grid_searchInt
Optional
Enter a whole-number value.
Allow Bulk Editallow_bulk_editCheck
Optional
Enable bulk update of this field across child table rows.
Track Changestrack_changesCheck
Optional
If enabled, changes to the document are tracked and shown in timeline
Track Seentrack_seenCheck
Optional
If enabled, the document is marked as seen, the first time a user opens it
Track Viewstrack_viewsCheck
Optional
If enabled, document views are tracked, this can happen multiple times
Custom?customCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
BetabetaCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Is Virtualis_virtualCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Queue in Background (BETA)queue_in_backgroundCheck
Optional
Enabling this will submit documents in background
DescriptiondescriptionSmall Text
Optional
Provide concise contextual information relevant to the record. Avoid unrelated personal or confidential data.
Image Fieldimage_fieldData
Optional
Must be of type "Attach Image"
Timeline Fieldtimeline_fieldData
Optional
Comments and Communications will be associated with this linked document
Parent Field (Tree)nsm_parent_fieldData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Max Attachmentsmax_attachmentsInt
Optional
Enter a whole-number value.
Documentation LinkdocumentationData
Optional
URL for documentation or help
Hide Sidebar, Menu, and Commentshide_toolbarCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Hide Copyallow_copyCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Allow Import (via Data Import Tool)allow_importCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Allow events in timelineallow_events_in_timelineCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Allow Auto Repeatallow_auto_repeatCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Make Attachments Public by Defaultmake_attachments_publicCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Show Title in Link Fieldsshow_title_field_in_linkCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Translate Link Fieldstranslated_doctypeCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Search Fieldssearch_fieldsData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Default Print Formatdefault_print_formatData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Default Sort Fieldsort_fieldData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Default Sort Ordersort_orderSelect
Optional
Choose one of the configured list values. Status fields may be controlled by the record workflow.
Available choices
  • ASC
  • DESC
Default Viewdefault_viewSelect
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_viewCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Show in Module Sectiondocument_typeSelect
Optional
Choose one of the configured list values. Status fields may be controlled by the record workflow.
Available choices
  • Document
  • Setup
  • System
  • Other
IconiconData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
ColorcolorData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Show Preview Popupshow_preview_popupCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Make "name" searchable in Global Searchshow_name_in_global_searchCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Default Email Templatedefault_email_templateLink
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_toCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Sender Email Fieldsender_fieldData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Sender Name Fieldsender_name_fieldData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Recipient Account Fieldrecipient_account_fieldData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Subject Fieldsubject_fieldData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
FieldsfieldsTable
Optional
Add the relevant child rows and review required columns, quantities and references before saving.

Linked record: DocField

Document ActionsactionsTable
Optional
Add the relevant child rows and review required columns, quantities and references before saving.

Linked record: DocType Action

Document LinkslinksTable
Optional
Add the relevant child rows and review required columns, quantities and references before saving.

Linked record: DocType Link

Document StatesstatesTable
Optional
Add the relevant child rows and review required columns, quantities and references before saving.

Linked record: DocType State

Has Web Viewhas_web_viewCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Allow Guest to Viewallow_guest_to_viewCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Index Web Pages for Searchindex_web_pages_for_searchCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
RouterouteData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Is Published Fieldis_published_fieldData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Website Search Fieldwebsite_search_fieldData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Database EngineengineSelect
Optional
Choose one of the configured list values. Status fields may be controlled by the record workflow.
Available choices
  • InnoDB
  • MyISAM

Child tables

Permissions — child-row fields
FieldType / behaviorHow to use it
RoleroleLink
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_ownerCheck
Optional
Apply this rule if the User is the Owner
LevelpermlevelInt
Optional
Enter a whole-number value.
SelectselectCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
ReadreadCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
WritewriteCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
CreatecreateCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
DeletedeleteCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
SubmitsubmitCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
CancelcancelCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
AmendamendCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
MaskmaskCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
ReportreportCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
ExportexportCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
ImportimportCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
ShareshareCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
PrintprintCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
EmailemailCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
ImpersonateimpersonateCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Fields — child-row fields
FieldType / behaviorHow to use it
LabellabelData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
TypefieldtypeSelect
Required
Choose one of the configured list values. Status fields may be controlled by the record workflow.
Available choices
  • Autocomplete
  • Attach
  • Attach Image
  • Attachment Gallery
  • Barcode
  • Button
  • Check
  • Code
  • Color
  • Column Break
  • Currency
  • Data
  • Date
  • Datetime
  • Duration
  • Dynamic Link
  • Float
  • Fold
  • Geolocation
  • Heading
  • HTML
  • HTML Editor
  • Icon
  • Image
  • Int
  • JSON
  • Link
  • Long Text
  • Markdown Editor
  • Password
  • Percent
  • Phone
  • Read Only
  • Rating
  • Section Break
  • Select
  • Signature
  • Small Text
  • Tab Break
  • Table
  • Table MultiSelect
  • Text
  • Text Editor
  • Time
NamefieldnameData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
LengthlengthInt
Optional
Enter a whole-number value.
PrecisionprecisionSelect
Optional
Set non-standard precision for a Float, Currency or Percent field
Available choices
  • 0
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
Non Negativenon_negativeCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Hide Dayshide_daysCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Hide Secondshide_secondsCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
MandatoryreqdCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Virtualis_virtualCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Indexsearch_indexCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Not Nullablenot_nullableCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
MaskmaskCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
OptionsoptionsSmall Text
Optional
Provide concise contextual information relevant to the record. Avoid unrelated personal or confidential data.
Sort Optionssort_optionsCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Show Dashboardshow_dashboardCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Filterslink_filtersJSON
Optional
Filters applied to Link queries and Attachment Gallery files.
DefaultdefaultSmall Text
Optional
Provide concise contextual information relevant to the record. Avoid unrelated personal or confidential data.
Fetch Fromfetch_fromSmall Text
Optional
Provide concise contextual information relevant to the record. Avoid unrelated personal or confidential data.
Fetch on Save if Emptyfetch_if_emptyCheck
Optional
If unchecked, the value will always be re-fetched on save.
Button Colorbutton_colorSelect
Optional
Choose one of the configured list values. Status fields may be controlled by the record workflow.
Available choices
  • Default
  • Primary
  • Info
  • Success
  • Warning
  • Danger
HiddenhiddenCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Show on Timelineshow_on_timelineCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
BoldboldCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Allow in Quick Entryallow_in_quick_entryCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
TranslatabletranslatableCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Print Hideprint_hideCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Print Hide If No Valueprint_hide_if_no_valueCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Report Hidereport_hideCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Display Depends On (JS)depends_onCode
Optional
Administrator/integration field. Use a validated configuration or supported script and test its impact before deployment.
CollapsiblecollapsibleCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Collapsible Depends On (JS)collapsible_depends_onCode
Optional
Administrator/integration field. Use a validated configuration or supported script and test its impact before deployment.
Hide Borderhide_borderCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
In List Viewin_list_viewCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
In Standard Filterin_standard_filterCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
In Previewin_previewCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
StickystickyCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
In Filterin_filterCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
In Global Searchin_global_searchCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Read Onlyread_onlyCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Allow on Submitallow_on_submitCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Ignore User Permissionsignore_user_permissionsCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Allow Bulk Editallow_bulk_editCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Make Attachment Public (by default)make_attachment_publicCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Perm LevelpermlevelInt
Optional
Enter a whole-number value.
Ignore XSS Filterignore_xss_filterCheck
Optional
Don't encode HTML tags like <script> or just characters like < or >, as they could be intentionally used in this field
UniqueuniqueCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
No Copyno_copyCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Set only onceset_only_onceCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Remember Last Selected Valueremember_last_selected_valueCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Mandatory Depends On (JS)mandatory_depends_onCode
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_onCode
Optional
Administrator/integration field. Use a validated configuration or supported script and test its impact before deployment.
AlignmentalignmentSelect
Optional
Choose one of the configured list values. Status fields may be controlled by the record workflow.
Available choices
  • Left
  • Center
  • Right
Print Widthprint_widthData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
WidthwidthData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Max Heightmax_heightData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
ColumnscolumnsInt
Optional
Number of columns for a field in a List View or a Grid (Total Columns should be less than 11)
DescriptiondescriptionSmall Text
Optional
Provide concise contextual information relevant to the record. Avoid unrelated personal or confidential data.
Documentation URLdocumentation_urlData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
PlaceholderplaceholderData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Show Description on Clickshow_description_on_clickCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Document Actions — child-row fields
FieldType / behaviorHow to use it
LabellabelData
Required
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Action Typeaction_typeSelect
Required
Choose one of the configured list values. Status fields may be controlled by the record workflow.
Available choices
  • Server Action
  • Route
Action / RouteactionSmall Text
Required
Provide concise contextual information relevant to the record. Avoid unrelated personal or confidential data.
GroupgroupData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
HiddenhiddenCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Document Links — child-row fields
FieldType / behaviorHow to use it
Link DocTypelink_doctypeLink
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_fieldnameData
Required
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
Parent DocTypeparent_doctypeLink
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_fieldnameData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
GroupgroupData
Optional
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
HiddenhiddenCheck
Optional
Enable or disable the named option only when it matches the intended record behavior.
Is Child Tableis_child_tableCheck
Optional · Read-only
Enable or disable the named option only when it matches the intended record behavior.
Document States — child-row fields
FieldType / behaviorHow to use it
TitletitleData
Required
Enter the identifier or short text requested by the label. Preserve external reference numbers accurately.
ColorcolorSelect
Required
Choose one of the configured list values. Status fields may be controlled by the record workflow.
Available choices
  • Blue
  • Cyan
  • Gray
  • Green
  • Light Blue
  • Orange
  • Pink
  • Purple
  • Red
  • Yellow

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.