Difference between document abort and document cancellation
- Document abort means the abort of the document before the document was stored (to database, filesystem and fiscal system)
- Document cancellation means the cancellation of a previous stored document.
To implement a document abort you've to do the following:
Note: In several countries it is not necessary to store document abort, but we recommend using the same pattern for every country.
The difference of aborting a document to storing the document is to use the method CancelDocument instead of the method StoreDocument at the end of the document creation process.
Info: It is not necessary to set special properties to abort the document.
Therefore the process to abort a document is the following:
- Add items, discounts, etc.
- CancelDocument (instead of StoreDocument)
Info: Please consider respective country specific regulations concering aborting of documents.
For detailed information about the document object module please refer to the document object model documentation.
Please sign in to leave a comment.