documentgenerator.document.update
documentgenerator.document.update(id, values, stampsEnabled = 1, fields = [])
The method updates existing document with new values. It must be considered that the document based on a deleted template cannot be updated. Works similarly as the documentgenerator.document.add().
Parameters
Parameter | Description |
---|---|
id | document identifier. |
values | array of new document field values. |
stampsEnabled | 1 (enable), 0 (remove) stamps and signatures. |
fields | field settings. |
Examples
© «Bitrix24», 2001-2024