biuan SAP® BUSINESS ONE SDK
DTW Banking / Outgoing Payments / Checks for Payment
API Series Service

Description

SeriesService manages the Series object, a component of the document numbering system.

Source table: NNM1 (Documents Numbering - Series).

Object Model

Remarks

See the documentation for the SeriesService methods for more code samples.

In general, to use a DI service:

  1. Connect to a valid company.
  2. Call the CompanyService, which is the main DI service that you must call before using any other service.
  3. Call the method GetBusinessService for the required service.
  4. Create an empty data structure related to the required service.
    - or -
    You can create a data structure from an XML file or XML string.
  5. Set the required properties of the specified data structure.
  6. Call the required service method.

Example

See Also

SAP® B1 DI-API C# definition

public class SeriesServiceClass : ISeriesService, SeriesService { public extern SeriesServiceClass(); public virtual extern ElectronicSeriesParams AddElectronicSeries( ElectronicSeries pIElectronicSeries); public virtual extern SeriesParams AddSeries( Series pISeries); public virtual extern void AttachSeriesToDocument( DocumentSeriesParams pIDocumentSeriesParams); public virtual extern void ChangeDocumentMenuName( DocumentChangeMenuName pIDocumentChangeMenuName); public virtual extern object GetDataInterface( SeriesServiceDataInterfaces enumMSDI); public virtual extern object GetDataInterfaceFromXMLFile( string bstrFileName); public virtual extern object GetDataInterfaceFromXMLString( string bstrXMLString); public virtual extern ElectronicSeriesParams GetDefaultElectronicSeries( SeriesParams pISeriesParams); public virtual extern Series GetDefaultSeries( DocumentTypeParams pIDocumentTypeParams); public virtual extern DocumentChangeMenuName GetDocumentChangedMenuName( DocumentTypeParams pIDocumentTypeParams); public virtual extern SeriesCollection GetDocumentSeries( DocumentTypeParams pIDocumentTypeParams); public virtual extern ElectronicSeries GetElectronicSeries( ElectronicSeriesParams pElectronicSeriesParams); public virtual extern Series GetSeries( SeriesParams pSeriesParams); public virtual extern void RemoveElectronicSeries( ElectronicSeriesParams pIElectronicSeriesParam); public virtual extern void RemoveSeries( SeriesParams pISeriesParam); public virtual extern void SetDefaultElectronicSeries( DefaultElectronicSeriesParams pIDefaultElectronicSeriesParams); public virtual extern void SetDefaultSeriesForAllUsers( DocumentSeriesParams pIDocumentSeriesParams); public virtual extern void SetDefaultSeriesForCurrentUser( DocumentSeriesParams pIDocumentSeriesParams); public virtual extern void SetDefaultSeriesForUser( DocumentSeriesUserParams pIDocumentSeriesUserParams); public virtual extern void UnattachSeriesFromDocument( DocumentSeriesParams pIDocumentSeriesParams); public virtual extern void UpdateElectronicSeries( ElectronicSeries pIElectronicSeries); public virtual extern void UpdateSeries( Series pISeries); }

Related information


Document Change Menu Name DocumentChangeMenuName Object· Table: ONNM
Represents the user-defined menu name for a specific document type/document subtype. For example, the menu for sales order documents is Sales Orders. The name can be changed to Orders (or any other string) with this object. Source table: The...
   Parent: Series Service SeriesService Service· Table: NNM1

Series Params SeriesParams Object
The SeriesParams specifies an identification key (Series) for which the SeriesService is related.
   Parent: Series Service SeriesService Service· Table: NNM1

Series Service Data Interfaces SeriesServiceDataInterfaces Enumeration
SeriesService data interfaces.
   Parent: Series Service SeriesService Service· Table: NNM1

Default Electronic Series Params DefaultElectronicSeriesParams Object
DefaultElectronicSeriesParams Class
   Parent: Series Service SeriesService Service· Table: NNM1

Document Series Params DocumentSeriesParams Object· Table: NNM1
The DocumentSeriesParams specifies the identification key combination (Document and Series) for which the Documents is related. Source table: NNM1. DocumentSeries
   Parent: Series Service SeriesService Service· Table: NNM1

Document Series User Params DocumentSeriesUserParams Object· Table: NNM2
The DocumentSeriesUserParams specifies the identification key combination (Document, Series and Users) for which Documents is related. Source table: NNM2.
   Parent: Series Service SeriesService Service· Table: NNM1

Document Type Params DocumentTypeParams Object· Table: NNM2
The DocumentTypeParams specifies the identification key combination (Document and DocumentSubType) for which the Documents object is related. Source table: NNM2.
   Parent: Series Service SeriesService Service· Table: NNM1

Electronic Series Params ElectronicSeriesParams Object
ElectronicSeriesParams Class
   Parent: Series Service SeriesService Service· Table: NNM1

Series Collection SeriesCollection Collection· Table: NNM1
SeriesCollection is a data collection of Series data structures. Source table: NNM1 (Documents Numbering - Series).
   Parent: Series Service SeriesService Service· Table: NNM1


SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates