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

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

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

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