crm.documentgenerator.document.add
crm.documentgenerator.document.add(templateId, entityTypeId, entityId, values = [])
The method creates a new document based on a template and corresponding entity data. The values
can pass an array of additional field values. A new document structure, similar to the method crm.documentgenerator.document.get() is returned on success.
Parameters
Parameter | Description |
---|---|
templateId | Template ID. |
entityTypeId | CRM entity ID. |
entityId | Entity ID. |
values | Additional field values. |
Examples
© «Bitrix24», 2001-2024