Create DocType
create_doctypeCreate a new custom DocType in ERPNext by defining fields, permissions, and module placement.
Instructions
Create a new custom DocType in ERPNext
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | DocType name | |
| fields | Yes | Field definitions | |
| module | Yes | Module to place the DocType in | |
| autoname | No | Autoname pattern | |
| permissions | No | Permission rules | |
| title_field | No | Field to use as title | |
| is_child_table | No | Whether this is a child table | |
| is_submittable | No | Whether documents can be submitted |