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

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

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

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