biuan SAP® BUSINESS ONE SDK
DTW Administration / Setup / Business Partners / BPFiscalRegistryID
API Messages Service

Description

This service enables to manage the Inbox and Outbox messages, and to send messages.

Object Model

Remarks

To use the 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 MessagesServiceClass : IMessagesService, MessagesService { public extern MessagesServiceClass(); public virtual extern object GetDataInterface( MessagesServiceDataInterfaces enumMSDI); public virtual extern object GetDataInterfaceFromXMLFile( string bstrFileName); public virtual extern object GetDataInterfaceFromXMLString( string bstrXMLString); public virtual extern MessageHeaders GetInbox(); public virtual extern Message GetMessage( MessageHeader pMessageHeader); public virtual extern MessageHeaders GetOutbox(); public virtual extern MessageHeaders GetSentMessages(); public virtual extern MessageHeader SendMessage( Message pMessage); }

Related information


Message Message Object· Table: OALR
Message is a data structure related to the MessagesService. It includes properties related to the message content, such as subject, text, attached file, and attached data. Source table: OALR.
   Parent: Messages Service MessagesService Service

Messages Service Data Interfaces MessagesServiceDataInterfaces Enumeration
MessagesService data interfaces.
   Parent: Messages Service MessagesService Service

Message Headers MessageHeaders Collection
MessageHeaders is a collection of MessageHeader.
   Parent: Messages Service MessagesService Service


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