ERP_PutDocumentInBufor
This function puts document into buffer, notifying specified users about operation status.
Syntax
ERP_PutDocumentInBufor("documentValue", "documentNumber", "documentType","usersToInform");
Function arguments
- documentValue – (String) Actual document content.
- documentNumber – (Decimal) Document number.
- documentType – (String) Type of the document.
- usersToInform – (String) Logins or raw email addresses of users to be informed about operation status. Multiple values can be separated by ’,’ or ’;’.
Return value
This function returns Boolean.
Returns true on success, false on error adding document to buffer.
Examples
Example 1:
ERP_PutDocumentInBufor("test doc", "123", "text", "rsimmons;external@company.com,jsimmons");