Packageat.db
Classpublic class TrackCall

Class for creating a single object for the table tbl_TrackCall in the application database.



Public Properties
 PropertyDefined by
  activeAdd : String = "Y"
Holds the active value to be inserted into the active column of the table tbl_TrackCall in the application database.
TrackCall
  calltypeidAdd : int
Holds the calltypeid value to be inserted into the calltypeide column of the table tbl_TrackCall in the application database.
TrackCall
  commentsAdd : String
Holds the comments value to be inserted into the comments column of the table tbl_TrackCall in the application database.
TrackCall
  datecreated : String
Holds the datecreated value to be inserted into the datecreated column of the table tbl_TrackCall in the application database.
TrackCall
  datemodified : String
Holds the datemodified value to be inserted into the datemodified column of the table tbl_TrackCall in the application database.
TrackCall
  descriptionAdd : String
Holds the description value to be inserted into the description column of the table tbl_TrackCall in the application database.
TrackCall
  endAdd : String
Holds the end value to be inserted into the end column of the table tbl_TrackCall in the application database.
TrackCall
  id2Add : int = 0
Holds the id2 value to be inserted into the id2 column of the table tbl_TrackCall in the application database.
TrackCall
  nameAdd : String
Holds the name value to be inserted into the name column of the table tbl_TrackCall in the application database.
TrackCall
  repidAdd : int
Holds the repid value to be inserted into the repid column of the table tbl_TrackCall in the application database.
TrackCall
  startAdd : String
Holds the start value to be inserted into the start column of the table tbl_TrackCall in the application database.
TrackCall
  versionAdd : int = 0
Holds the version value to be inserted into the version column of the table tbl_TrackCall in the application database.
TrackCall
  whocreated : int
Holds the whocreated value to be inserted into the whocreated column of the table tbl_TrackCall in the application database.
TrackCall
  whomodified : int
Holds the whomodified value to be inserted into the whomodified column of the table tbl_TrackCall in the application database.
TrackCall
Public Methods
 MethodDefined by
  
TrackCall(id2Input:int, repidInput:int, calltypeidInput:int, startInput:String, endInput:String, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)
Constructor.
TrackCall
Protected Methods
 MethodDefined by
  
init():void
Init.
TrackCall
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
TrackCall
  
onEveDBOpened(event:SQLEvent):void
Creates a table if it does not already exist then adds a new record to the table tbl_TrackCall.
TrackCall
Property detail
activeAddproperty
public var activeAdd:String = "Y"

Holds the active value to be inserted into the active column of the table tbl_TrackCall in the application database.

The default value is Y.

calltypeidAddproperty 
public var calltypeidAdd:int

Holds the calltypeid value to be inserted into the calltypeide column of the table tbl_TrackCall in the application database.

commentsAddproperty 
public var commentsAdd:String

Holds the comments value to be inserted into the comments column of the table tbl_TrackCall in the application database.

datecreatedproperty 
public var datecreated:String

Holds the datecreated value to be inserted into the datecreated column of the table tbl_TrackCall in the application database.

datemodifiedproperty 
public var datemodified:String

Holds the datemodified value to be inserted into the datemodified column of the table tbl_TrackCall in the application database.

descriptionAddproperty 
public var descriptionAdd:String

Holds the description value to be inserted into the description column of the table tbl_TrackCall in the application database.

endAddproperty 
public var endAdd:String

Holds the end value to be inserted into the end column of the table tbl_TrackCall in the application database.

id2Addproperty 
public var id2Add:int = 0

Holds the id2 value to be inserted into the id2 column of the table tbl_TrackCall in the application database. Primarily used for synchronization with a remote database.

The default value is 0.

nameAddproperty 
public var nameAdd:String

Holds the name value to be inserted into the name column of the table tbl_TrackCall in the application database.

repidAddproperty 
public var repidAdd:int

Holds the repid value to be inserted into the repid column of the table tbl_TrackCall in the application database.

startAddproperty 
public var startAdd:String

Holds the start value to be inserted into the start column of the table tbl_TrackCall in the application database.

versionAddproperty 
public var versionAdd:int = 0

Holds the version value to be inserted into the version column of the table tbl_TrackCall in the application database. Primarily used for synchronization with a remote database.

The default value is 0.

whocreatedproperty 
public var whocreated:int

Holds the whocreated value to be inserted into the whocreated column of the table tbl_TrackCall in the application database.

whomodifiedproperty 
public var whomodified:int

Holds the whomodified value to be inserted into the whomodified column of the table tbl_TrackCall in the application database.

Constructor detail
TrackCall()constructor
public function TrackCall(id2Input:int, repidInput:int, calltypeidInput:int, startInput:String, endInput:String, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)

Constructor.

Parameters
id2Input:int
 
repidInput:int
 
calltypeidInput:int
 
startInput:String
 
endInput:String
 
nameInput:String
 
descriptionInput:String
 
commentsInput:String
 
versionInput:int
 
activeInput:String
Method detail
init()method
protected function init():void

Init. Establishes connection to the application database.

onEveDBError()method 
protected function onEveDBError(event:SQLEvent):void

Error handler method for database connection errors.

Parameters
event:SQLEventSQLEvent
onEveDBOpened()method 
protected function onEveDBOpened(event:SQLEvent):void

Creates a table if it does not already exist then adds a new record to the table tbl_TrackCall.

Parameters
event:SQLEventSQLEvent