What's New
General Information
CRM Constants
Table Structure
crm.documentgenerator.document.add
crm.documentgenerator.document.delete
crm.documentgenerator.document.enablepublicurl
crm.documentgenerator.document.get
crm.documentgenerator.document.getfields
crm.documentgenerator.document.list
crm.documentgenerator.document.update
crm.documentgenerator.document.upload
crm.documentgenerator.document.update
crm.documentgenerator.document.update(id, values, stampsEnabled = 1)
The method updates an existing document with new values. Document created via deleted template cannot be updated. The method works similarly as crm.documentgenerator.document.add().
Parameters
Parameter | Description |
---|---|
id | document identifier. |
values | array of new values for document fields. |
stampsEnabled | 1 (enable), 0 (disable) stamps and signatures. |
Examples
© «Bitrix24», 2001-2024