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

SAP® B1 DI-API C# definition

public class CampaignClass : ICampaign, Campaign { public virtual int AttachementsEntry { get; set; } public virtual SAPbobsCOM.CampaignBusinessPartners CampaignBusinessPartners { get; } public virtual SAPbobsCOM.CampaignItems CampaignItems { get; } public virtual string CampaignName { get; set; } public virtual int CampaignNumber { get; } public virtual SAPbobsCOM.CampaignPartners CampaignPartners { get; } public virtual CampaignTypeEnum CampaignType { get; set; } public virtual DateTime FinishDate { get; set; } public virtual BoYesNoEnum GeneratedByWizard { get; set; } public virtual int Owner { get; set; } public virtual string Remarks { get; set; } public virtual DateTime StartDate { get; set; } public virtual CampaignStatusEnum Status { get; set; } public virtual string TargetGroup { get; set; } public virtual TargetGroupTypeEnum TargetGroupType { get; set; } public virtual Fields UserFields { get; } public extern CampaignClass(); public virtual extern void FromXMLFile( string bstrFileName); public virtual extern void FromXMLString( string bstrXML); public virtual extern string GetXMLSchema(); public virtual extern void ToXMLFile( string bstrFileName); public virtual extern string ToXMLString(); }

Related information


Campaign Business Partners CampaignBusinessPartners Collection
A collection of CampaignBusinessPartner objects.
   Parent: Campaign Campaign Object· Table: OCPN

Campaign Items CampaignItems Collection
A collection of CampaignItem objects.
   Parent: Campaign Campaign Object· Table: OCPN

Campaign Partners CampaignPartners Collection
A collection of CampaignPartner objects.
   Parent: Campaign Campaign Object· Table: OCPN

Campaign Status Enum CampaignStatusEnum Enumeration
Status of this campaign.
   Parent: Campaign Campaign Object· Table: OCPN

Campaign Type Enum CampaignTypeEnum Enumeration
The type of the campaign.
   Parent: Campaign Campaign Object· Table: OCPN

Campaigns Service CampaignsService Service· Table: OCPN
The CampaignsService service enables you to add, look up, update, cancel, and remove campaigns. Source table: OCPN.


Campaign Business Partner CampaignBusinessPartner Object· Table: CPN1
The relevant business partners for the campaign. Source table: CPN1.
   Parent: Campaign Business Partners CampaignBusinessPartners Collection

Campaign Item CampaignItem Object· Table: CPN2
The relevant items for the campaign. Source table: CPN2.
   Parent: Campaign Items CampaignItems Collection

Campaign Partner CampaignPartner Object· Table: CPN3
The relevant partners for the campaign. Source table: CPN3.
   Parent: Campaign Partners CampaignPartners Collection


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