Sndry::CancelDocument (Interface: Sndry)
 
Cancels the document preparation and all wanted changes.
 
void CancelDocument ()
 
 
See Also
CreateSndry
Handling accounting documents using the SDK
PrepareDocument
WriteDocument
 
Samples
 
C++
 
// Prepare the object to duplicate the current document...
pSndry->PrepareDocument (paDuplicate);
// ...and then decide to cancel this action.
pSndry->CancelDocument ();

C#
 
// Prepare the object to duplicate the current document...
oSndry.PrepareDocument (ePrepareAction.paDuplicate);
// ...and then decide to cancel this action.
oSndry.CancelDocument ();

VBS
 
' Prepare the object to duplicate the current document...
Call oSndry.PrepareDocument(paDuplicate)
' ...and then decide to cancel this action.
Call oSndry.CancelDocument()

VB.NET
 
' Prepare the object to duplicate the current document...
oSndry.PrepareDocument(ePrepareAction.paDuplicate)
' ...and then decide to cancel this action.
oSndry.CancelDocument()