Venice
Artcl::WriteParts
 
Inserts or updates the prepared article parts.
 
void WriteParts (
    enum eReportMode eReportMode
)
 
Parameters
eReportMode
[in] A value of the 'eReportMode' enumeration.
 
See Also
CreateArtcl
Handling article parts using the SDK
PrepareParts
CancelParts
 
Samples
 
C++
 
// Change the quantity of the first article part to 3.50
VARIANT vEmpty;
vEmpty.vt = VT_EMPTY;

pArtcl->PrepareParts (ppaModify);

pArtcl->UpdatePartSel (0, 3.50, vEmpty, vEmpty, vEmpty);

pArtcl->WriteParts (rmFullReport);

C#
 
// Change the quantity of the first article part to 3.50
oArtcl.PrepareParts (ePreparePartsAction.ppaModify);

oArtcl.UpdatePartSel (0, 3.50, null, null, null);

oArtcl.WriteParts (eReportMode.rmFullReport);

VBS
 
' Change the quantity of the first article part to 3.50
Call oArtcl.PrepareParts(ppaModify)

Call oArtcl.UpdatePartSel(0, 3.50, Empty, Empty, Empty)

Call oArtcl.WriteParts(rmFullReport)

VB.NET
 
' Change the quantity of the first article part to 3.50
oArtcl.PrepareParts(ePreparePartsAction.ppaModify)

oArtcl.UpdatePartSel(0, 3.50, Nothing, Nothing, Nothing)

oArtcl.WriteParts (eReportMode.rmFullReport)