📚 SAP Business One SDK Help

Contacts Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a new activity with a business partner.
Public Method GetAsXMLReturns the object from XML data, which is stored as string in a buffer.
Public Method GetByKeyRetrieves and sets the values of the object's properties by the object's absolute key from the Company database.
Public Method SaveToFileSave the object to a file as XML data.
Public Method SaveXMLSaves the object data to XML formatted data.
Public Method UpdateUpdates the object data in the company database.

Public Properties

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

Field name: Action.

Public Property ActivityTypeSets or returns the type of the activity.

Field name: CntctType.

This is a foreign key to the ActivityTypes object.

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

Field name: AtcEntry.

Public Property AttachmentsReturns the Attachments object.
Public Property BrowserReturns the DataBrowser object.
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 CitySets or returns the city where the Activity (Meeting type only) with the business partner takes place.

Field name: city.

Length: 100 characters.

Public Property ClosedSets or returns a valid value of BoYesNoEnum type that specifies whether or not the activity is closed and no further processing is required.

Field name: Closed.

Public Property CloseDateSets or returns the closing date of the activity.

Field name: CloseDate.

Public Property ContactCodeReturns the identification key of the activity.

Field name: CntctCode.

Public Property ContactDateSets or returns the contact date.

Field name: CntctDate.

Public Property ContactPersonCodeSets or returns the internal code for the contact person.

Field name: CntctCode.

Mandatory property.

This is a foreign key to the ContactEmployees object.

Public Property ContactTimeSets or returns the activity time.

Field name: CntctTime.

Public Property CountrySets or returns the country where 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 DetailsSets or returns the details for the next action.

Field name: Details.

Length: 60 characters.

Public Property DocEntrySets or returns the document entry key.

Field name: DocEntry.

Length: 20 characters.

Public Property DocNumReturns the number of the linked document.

Field name: DocNum.

Length: 20 characters.

Public Property DocTypeSets or returns the 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 DurationSets or returns the 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 EndDuedateSets or returns the due date for completing the activity.

Field name: endDate.

Public Property EndTimeSets or returns the end time (hh:mm) of the activity.

Field name: ENDTime.

Public Property FaxSets or returns the fax number of the contact person.

Field name: Fax.

Length: 50 characters.

Public Property HandledBySets or returns the 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 InactiveflagSets or returns a valid value of BoYesNoEnum type that specifies whether or not the the activity is inactive.

Field name: inactive.

Public Property LocationSets or returns the code for the activity location.

Field name: Location.

This is a foreign key to the ActivityLocations object.

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

Field name: Notes.

Length: 16 characters.

Public Property ParentobjectIdReturns the source object ID of the activity:

Field name: parentId.

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

Field name: parentType.

Length: 20 characters.

Public Property PersonalflagSets or returns a valid value of BoYesNoEnum type that specifies whether the the activity is personal or business. If business, you must set the business partner details (CardCode).

Field name: personal.

Public Property PhoneSets or returns the phone number of the contact person.

Field name: Tel.

Length: 50 characters.

Public Property PreviousActivitySets or returns the previous activity number (ContactCode) 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 RecontactSets or returns the date for the next activity.

Field name: Recontact.

Public Property ReminderSets or returns a valid value of BoYesNoEnum type that specifies whether or not SAP Business One will send a reminder message to the user mailbox ('user' means the current SAP Business One user).

Field name: Reminder.

Public Property ReminderPeriodSets or returns the duration for sending the reminder message.

Field name: RemTime.

Public Property ReminderTypeSets or returns a valid value of BoDurations type that specifies the duration types: minutes or hours.

Field name: RemType.

Public Property RoomSets or returns the room where the Activity (Meeting type only) with the business partner takes place.

Field name: room.

Length: 50 characters.

Public Property SalesEmployeeSets or returns the 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 StartDateSets or returns the start date of the activity.

Field name: Recontact.

Public Property StartTimeSets or returns the start time (hh:mm) of the activity.

Field name: BeginTime.

Public Property StateSets or returns the 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 StatusSets or returns the 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 StreetSets or returns the street where the Activity (Meeting type only) with the business partner takes place.

Field name: street.

Length: 100 characters.

Public Property SubjectSets or returns the subject of the activity.

Field name: CntctSbjct.

Public Property TentativeflagSets or returns a valid value of BoYesNoEnum type that specifies whether or not the activity is tentative.

Field name: tentative.

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.

See Also