Venice
SInvce::CancelDocument
 
Cancels the invoice preparation and all wanted changes.
 
void CancelDocument ()
 
 
See Also
CreateSInvce
Handling invoicing documents using the SDK
PrepareDocument
WriteDocument
 
Samples
 
C++
 
// Prepare the object to duplicate the current document...
pSInvce->PrepareDocument (paDuplicate);
// ...and then decide to cancel this action.
pSInvce->CancelDocument ();

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

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

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