|
Updates an Sales Delivery Detail line. |
|
|
void Update ( enum eUpdateMode eUpdateMode ) |
|
|
Parameters | eUpdateMode | [in] A value of the 'eUpdateMode' enumeration. | | Remarks |
| An entry cannot be updated using the dialog (eInsertMode = imDialog or eInsertMode = imDialogFromData), this mode is not supported in this version. |
| Updating a record destroys the object positioning that was previously established via a SeekBy-method and the GetNext/GetPrevious-methods. The results of calling GetNext or GetPrevious after an update are not guaranteed. |
|
|
See Also |
|
|
|
Samples |
|
|
C++ |
|
// Update the remark of the last inserted sales delivery detail line to 'Updated via SDK'
if (pSDelivDet->SeekBySysNum (smLast, 0))
{
pSDelivDet->SetFieldVal (sddfRemark, "Updated via SDK");
pSDelivDet->Update (umFullReport);
}
|
|
|
C# |
|
// Update the remark of the last inserted sales delivery detail line to 'Updated via SDK'
if (oSDelivDet.SeekBySysNum (eSeekMode.smLast, 0))
{
oSDelivDet.SetFieldVal (eSDelivDetFld.sddfRemark, "Updated via SDK");
oSDelivDet.Update (eUpdateMode.umFullReport);
}
|
|
|
VBS |
|
' Update the remark of the last inserted sales delivery detail line to 'Updated via SDK'
If oSDelivDet.SeekBySysNum(smLast, 0) Then
Call oSDelivDet.SetFieldVal(oSDelivDet.GetFieldID("Remark"), "Updated via SDK")
Call oSDelivDet.Update(umFullReport)
End If
|
|
|
VB.NET |
|
' Update the remark of the last inserted sales delivery detail line to 'Updated via SDK'
If oSDelivDet.SeekBySysNum(eSeekMode.smLast, 0) Then
oSDelivDet.SetFieldVal(eSDelivDetFld.sddfRemark, "Updated via SDK")
oSDelivDet.Update(eUpdateMode.umFullReport)
End If
|
|