Artcl::PrepareParts (Interface: Artcl)
 
Prepares the object for handling its article parts.
 
void PrepareParts (
    enum ePreparePartsAction ePreparePartsAction
)
 
Parameters
ePreparePartsAction
[in] A value of the 'ePreparePartsAction' enumeration.
 
See Also
CreateArtcl
Handling article parts using the SDK
WriteParts
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)