Skip to Content
0
Aug 26, 2013 at 01:21 PM

How can I add the new subject to an activity type?

147 Views

per VB i create a new ActivityType:

Dim oActivityTypes As SAPbobsCOM.ActivityTypes = cInit.getInstance.getSboCompany.GetBusinessObject(BoObjectTypes.oActivityTypes)

oActivityTypes.Name = "XXX"

oActivityTypes.Add()

how can I add a new subject to my AtivityType?

With

Dim oContact As SAPbobsCOM.Contacts = cInit.getInstance.getSboCompany.GetBusinessObject(BoObjectTypes.oContacts)

oContact.Subject = "XXX"

I get the Error

Many thanks for assistance

Lena