Venice
ArtWrh::Delete
 
Deletes an Article Warehouse card.
 
void Delete (
    enum eDeleteMode eDeleteMode
)
 
Parameters
eDeleteMode
[in] A value of the 'eDeleteMode' enumeration.
 
Remarks
After deleting a record, no further actions can be executed on the record, although the methods GetNext and GetPrevious are still valid.
 
See Also
CreateArtWrh
SeekBySysNum
 
Samples
 
C++
 
// Delete the last inserted record
if (pArtWrh->SeekBySysNum (smLast, 0))
    pArtWrh->Delete (dmFullReport);

C#
 
// Delete the last inserted record
if (oArtWrh.SeekBySysNum (eSeekMode.smLast, 0))
    oArtWrh.Delete (eDeleteMode.dmFullReport);

VBS
 
' Delete the last inserted record
If oArtWrh.SeekBySysNum(smLast, 0) Then
    Call oArtWrh.Delete(dmFullReport)
End If

VB.NET
 
' Delete the last inserted record
If oArtWrh.SeekBySysNum(eSeekMode.smLast, 0) Then
    oArtWrh.Delete(eDeleteMode.dmFullReport)
End If