> For the complete documentation index, see [llms.txt](https://zendevx.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zendevx.gitbook.io/docs/actions-the-power-within/untitled/database/generate-document.md).

# Generate Document \#

Those who have experience in building ERP will know how important it is to generate and assign a unique document number.

![](https://2445524190-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M_LKN8sx9rUwRZIqIu7%2F-M_y8ftZYOdT5UQ721Nr%2F-M_yHDmEV2mZxgMSWV3h%2F13.00_Database_GeneateDocNum.png?alt=media\&token=0ee8ec26-6209-45dc-9adc-1e97ee6c539c)

Here Document #s are generated uniquely based on the parameters defined here.
