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

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

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

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