Description
Syntax
Parameters
Example
The following is a VB.NET sample that retrieves the series by its parameters.
| GetSeries (Visual Basic) | Copy Code |
|---|
Dim oCmpSrv As SAPbobsCOM.CompanyService
Dim oSeriesService As SAPbobsCOM.SeriesService
Dim oSeries As Series
Dim oSeriesParams As SeriesParams
oCmpSrv = oCompany.GetCompanyService
oSeriesService = oCmpSrv.GetBusinessService(ServiceTypes.SeriesService)
oSeriesParams = oSeriesService.GetDataInterface(SeriesServiceDataInterfaces.ssdiSeriesParams)
oSeriesParams.Series = 84
oSeries = oSeriesService.GetSeries(oSeriesParams)
Debug.WriteLine(oSeries.Name)
|
|
See Also