Business Note Object
The Business Note object represents a detailed note that is associated with a new or existing account, business contact, or opportunity.
Version Information
Outlook 2007
Requirements
Business Contact Manager for Outlook
Remarks
To create a business note programmatically, do the following:
- Instantiate an Outlook.JournalItem object, where the journal item is of type Business Note.
- Assign the required properties— subject, body, and so on— to the note.
- Set the Parent Entity EntryID property of the journal item to the entry ID of a new or existing account, business contact, or opportunity object.
You must link a Business Note object with an Account, Business Contact, Opportunity, or Business Project object. The Communication History folder contains business note items.
Example
The following C# and Visual Basic for Applications (VBA) examples show how to create a new object instance of type Business Note.
[C#]
Outlook.JournalItem journalItem = (Outlook.JournalItem)historyFolder.Items.Add("IPM.Activity.BCM.BusinessNote");
journalItem.Type = "Business Note";
journalItem.Subject = "Discussion with Sales Manager";
journalItem.Body = "As per the discussion on 23-Jun-2005, we agreed to give 15% on our products";
if (journalItem.UserProperties["Parent Entity EntryID"] == null)
{
Outlook.UserProperty userProp = journalItem.UserProperties.Add("Parent Entity EntryID", Microsoft.Office.Interop.Outlook.OlUserPropertyType.olText, false, false);
userProp.Value = accountEntryID;
}
journalItem.Save();
FakePre-ea73c5bf229442d2aae3ba5dbb4a515b-c0d95bffcdcf4e958cae049796bf3001
User Properties (Business Contact Manager only)
Created By, Great Grand Parent Entity EntryID Property, Modified By, Parent Entity EntryID,
Parent Objects
For more information, download the Outlook 2007 Developer Reference by going to the 2007 Office System: Updated Developer Content Web site.
See Also
Appointments | E-Mail Messages | Files | Phone Logs | Tasks