doc
The doc variable provides access to the document currently processed. Modify this variable to update the document.
Updated documents are opened in the editor.
Example: Write a code that sets the price field to 10.
doc.price = 10;
The doc variable provides access to the document currently processed. Modify this variable to update the document.
Updated documents are opened in the editor.
Example: Write a code that sets the price field to 10.
doc.price = 10;