📚 SAP Business One SDK Help

Activity Object Members
See Also  Overview 

Public Methods

Public Method FromXMLFileSets the object's properties using data from an XML file.

The XML file can be created using the object's ToXMLFile method.

Public Method FromXMLStringSets the object's properties using data from an XML string.

The XML string can be created using the object's ToXMLString method.

Public Method GetXMLSchemaReturns the XML schema for the XML generated by the ToXMLFile and ToXMLString methods.
Public Method ToXMLFileCreates an XML file that represents the object.
Public Method ToXMLStringCreates and returns an XML string that represents the object.

Public Properties

Public Property ActivitySets or returns a valid value of BoActivities type that specifies an activity with the business partner.

Field name: Action.

Public Property ActivityCheckInsStores email activity.
Public Property ActivityCodeThe code of the activity.

Field name: ClgCode.

Public Property ActivityDateThe contact date.

Field name: CntctDate.

Public Property ActivityRecipientsThe activity recipients when you select the Multiple Recipients option.
Public Property ActivityTimeThe activity time.

Field name: CntctTime.

Public Property ActivityTypeThe type of the activity.

Field name: CntctType.

This is a foreign key to the ActivityTypes object.

Public Property AddressNameThe name of the address.

Field name: AddrName.

Length: 50 characters.

Public Property AddressTypeThe type of the address.

Field name: AddrType.

Public Property AttachmentEntryThe identification key of the attachment file, as assigned by SAP Business One when adding an Attachment Entry to an alert message.

Field name: AtcEntry.

Public Property BelongedSeriesNumThe activity number of the series. Modified occurrence uses this field to link with the recurring series.

Field name: SeriesNum.

Public Property CardCodeSets or returns the business partner identification number in SAP Business One.

Field name: CardCode.

Mandatory field in SAP Business One only if the activity is not personal.

Length: 15 characters.

This is a foreign key to the BusinessPartners object.

Public Property CityThe city in which the activity (Meeting type only) with the business partner takes place.

Field name: city.

Length: 100 characters.

Public Property ClosedSpecifies whether or not the activity is closed and no further processing is required.

Field name: Closed.

Public Property CloseDateThe closing date of the activity.

Field name: CloseDate.

Public Property ContactPersonCodeThe internal code for the contact person.

Field name: CntctCode.

Mandatory property.

This is a foreign key to the ContactEmployees object.

Public Property CountryThe country in which the activity (Meeting type only) with the business partner takes place.

Field name: country.

Length: 3 characters.

This is a foreign key to the Countries table (OCRY).

Public Property DetailsThe details for the next action.

Field name: Details.

Length: 60 characters.

Public Property DocEntryThe document entry key.

Field name: DocEntry.

Length: 20 characters.

Public Property DocNumThe number of the linked document.

Field name: DocNum.

Length: 20 characters.

Public Property DocTypeThe type of the document, such as invoice or purchase order, that is linked to the activity.

Field name: DocType.

Public Property DocTypeExThe document type that is linked to the activity. This property replaces the DocType property (integer).

Length: 20 characters.

Field name: DocNum.

Public Property DurationThe amount of time scheduled for the activity.

Field name: Duration.

Public Property DurationTypeSets or returns a valid value of BoDurations type that specifies the duration type for the activity (minutes, hours, or days).

Field name: DurType.

Public Property EmailedflagTrue/false upon mail sent for activity.

Field name: emailed.

Public Property EndDuedateThe due date for completing the activity.

Field name: endDate.

Public Property EndTimeThe end time (hh:mm) of the activity.

Field name: ENDTime.

Public Property endTypeThe end type of the recurring activity. It is only available for Phone Call, Meeting, or Task, when the value of the recurrence pattern is not None.

Field name: EndType.

Public Property FaxThe fax number of the contact person.

Field name: Fax.

Length: 20 characters.

Public Property FridayDefines whether the recurring activity occurs on Friday. Used in a weekly pattern.

Field name: Friday.

Public Property HandledByThe name or title of the person who is responsible for entering the activity details.

Field name: AttendUser.

This is a foreign key to the Users object.

Public Property HandledByEmployeeThe employee who handles the activity.

Field name: AttendEmpl.

Public Property HandledByRecipientListproperty HandledByRecipientList
Public Property InactiveflagSpecifies whether or not the activity is inactive.

Field name: inactive.

Public Property IntervalThe frequency for the recurring activity. It is only available for Phone Call, Meeting, or Task, when the value of the recurrence pattern is not None.

Field name: Interval.

Public Property IsRemovedIndicates whether an occurrence is removed from the recurring series.

Field name: IsRemoved.

Public Property LocationThe code for the activity location.

Field name: Location.

This is a foreign key to the ActivityLocations object.

Public Property MaxOccurrence

The recurring activity ends after a certain number of occurrences.

Field name: MaxOccur.

Public Property MondayDefines whether the recurring activity occurs on Monday. Used in a weekly pattern.

Field name: Monday.

Public Property NotesSets or returns a memo type string that specifies remarks regarding the activity.

Field name: Notes.

Length: 16 characters.

Public Property Office365EventIdOffice 365 Event ID.

Field name: Of365EvtId.

Length: 200 characters.

Public Property ParentobjectIdThe source object ID of the activity:

Field name: parentId.

Public Property ParentobjecttypeThe source object type of the activity: Sales Opportunity or Service Call.

Field name: parentType.

Length: 20 characters.

Public Property PersonalflagSpecifies whether the activity is personal or business. If business, you must set the business partner details (CardCode).

Field name: personal.

Public Property PhoneThe phone number of the contact person.

Field name: Tel.

Length: 50 characters.

Public Property PreviousActivityThe previous activity code related to the current activity.

Field name: prevActvty.

Public Property PrioritySets or returns a valid value of BoMsgPriorities type that specifies the priority of the activity (low, normal, or high).

Field name: Priority.

Public Property RecurrenceDayInMonth

For monthly activities, specify the days when the activity recurs. Field name: DayInMonth.

Public Property RecurrenceDayOfWeek

For monthly activities, specify the days when the activity recurs. Field name: DayOfWeek.

Public Property RecurrenceMonth

Specify the month when the activity recurs. Field name: Month.

Public Property RecurrencePattern

Used for setting recurring activities. It is only available for Phone Call, Meeting, or Task. Field name: RecurPat.

Public Property RecurrenceSequenceSpecifierThe recurrence week in a month.

Field name: Week.

Public Property ReminderSpecifies whether or not SAP Business One sends a reminder message to the user mailbox ('user' means the current SAP Business One user).

Field name: Reminder.

Public Property ReminderPeriodThe duration for sending the reminder message.

Field name: RemTime.

Public Property ReminderTypeSpecifies the duration type: minutes or hours.

Field name: RemType.

Public Property RepeatOptionFor each occurrence, specifies the date on which the recurring activity is to take place. It is only available for Phone Call, Meeting, or Task, when the value of the recurrence pattern is not None.

Field name: SubOption.

Public Property RoomThe room in which the activity (Meeting type only) with the business partner takes place.

Field name: room.

Length: 50 characters.

Public Property SalesEmployeeThe code of the sales employee who is responsible for the activity.

Field name: SlpCode.

This is a foreign key to the SalesPersons object.

Public Property SalesOpportunityIdThe ID of the sales opportunity.

Field name: OprId.

Public Property SalesOpportunityLineThe row number of the sales opportunity.

Field name: OprLine.

Public Property SaturdayDefines whether the recurring activity occurs on Saturday. Used in a weekly pattern.

Field name: Saturday.

Public Property SeriesEndDateThe end date of the series for the recurring activity.

Field name: SeEndDate.

Public Property SeriesStartDateThe start date of the series for the recurring activity.

Field name: SeStartDate.

Public Property StartDateThe start date of the activity.

Field name: Recontact.

Public Property StartTimeThe start time (hh:mm) of the activity.

Field name: BeginTime.

Public Property StateThe code of the state where the activity (Meeting type only) with the business partner takes place.

Field name: State.

Length: 3 characters.

This is a foreign key to the States table (OCST).

Public Property StatusThe status of the activity (Task type only) as defined in ActivityStatus object.

Field name: status.

This is a foreign key to the ActivityStatus object.

Public Property StreetThe street part of the address at which the activity (Meeting type only) with the business partner takes place.

Field name: street.

Length: 100 characters.

Public Property SubjectThe subject of the activity.

Field name: CntctSbjct.

Public Property SundayDefines whether the recurring activity occurs on Sunday. Used in a weekly pattern.

Field name: Sunday.

Public Property TentativeflagSpecifies whether or not the activity is tentative.

Field name: tentative.

Public Property ThursdayDefines whether the recurring activity occurs on Thursday. Used in a weekly pattern.

Field name: Thursday.

Public Property TuesdayDefines whether the recurring activity occurs on Tuesday. Used in a weekly pattern.

Field name: Tuesday.

Public Property UserFieldsReturns the UserFields object.
Public Property UserSignatureReturns the ID of the user who created the activity.

Field name: UserSign.

Public Property UserSignature2Returns the ID of the user who updated the activity.

Field name: UserSign2.

Public Property WednesdayDefines whether the recurring activity occurs on Wednesday. Used in a weekly pattern.

Field name: Wednesday.

See Also