Activity


Added On:  08/25/12 
SQL Table:  ACTIVITY 
Module:  UniSell 
Type:  Entity  Status:  Active 
Java Class:  Activity 
A scheduled activity associated with a lead.
Added On:  08/25/12
SQL Column:  ACTION_FK
Java Field:  
Status:  Active
SQL Type:  bigint(20)
Java Type:  
References Action
Attributes:
Reference to action performed as an outcome of this activity.
Added On:  08/25/12
SQL Column:  ACTIVITY_CL
Java Field:  activityCl
Status:  Active
SQL Type:  varchar(1)
Java Type:  String
References Activity Classifier
Attributes: Required
Represents the type of activity to be performed.
Added On:  08/25/12
SQL Column:  ACTIVITY_REASON_CODE
Java Field:  activityReasonCode
Status:  Active
SQL Type:  varchar(2)
Java Type:  String
Attributes:
For appointments only: reason for the appointment
Added On:  08/25/12
SQL Column:  CREATE_DATE
Java Field:  createDate
Status:  Active
SQL Type:  datetime
Java Type:  Date
Attributes:
Date when the record was created
Added On:  08/25/12
SQL Column:  CREATOR_CODE
Java Field:  creatorCode
Status:  Active
SQL Type:  varchar(60)
Java Type:  String
References User
Attributes:
Reference to a user that created this activity
Added On:  08/25/12
SQL Column:  DESCRIPTION
Java Field:  description
Status:  Active
SQL Type:  varchar(1024)
Java Type:  String
Attributes:
Description of the task
Added On:  08/25/12
SQL Column:  DUE_DATE
Java Field:  dueDate
Status:  Active
SQL Type:  date
Java Type:  Date
Attributes:
Date when the activity is due.
Added On:  08/25/12
SQL Column:  DURATION
Java Field:  duration
Status:  Active
SQL Type:  int(11)
Java Type:  Integer
Attributes:
For appointments only: duration of the appointment in minutes
Added On:  08/25/12
SQL Column:  ID
Java Field:  id
Status:  Active
SQL Type:  bigint(20)
Java Type:  Long
Identifier / Primary Key
Attributes: Unique, Required, CreateOnly, ReadOnly
Identifier of the object used for references; auto-incremented integer value.
Added On:  08/25/12
SQL Column:  LAST_STATUS_CHANGE_DATE
Java Field:  lastStatusChangeDate
Status:  Active
SQL Type:  date
Java Type:  Date
Attributes: Required
Date when task status was changed last time.
Added On:  08/25/12
SQL Column:  LEAD_CASE_FK
Java Field:  leadCase
Status:  Active
SQL Type:  bigint(20)
Java Type:  
References Lead Case
Attributes:
Reference to the case that the activity belongs to.
Added On:  08/25/12
SQL Column:  LEAD_FK
Java Field:  lead
Status:  Active
SQL Type:  bigint(20)
Java Type:  
References Lead
Attributes: Required
Reference to a lead that this activity is associated with.
Added On:  08/25/12
SQL Column:  MERCHANT_ACCOUNT_CODE
Java Field:  merchantAccountCode
Status:  Active
SQL Type:  int(11)
Java Type:  Integer
Attributes: Required, CreateOnly
Code of Merchant Account to which instance of this object is attributed to.
Depending on the context, Merchant Account Code field may contain either Merchant Code or Merchant Account Code.

The field is primarily used for data partitioning and data management, to make it easy to determine the ownership of a record within the database.
Added On:  08/25/12
SQL Column:  NOTES
Java Field:  notes
Status:  Active
SQL Type:  varchar(1024)
Java Type:  String
Attributes:
Activity related notes.
Added On:  08/25/12
SQL Column:  OWNER_CODE
Java Field:  ownerCode
Status:  Active
SQL Type:  varchar(60)
Java Type:  String
References User
Attributes: Required
Reference to a user who currently owns and who is responsible for the activity.
Added On:  08/25/12
SQL Column:  RESCHEDULING_ATTEMPT_COUNT
Java Field:  reschedulingAttemptCount
Status:  Active
SQL Type:  int(11)
Java Type:  Integer
Attributes:
Number of times this activity has been rescheduled. Every rescheduling attempt increments the value by 1.
Added On:  08/25/12
SQL Column:  STATUS_CL
Java Field:  statusCl
Status:  Active
SQL Type:  varchar(1)
Java Type:  String
Attributes: Required
Current status of the activity