biuan SAP® BUSINESS ONE SDK
DTW Business Partners / Campaign
API Campaigns Service

Description

The CampaignsService service enables you to add, look up, update, cancel, and remove campaigns.

Source table: OCPN.

Object Model

Remarks

Managing a promotional campaign typically involves the steps outlined below:

  • Creating and maintaining a TargetGroup
  • Creating a campaign using the Campaign Generation wizard
    To access the wizard, from the SAP Business One Main Menu, choose Business Partners --> Campaign Generation Wizard.
  • Managing the campaign data
    To access the Campaign window, from the SAP Business One Main Menu, choose Business Partners --> Campaign.

See Also

SAP® B1 DI-API C# definition

public class CampaignsServiceClass : ICampaignsService, CampaignsService { public extern CampaignsServiceClass(); public virtual extern CampaignParams Add( Campaign pICampaign); public virtual extern void Cancel( CampaignParams pICampaignParams); public virtual extern void Delete( CampaignParams pICampaignParams); public virtual extern Campaign Get( CampaignParams pICampaignParams); public virtual extern object GetDataInterface( CampaignsServiceDataInterfaces enumMSDI); public virtual extern object GetDataInterfaceFromXMLFile( string bstrFileName); public virtual extern object GetDataInterfaceFromXMLString( string bstrXMLString); public virtual extern CampaignsParams GetList(); public virtual extern void Update( Campaign pICampaign); }

Related information


Campaigns Service Data Interfaces CampaignsServiceDataInterfaces Enumeration
CampaignsService data interfaces.
   Parent: Campaigns Service CampaignsService Service· Table: OCPN

Campaign Campaign Object· Table: OCPN
You can create, maintain, and analyze your marketing event information using the campaign management feature. Source table: OCPN.
   Parent: Campaigns Service CampaignsService Service· Table: OCPN

Campaigns Params CampaignsParams Collection
A collection of CampaignParams objects.
   Parent: Campaigns Service CampaignsService Service· Table: OCPN


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