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

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

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

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