daylite data description - download.marketcircle.com · gets), f-script and plugins. in the merge...

63
Daylite Data Description Valid for Daylite 3.0.3 and up Marketcircle Inc. Last Updated June 21, 2006 • Version 3.0.3

Upload: others

Post on 26-Jun-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Daylite Data DescriptionValid for Daylite 3.0.3 and up

Marketcircle Inc.Last Updated June 21, 2006 • Version 3.0.3

Page 2: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Table of Contents

Introduction 4Data Types 4

Inheritance 4

Primary Objects 5Project 5

Opportunity 8

Contact 11

Organization 16

Group 19

Task 21

Timeblock (Appointment) 23

Note 25

Secondary Objects 27Category 27

CustomRecord (Form Field) 28

CustomRecordDefinition 29

CustomRecordSet (Form) 30

CustomRecordSetDefinition 31

ElectronicAddress 32

Estimate 33

ExtraFieldNames 35

GeoAddress 36

IndustryType 37

Keyword 38

LargeData 39

LineItem 40

OpportunityStateReason 42

OpportunityType 43

OrganizationType 44

Phone 45

Pipeline 46

PipelineStage 47

Page 3: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

PipelineStageHistory 48

ProductService 49

RegionType 51

Relationship 52

RelationshipType 53

Role 54

RoleType 55

URLReference 56

User 57

Additions to Cocoa Classes 58NSString 59

NSNumber 60

NSCalendarDate 61

NSArray 63

Daylite Data Description Page 3 of 63

Page 4: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

IntroductionThis document illustrates the three types of data elements in the Daylite Data Model. You should read the Daylite Public Developer Kit document before reading this document.

Data Types

Daylite has several data types (not to be confused with Classes). The first is the raw data that resides in the database (i.e Contact -> Firstname). The second element is relationships (i.e. Contact -> Role) and the third is derived attributes that is in ‘code’ only (i.e nextPendingTask).

When you are dealing with the Daylite Data Model, you have to be aware of what attributes you have available. For instance, when you are dealing Raw Rows at the Database Connection level, you do not have relationships or derived attributes. When you are dealing at the Object Context level you have all three.

The elements defined here are accessible from the Report Engine, the Merge Engine (Letter, HUD Wid-gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all three types. In the Report Engine you typically are dealing above the Object Context, but if you are using Raw SQL as a table source, you only have access to the first type. In F-Script or Plugins, you can deal at both the Object Context level and the Database Connection level.

Inheritance

Both Primary Objects and Secondary Objects inherit from MCPObject. At the code level, both primary and secondary objects are the same and behave the same way. We’ve segmented them in primary and secondary so you and the user have an appreciation for the weight of that object in the overall Daylite concepts.

Daylite Data Description Page 4 of 63

Page 5: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Primary ObjectsThe following pages contain data descriptions for the primary objects in Daylite.

Project

Method Return Type Description

statusCode NSNumber

startDate NSCalendarDate

sourceImportID NSString

projectID NSNumber

opportunityID NSNumber

name NSString

modifyDate NSCalendarDate

level NSNumber

lastStatusCode NSNumber

extra1 NSString

extra2 NSString

extra3 NSString

extra4 NSString

extra5 NSString

extra6 NSString

extra7 NSString

extra8 NSString

extra9 NSString

extra10 NSString

extra11 NSString

extra12 NSString

extraDate1 NSCalendarDate

extraDate2 NSCalendarDate

extraDate3 NSCalendarDate

Daylite Data Description Page 5 of 63

Page 6: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

extraDate4 NSCalendarDate

extraFieldsNames ExtraFieldNames

dueDate NSCalendarDate

details NSString

currentPipelineStageID NSNumber

currentPipelineStageHistoryID NSNumber

currentPipelineID NSNumber

createdByID NSNumber

createDate NSCalendarDate

completeDate NSCalendarDate

categoryID NSNumber

assignedToID NSNumber

opportunity Opportunity

assignedTo User

category Category

createdBy User

currentPipeline Pipeline

currentPipelineStage PipelineStage

currentPipelineStageHistory PipelineStageHis-tory

correspondences Array of Correspon-dance

customRecordSets Array of CustomRe-cordSet

urlReferences Array of URLRe-fernce

keywords Array of Keyword

notes Array of Note

tasks Array of Task

Daylite Data Description Page 6 of 63

Page 7: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

timeblocks Array of Timeblock

roles Array of Role

groups Array of Group

pipelineStageHistories Array of PipelineSt-ageHistory

allKeywordsAsString NSString Same as keywordsString but puts a ‘none’ if no keywords are linked

keywordsString NSString

nextPendingTask Task

nextPendingTimeblock Timeblock

lastNote Note

lastTask Task

lastTimeblock Timeblock

pendingTasks Array of Task Uncompleted Tasks

pendingTasksCount NSNumber The number of uncompleted Tasks (faster than doing pendingTasks.count)

pendingTimeblocksCount NSNumber Count of timeblock after ‘now’. (faster than doing pendingTimeblocks.count)

pendingTimeblocks Array of Timeblock Timeblocks after now

sortedTasks Array of Task Sorted by due date

sortedTimeblocks Array of Timeblock Sorted by start date

contacts Array of Contact Convenience, handles roles and re-turns an array of contacts

allContactsAsString NSString Contact names in a string

organizations Array of Organiza-tion

Convenience, handles roles and re-turns an array of organizations

allOrganizationsAsString NSString Org names in a string

statusString NSString Human readable representation of statusCode

Daylite Data Description Page 7 of 63

Page 8: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Opportunity

Method Return Type Description

assignedTo User

assignedToID NSNumber

cachedTotalAmount NSDecimalNumber

category Category

categoryID NSNumber

completeDate NSCalendarDate

correspondences Array of Correspon-dance

createDate NSCalendarDate

createdBy User

createdByID NSNumber

currentPipeline Pipeline

currentPipelineID NSNumber

currentPipelineStage PipelineStage

currentPipelineStageHistory PipelineStageHis-tory

currentPipelineStageHistoryID NSNumber

currentPipelineStageID NSNumber

customRecordSets Array of CustomRe-cordSet

details NSString

dueDate NSCalendarDate

estimates Array of Estimate

extra1 NSString

extra10 NSString

extra11 NSString

extra12 NSString

extra2 NSString

Daylite Data Description Page 8 of 63

Page 9: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

extra3 NSString

extra4 NSString

extra5 NSString

extra6 NSString

extra7 NSString

extra8 NSString

extra9 NSString

extraDate1 NSCalendarDate

extraDate2 NSCalendarDate

extraDate3 NSCalendarDate

extraDate4 NSCalendarDate

groups Array

keywords Array

lastOpportunityStateType NSNumber

level NSNumber

lineItems Array of LineItems

modifyDate NSCalendarDate

name NSString

notes Array of Note

opportunityID NSNumber

opportunityStateReason OpportunityS-tateReason

opportunityStateReasonID NSNumber

opportunityStateType NSNumber

opportunityType OpportunityType

opportunityTypeID NSNumber

pipelineStageHistories Array of PipelineSt-ageHistory

probability NSNumber

Daylite Data Description Page 9 of 63

Page 10: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

projects Array of Project Most common way of creating this relationship is by creating Projects from an existing Opportunity.

roles Array of Role

sourceImportID NSString

startDate NSCalendarDate

tasks Array of Task

term LargeData

termID NSNumber

timeblocks Array of Timeblock

urlReferences Array of URLRefer-ence

allContactsAsString NSString

allKeywordsAsString NSString

allOrganizationsAsString NSString

allUsableDefaultEmailAddress NSString

contactRoles Array of Roles Where the destination object is a Contact

contacts Array of Contact Convenience

lastNote Note

lastTask Task

lastTimeblock Timeblock

nextPendingTask Task

nextPendingTimeblock Timeblock

organizationRoles Array or Role Where the destination object is an Organization

organizations Array of Organiza-tion

Convenience

pendingTasks Array of Task

Daylite Data Description Page 10 of 63

Page 11: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

pendingTimeblocks Array of Timeblock

sortedTasks Array of Task

sortedTimeblocks Array of Timeblock

statusString NSString

pendingTasksCount NSNumber

pendingTimeblocksCount NSNumber

Contact

A contact in Daylite represents a person. It does not represent a company. It is linked to a company through a role.

Method Return Type Description

alias NSString

allGroupsAsString NSString Comma separated string of groups

allKeywordsAsString NSString Comma separated string of keywords

anniversaryDay NSNumber

anniversaryMonth NSNumber

anniversaryYear NSNumber

anniversaryString NSString Combination of anniversaryDay, anniversaryMonth, anniversaryYear

assignedTo User

birthDay NSNumber

birthMonth NSNumber

birthYear NSNumber

birthdayString NSString Combination of birthDay, birthMonth, birthYear

cachedName NSString Derived using firstname, middlename and lastname.

category Category

contactID NSNumber

createDate NSCalendarDate

Daylite Data Description Page 11 of 63

Page 12: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

createdBy User

customRecordSets Array of CustomRecordSet

aka Forms

defaultElectronicAddress ElectronicAddress One of the electronicAddresses

defaultGeoAddress GeoAddress One of the geoAddresses

defaultNote Note One of the notes

defaultPhone Phone One of the phones

defaultSecondPhone Phone One of the phones

defaultRole Role One of the roles and the 'default' role. This is what DayLite uses to tie a contact to an organization and the one that the user has designated as the default. The first role with an organization is the default normally. The destination of this object can only be an organization.

electronicAddresses Array of ElectronicAddress

extra1 NSString

extra2 NSString

extra3 NSString

extra4 NSString

extra5 NSString

extra6 NSString

extra7 NSString

extra8 NSString

extra9 NSString

extra10 NSString

extra11 NSString

extra12 NSString

Daylite Data Description Page 12 of 63

Page 13: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

extraDate1 NSCalendarDate

extraDate2 NSCalendarDate

extraDate3 NSCalendarDate

extraDate4 NSCalendarDate

extraFieldsNames ExtraFieldNames

firstname NSString

flagged NSNumber

formattedDefaultEmailAddress NSString name and email address

fromRelationships Array of Relationship

These are relationships where this object is the destination

geoAddresses Array of GeoAddress

groups Array of Group

hobbies NSString

inShortcut NSNumber

keywords Array of Keyword

lastname NSString

lastNote Note Note with latest create date

lastTask Task Task with a Done status and the latest complete date

lastTimeblock Timeblock Timeblock with Completed status and latest end date

level NSNumber Called Priority in the UI

middlename NSString

modifyDate NSCalendarDate

nextPendingTask Task Next task which is uncompleted and the closest due date to today.

nextPendingTimeblock Timeblock Next timeblock closest to today

nickname NSString

notes Array of Note

Daylite Data Description Page 13 of 63

Page 14: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

notesSortedByCreateDateDescending

Array of Note Same as notes except shorted by created date in descending order

opportunities Array of Opportunity

opportunityRoles Array of Role Roles where the destinationObject is an opportunity

organizationRoles Array of Role Roles where the destinationObject is an organization

organizations Array of Organization

All organizations as gotten through all the organizationRoles

phones Array of Phone

projectRoles Array of Role Roles where the destinationObject is an project

projects Array of Project All projects gotten through projectRoles

relationshipToMe NSString

roles Array of Role

salutationString NSString

sourceImportID NSString

suffix NSString

tagline NSString

tasks Array of Task

timeblocks Array of Timeblock

toRelationships Array of Relationship

These are relationships which this object is the source

urlReferences Array of URLReference

openProjects Array of Project Projects that don't have a completeDate

openOpportunities Array of Opportunity

State is 'Open'

Daylite Data Description Page 14 of 63

Page 15: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

smartGeoAddress GeoAddress Returns the default organization's address if it is not empty, otherwise returns the contact's defaultGeoAddress

smartPhone Phone Returns the default organization's defaultPhone if it is not empty, otherwise returns the contact's defaultPhone

smartSecondPhone Phone Returns the default organization's defaultSecondPhone if it is not empty, otherwise returns the contact's defaultSecondPhone

smartElectronicAddress ElectronicAddress Returns the default organization's defaultElectronicAddress if it is not empty, otherwise returns the contact's defaultElectronicAddress

pendingTasks Array of Task Uncompleted

pendingTimeblocks Array of Timeblock Uncompleted

sortedTasks Array of Task Sorted by due date

sortedTimeblocks Array of Timeblock Sorted by start date

Daylite Data Description Page 15 of 63

Page 16: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Organization

Method Return Type Description

allContactsAsString NSString Comma separated string of contacts as gotten through roles

allGroupsAsString NSString Comma separated string of groups as gotten through groups

allKeywordsAsString NSString Comma separated string of keywords as gotten through keywords

assignedTo User aka. Owner

category Category

contacts Array of Contact

createDate NSCalendarDate

createBy User

customRecordSets Array of CustomRecordSet

aka Forms

defaultElectronicAddress ElectronicAddress One of the electronicAddresses

defaultGeoAddress GeoAddress One of the geoAddresses

defaultPhone Phone One of the phones

defaultSecondPhone Phone One of the phones

electronicAddresses Array of ElectronicAddress

extra1 NSString

extra2 NSString

extra3 NSString

extra4 NSString

extra5 NSString

extra6 NSString

extra7 NSString

extra8 NSString

extra9 NSString

extra10 NSString

Daylite Data Description Page 16 of 63

Page 17: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

extra11 NSString

extra12 NSString

extraDate1 NSCalendarDate

extraDate2 NSCalendarDate

extraDate3 NSCalendarDate

extraDate4 NSCalendarDate

extraFieldsNames ExtraFieldNames

fromRelationships Array of Relationship

Relationships where this object is the destination

geoAddresses Array of GeoAddress

groups Array of Group

industryType IndustryType

keywords Array of Keyword

lastNote Note Note with latest create date

lastTask Task Task with a Done status and the latest complete date

lastTimeblock Timeblock Timeblock with Completed status and latest end date

level NSNumber Called Priority in the UI

modifyDate NSCalendarDate

name NSString

nextPendingTask Task Next task which is uncompleted and the closest due date to today.

nextPendingTimeblock Timeblock Next timeblock closest to today

notes Array of Note

notesSortedByCreateDateDescending

Array of Note Same as notes except shorted by created date in descending order

opportunities Array of Opportunity

organizationID NSNumber

Daylite Data Description Page 17 of 63

Page 18: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

organizationType OrganizationType

phones Array of Phone

projects Array of Project

regionType RegionType

roles Array of Role

sourceImportID NSString

tagline NSString

tasks Array of Task

tickerSymbol NSString

timeblocks NSString

toRelationships Array of Relationship

Relationships where this object is the source

urlReferences Array of URLReference

sortedTasks Array of Task Sorted by due date

sortedTimeblocks Array of Timeblock Sorted by start date

Daylite Data Description Page 18 of 63

Page 19: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Group

Method Return Type Description

assignedTo User

assignedToID NSNumber

category Category

categoryID NSNumber

contacts Array of Contact

createDate NSCalendarDate

createdBy User

createdByID NSNumber

customRecordSets Array of CustomRe-cordSet

defaultNoteID NSNumber

endDate NSCalendarDate

extra1 NSString

extra10 NSString

extra11 NSString

extra12 NSString

extra2 NSString

extra3 NSString

extra4 NSString

extra5 NSString

extra6 NSString

extra7 NSString

extra8 NSString

extra9 NSString

extraDate1 NSCalendarDate

extraDate2 NSCalendarDate

extraDate3 NSCalendarDate

Daylite Data Description Page 19 of 63

Page 20: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

extraDate4 NSCalendarDate

groupID NSNumber

level NSNumber

message NSString

modifyDate NSCalendarDate

name NSString

note NSString The detail - not to be confused with linked notes

notes Array of Note

opportunities Array of Opportu-nity

order NSNumber

organizations Array of Organiza-tion

parentGroup Group

parentGroupID NSNumber

projects Array of Project

sourceImportID NSString

startDate NSCalendarDate

subGroups Array of Group

tasks Array of Task

timeblocks Array of Timeblock

urlReferences Array of URLRefer-ence

Daylite Data Description Page 20 of 63

Page 21: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Task

Method Return Type Description

allContactsAsString NSString

allGroupsAsString NSString

allOppsAsString NSString

allOrganizationsAsString NSString

allProjectsAsString NSString

allTasks Array of Task This task and all subtasls

assignedTo User

assignedToID NSNumber

category Category

categoryID NSNumber

completeDate NSCalendarDate

contacts Array of Contact

createDate NSCalendarDate

createdBy User

createdByID NSNumber

details NSString

dueDate NSCalendarDate

durationMinutes NSNumber

groups Array of Group

hasParentTask NSNumber

hasSubtasks NSNumber

lastStatusCode NSNumber

location NSString

modifyDate NSCalendarDate

opportunities Array of Opportu-nity

order NSNumber

Daylite Data Description Page 21 of 63

Page 22: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

organizations Array of Organiza-tion

parentTask Task

parentTaskID NSNumber

priority NSNumber

projects Array of Project

sourceImportID NSString

startDate NSCalendarDate

statusCode NSNumber

subtaskCount NSNumber

subTasks Array of Task

taskID NSNumber

title NSString

typeCode NSNumber

Daylite Data Description Page 22 of 63

Page 23: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Timeblock (Appointment)

Method Return Type Description

allContactsAsString NSString

allGroupsAsString NSString

allLinkDetailsAsString NSString

allOppsAsString NSString

allOrganizationsAsString NSString

allProjectsAsString NSString

assignedTo User Cover for owner (compatibility)

assignedToID NSNumber Cover for ownerID

category Category

categoryID NSNumber

contacts Array of Contact

createDate NSCalendarDate

createdBy User

createdByID NSNumber

details NSString

durationDays NSNumber

durationMinutes NSNumber

durationSeconds NSNumber

durationString NSString

endDate NSCalendarDate

groups Array of Group

location NSString

meetingMinutes LargeData

meetingMinutesLargeDataID NSNumber

modifyDate NSCalendarDate

opportunities Array of Opportu-nity

Daylite Data Description Page 23 of 63

Page 24: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

organizations Array of Organiza-tion

owner User

ownerID NSNumber

projects Array of Project

resources Array of Resource

sourceImportID NSString

startAndEndDateAsString NSString

startAndEndTimeAsString NSString

startDate NSCalendarDate

statusCode NSNumber

statusString NSString

subject NSString

timeblockID NSNumber

typeCode NSNumber

typeString NSString

Daylite Data Description Page 24 of 63

Page 25: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Note

Method Return Type Description

allContactsAsString NSString

allGroupsAsString NSString

allLinkDetailsAsString NSString

allOpportunitiesAsString NSString

allOrganizationsAsString NSString

allProjectsAsString NSString

assignedTo User

assignedToID NSNumber

attributedStringRepresentation NSAttributedString

category Category

contacts Array of Contact

createDate NSCalendarDate

createdBy User

createdByID NSNumber

groups Array of Group

isEmail NSNumber

isSyncNote NSNumber

largeData LargeData

largeDataID NSNumber

modifyDate NSCalendarDate

noteID NSNumber

opportunities Array of Opportu-nity

organizations Array of Organiza-tion

plainTextRepresentation NSString

projects Array of Project

sourceImportID NSString

Daylite Data Description Page 25 of 63

Page 26: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

title NSString

Daylite Data Description Page 26 of 63

Page 27: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Secondary ObjectsCategory

Method Return Type Description

active NSNumber 0 or 1

categoryID NSNumber

forContact NSNumber 0 or 1

forGroup NSNumber 0 or 1

forNote NSNumber 0 or 1

forOpportunity NSNumber 0 or 1

forOrganization NSNumber 0 or 1

forProject NSNumber 0 or 1

forTask NSNumber 0 or 1

forTimeblock NSNumber 0 or 1

name NSString

Daylite Data Description Page 27 of 63

Page 28: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

CustomRecord (Form Field)

Method Return Type Description

customRecordDefinition CustomRecordDefinition

customRecordID NSNumber

humanReadableRecordValue NSString Normalizes checkbox types or returns the formatted value if a formatter is applicable

objectValue NSNumber, NSString or NSCalendarDate

recordValue converted into the appropriate object type based on the customRecordDefinition typeCode

recordValue NSString

Daylite Data Description Page 28 of 63

Page 29: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

CustomRecordDefinition

Method Return Type Description

active NSNumber 0 or 1

customRecordDefinitionID NSNumber

defaultValue NSString Default selection or value

details NSString

name NSString

options NSString

typeCode NSNumber 0 = Text1 = Number2 = Date3 = Time4 = DateTime5 = Float6 = Money7 = Option (popup)8 = Combobox9 = Checkbox10 = Checkbox Group

typeString NSString Description of the type

Daylite Data Description Page 29 of 63

Page 30: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

CustomRecordSet (Form)

Method Return Type Description

createDate NSCalendarDate

customRecords Array of CustomRecord

customRecordSetID NSNumber

dictionaryRepresentation NSDictionary Create a dictionary from customRecords and their customRecordDefinition

name NSString

Daylite Data Description Page 30 of 63

Page 31: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

CustomRecordSetDefinition

Method Return Type Description

active NSNumber

createDate NSCalendarDate

createOnAddForContact NSNumber

createOnAddForGroup NSNumber

createOnAddForOpportunity NSNumber

createOnAddForOrganization NSNumber

createOnAddForProject NSNumber

customRecordDefinitions Array

customRecordSetDefinitionID NSNumber

customRecordSets Array

details NSString

forContact NSNumber

forGroup NSNumber

forOpportunity NSNumber

forOrganization NSNumber

forProject NSNumber

isCustom NSNumber

isUniquePerObject NSNumber

name NSString

Daylite Data Description Page 31 of 63

Page 32: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

ElectronicAddress

Method Return Type Description

electronicAddressID NSNumber

hasContent NSNumber 0 or 1 - Tests the appropriate value to determine if Daylite considers this empty or not

note NSString

typeString NSString

url NSString The actual address

Daylite Data Description Page 32 of 63

Page 33: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Estimate

Method Return Type Description

comment NSString

createDate NSCalendarDate

dueDate NSCalendarDate

estimateID NSNumber

estimateNumber NSString

estimatePDF FileStorage

estimatePDFID NSNumber

estimateURL URLReference

estimateURLRefID NSNumber

lineItems Array

modifyDate NSCalendarDate

name NSString

opportunity Opportunity

opportunityID NSNumber

sendToContact Contact

sendToContactID NSNumber

sendToCustom NSString

sendToOrg Organization

sendToOrgID NSNumber

sentDate NSCalendarDate

tax1 NSNumber

tax1Name NSString

tax2 NSNumber

tax2Name NSString

terms LargeData

termsID NSNumber

useCompoundSecondaryTax NSNumber

Daylite Data Description Page 33 of 63

Page 34: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

useTax1 NSNumber

useTax2 NSNumber

Daylite Data Description Page 34 of 63

Page 35: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

ExtraFieldNames

Method Return Type Description

extra1 NSString

extra2 NSString

extra3 NSString

extra4 NSString

extra5 NSString

extra6 NSString

extra7 NSString

extra8 NSString

extra9 NSString

extra10 NSString

extra11 NSString

extra12 NSString

extraDate1 NSString

extraDate2 NSString

extraDate3 NSString

extraDate4 NSString

extraFieldNamesID NSNumber

typeString NSString

Daylite Data Description Page 35 of 63

Page 36: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

GeoAddress

Method Return Type Description

city NSString

country NSString

directions NSString

geoAddressID NSNumber

hasContent NSNumber 0 or 1 - Tests the appropriate value to determine if Daylite considers this empty or not

note NSString

postalCode NSString

state NSString

street NSString

typeString NSString

Daylite Data Description Page 36 of 63

Page 37: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

IndustryType

Method Return Type Description

active NSNumber 0 or 1

industryTypeID NSNumber

name NSString

Daylite Data Description Page 37 of 63

Page 38: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Keyword

Method Return Type Description

active NSNumber 0 or 1

forContact NSNumber

forOpportunity NSNumber 0 or 1

forOrganization NSNumber 0 or 1

forProject NSNumber 0 or 1

keywordID NSNumber 0 or 1

name NSString

Daylite Data Description Page 38 of 63

Page 39: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

LargeData

Method Return Type Description

rawData NSData

largeDataID NSNumber

attributedStringRepresentation NSAttributedString

Daylite Data Description Page 39 of 63

Page 40: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

LineItem

Method Return Type Description

accountNumber NSString

basePrice NSNumber

comment LargeData

costOfGoods NSNumber

createDate NSCalendarDate

currencyCode NSString

details NSString

discount NSNumber

discountTypeCode NSNumber

estimate Estimate

estimateID NSNumber

extra1 NSString

extra2 NSString

extra3 NSString

extra4 NSString

extra5 NSString

extraDate1 NSCalendarDate

idCode NSString

image ResourceLargeData

largeDataID NSNumber

lineItemID NSNumber

markup NSNumber

markupTypeCode NSNumber

modelCode NSString

modifyDate NSCalendarDate

name NSString

opportunity Opportunity

Daylite Data Description Page 40 of 63

Page 41: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

opportunityID NSNumber

productService ProductService

productServiceID NSNumber

profit NSNumber

resourceLargeDataID NSNumber

sku NSString

tax1 NSNumber

tax1Name NSString

tax2 NSNumber

tax2Name NSString

taxCode NSString

typeCode NSNumber

units NSNumber

upc NSString

useCompoundSecondaryTax NSNumber

useTax1 NSNumber

useTax2 NSNumber

Daylite Data Description Page 41 of 63

Page 42: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

OpportunityStateReason

Method Return Type Description

active NSNumber

details NSString

name NSString

opportunityStateReasonID NSNumber

opportunityStateType NSNumber

Daylite Data Description Page 42 of 63

Page 43: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

OpportunityType

Method Return Type Description

active NSNumber

name NSString

opportunityTypeID NSNumber

Daylite Data Description Page 43 of 63

Page 44: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

OrganizationType

Method Return Type Description

active NSNumber

name NSString

organizationTypeID NSNumber

Daylite Data Description Page 44 of 63

Page 45: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Phone

Method Return Type Description

fullPhoneNumber Type and number

hasContent NSNumber 0 or 1 - Tests the appropriate value to determine if Daylite considers this empty or not

phoneID NSNumber

phoneNumber NSString

typeString NSString

Daylite Data Description Page 45 of 63

Page 46: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Pipeline

Method Return Type Description

active NSNumber

createDate NSCalendarDate

currentOpportunities Array

currentProjects Array

forOpportunity NSNumber

forProject NSNumber

lowerThreshold NSNumber

modifyDate NSCalendarDate

name NSString

note NSString

pipelineID NSNumber

pipelineStages Array

upperThreshold NSNumber

Daylite Data Description Page 46 of 63

Page 47: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

PipelineStage

Method Return Type Description

createDate NSCalendarDate

currentOpportunities Array

currentProjects Array

lowerThreshold NSNumber

modifyDate NSCalendarDate

name NSString

note NSString

order NSNumber

pipeline Pipeline

pipelineID NSNumber

pipelineStageID NSNumber

upperThreshold NSNumber

Daylite Data Description Page 47 of 63

Page 48: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

PipelineStageHistory

Method Return Type Description

createDate NSCalendarDate

createdBy User

createdByID NSNumber

createdByUsername NSString

endDate NSCalendarDate

modifyDate NSCalendarDate

note NSString

opportunity Opportunity

opportunityID NSNumber

pipeline Pipeline

pipelineID NSNumber

pipelineName NSString

pipelineStage PipelineStage

pipelineStageHistoryID NSNumber

pipelineStageID NSNumber

previousPipeline Pipeline

previousPipelineID NSNumber

previousPipelineName NSString

previousPipelineStage PipelineStage

previousPipelineStageID NSNumber

previousStageName NSString

project Project

projectID NSNumber

stageName NSString

startDate NSCalendarDate

Daylite Data Description Page 48 of 63

Page 49: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

ProductService

Method Return Type Description

accountNumber NSString

active NSNumber

basePrice NSNumber

comment LargeData

costOfGoods NSNumber

createDate NSCalendarDate

currencyCode NSString

details NSString

discount NSNumber

discountTypeCode NSNumber

extra1 NSString

extra2 NSString

extra3 NSString

extra4 NSString

extra5 NSString

extraDate1 NSCalendarDate

idCode NSString

image ResourceLargeData

largeDataID NSNumber

lineItems Array

markup NSNumber

markupTypeCode NSNumber

modelCode NSString

modifyDate NSCalendarDate

name NSString

order NSNumber

privateTypeCode NSNumber

Daylite Data Description Page 49 of 63

Page 50: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

productServiceID NSNumber

profit NSNumber

resourceLargeDataID NSNumber

rootID NSNumber

sku NSString

taxCode NSString

typeCode NSNumber

units NSNumber

upc NSString

useCompoundSecondaryTax NSNumber

Daylite Data Description Page 50 of 63

Page 51: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

RegionType

Method Return Type Description

active NSNumber 0 or 1

name NSString

regionTypeID NSString

Daylite Data Description Page 51 of 63

Page 52: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Relationship

Method Return Type Description

destinationContact Contact

destinationOrganization Organization

details NSString

relationID NSNumber

relationshipType RelationshipType

sourceContact Contact

sourceOrganization Organization

Daylite Data Description Page 52 of 63

Page 53: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

RelationshipType

Method Return Type Description

active NSNumber 0 or 1

forContact NSNumber 0 or 1

forOrganization NSNumber 0 or 1

name NSString

relationshipTypeID NSNumber

reverseName NSString

Daylite Data Description Page 53 of 63

Page 54: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Role

Method Return Type Description

contact Contact

contactID NSNumber

createDate NSCalendarDate

defaultForContact NSNumber

department NSString

detailFromContact NSString

detailFromOrganization NSString

name NSString

opportunity Opportunity

opportunityID NSNumber

organization Organization

organizationID NSNumber

project Project

projectID NSNumber

roleID NSNumber

roleNameWithContactFullname NSString

roleNameWithOrganization-Name

NSString

roleType RoleType

roleTypeID NSNumber

smartName NSString

Daylite Data Description Page 54 of 63

Page 55: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

RoleType

Method Return Type Description

active NSNumber

contactPlaysRoleString NSString

createDate NSCalendarDate

defaultTypeCode NSNumber

forContact NSNumber

forOpportunity NSNumber

forOrganization NSNumber

forProject NSNumber

name NSString

orgPlaysRoleString NSString

privateTypeCode NSNumber

roleTypeID NSNumber

Daylite Data Description Page 55 of 63

Page 56: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

URLReference

Method Return Type Description

lastComponentOfUrl NSString Last piece of URL

name NSString Name as given by the user

note NSString

typeCode NSNumber 0 = Other1 = Web2 = File

typeString NSString

url NSString File path or URL

urlRefID NSNumber

Daylite Data Description Page 56 of 63

Page 57: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

User

Method Return Type Description

active NSNumber

contact Contact A user is really a contact - this link represents the actual person

contactID NSNumber

createDate NSCalendarDate

details NSString

color NSColor Color used in Shared Calendars

isRestrictedForCharts NSNumber 0 or 1

isRestrictedForListCopyPaste NSNumber 0 or 1

isRestrictedForPalmAndAd-dressBookSync

NSNumber 0 or 1

isRestrictedForReports NSNumber 0 or 1

isRestrictedToAssignedObjects NSNumber 0 or 1

isRestrictedToDeleteObjects NSNumber 0 or 1

isRestrictedToImportAndExport NSNumber 0 or 1

isRestrictedToModifyData-basePrefrences

NSNumber 0 or 1

isRestrictedToRunScripts NSNumber 0 or 1

isRestrictedToWorkOffline NSNumber 0 or 1

modifyDate NSCalendarDate

userID NSNumber

username NSString

Daylite Data Description Page 57 of 63

Page 58: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Additions to Cocoa Classes

Daylite Data Description Page 58 of 63

Page 59: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

NSString

Method Return Type Description

htmlSafe NSString

rtfSafe NSString

stringByRemovingReturns NSString

stringByRemovingSurroundingWhitespace

NSString

Daylite Data Description Page 59 of 63

Page 60: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

NSNumber

Method Return Type Description

localizedMoneyValue NSString Looks in System Preferences to determine what currency symbol to use and return the number and currency symbol

durationStringFromMinutes NSString

durationStringFromSeconds NSString

Daylite Data Description Page 60 of 63

Page 61: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

NSCalendarDate

Method Return Type Description

dateAsBeginningOfMonth NSCalendarDate

dateAsEndOfMonth NSCalendarDate

day NSString %e

dayFullMonthYear NSString %d %B %Y

dayMonthShortYear NSString %d/%m/%y

dayMonthYear NSString %d/%m/%Y

dayShortMonthYear NSString %d %b %Y

fullMilitaryTime NSString %H:%M:%S

fullMonth NSString %B

fullMonthDayYear NSString %B %d, %Y

fullTime NSString %I:%M:%S %p

fullYear NSString %Y

lastDayOfMonth NSCalendarDate

militaryTime NSString %H:%M

month NSString %m

monthDayShortYear NSString %m/%d/%y

monthDayYear NSString %m/%d/%Y

nextDay NSCalendarDate

preferredDateFormat NSString Check System Preference for date format

preferredDateTimeFormat NSString Check System Preference for date format

preferredLongDateFormat NSString Check System Preference for date format

preferredLongDateTimeFormat NSString Check System Preference for date format

preferredMediumDateFormat NSString Check System Preference for date format

Daylite Data Description Page 61 of 63

Page 62: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

Method Return Type Description

preferredTimeFormat NSString Check System Preference for date format

previousDay NSCalendarDate

shortMonth NSString %b

shortMonthDayYear NSString %b %d, %Y

shortYear NSString %y

time NSString %I:%M %p

weekDay NSString %A

yearDay NSString %j

Daylite Data Description Page 62 of 63

Page 63: Daylite Data Description - download.marketcircle.com · gets), F-Script and Plugins. In the Merge Engine, you are working above the Object Context level so you have access to all

NSArray

Method Return Type Description

sumAsInteger NSNumber

sumAsFloat NSNumber

sumAsDouble NSNumber

avgAsFloat NSNumber

avgAsInteger NSNumber

Daylite Data Description Page 63 of 63