📚 SAP Business One SDK Help

UpdateCertificateSeries Method
See Also  Example
pICertificateSeries
The data for the certificate series to be updated. The CertificateSeries object must contain the key of the object to be updated.

Description

Updates an existing certificate series.

The data for the certificate series, including the key of the certificate series to be updated, is contained in the CertificateSeries passed to the method. To update a certificate series, you must first retrieve it using the GetCertificateSeries method.

Syntax

Visual Basic
Public Sub UpdateCertificateSeries( _
   ByVal pICertificateSeries As CertificateSeries _
) 

Parameters

pICertificateSeries
The data for the certificate series to be updated. The CertificateSeries object must contain the key of the object to be updated.

Example

Updating a certificate series (C#)Copy Code
SAPbobsCOM.CertificateSeriesParams oCSParams = (SAPbobsCOM.CertificateSeriesParams)oCSSrv 
    .GetDataInterface(CertificateSeriesServiceDataInterfaces.cssCertificateSeriesParams); 
 
oCSParams.AbsEntry = 4; 
SAPbobsCOM.CertificateSeries oCS = oCSSrv.GetCertificateSeries(oCSParams); 
 
oCS.Location = 0; 
oCS.SeriesLines.Remove(1); 
 
oCSSrv.UpdateCertificateSeries(oCS);

See Also