Packageat.db
Classpublic class UpdateRepBagAttribute

Class for updating a single record from the table tbl_RepBagAttribute in the application database.



Public Properties
 PropertyDefined by
  activeEdit : String = "Y"
Holds the active value to be inserted into the active column of the table tbl_RepBagAttribute in the application database.
UpdateRepBagAttribute
  attributeidEdit : int
Holds the attributeid value to be inserted into the attributeid column of the table tbl_RepBagAttribute in the application database.
UpdateRepBagAttribute
  commentsEdit : String
Holds the comments value to be inserted into the comments column of the table tbl_RepBagAttribute in the application database.
UpdateRepBagAttribute
  datemodified : String
Holds the datemodified value to be inserted into the datemodified column of the table tbl_RepBagAttribute in the application database.
UpdateRepBagAttribute
  descriptionEdit : String
Holds the description value to be inserted into the description column of the table tbl_RepBagAttribute in the application database.
UpdateRepBagAttribute
  evevalueEdit : String
Holds the evevalue value to be inserted into the evevalue column of the table tbl_RepBagAttribute in the application database.
UpdateRepBagAttribute
  id2Edit : int = 0
Holds the id2 value to be inserted into the id2 column of the table tbl_RepBagAttribute in the application database.
UpdateRepBagAttribute
  nameEdit : String
Holds the name value to be inserted into the name column of the table tbl_RepBagAttribute in the application database.
UpdateRepBagAttribute
  repbagattributeID : int
Holds the repbagattributeID value passed into the class used to reference the existing rep bag attribute record for updating in the application database.
UpdateRepBagAttribute
  repbagidEdit : int
Holds the repbagid value to be inserted into the repbagid column of the table tbl_RepBagAttribute in the application database.
UpdateRepBagAttribute
  versionEdit : int = 0
Holds the version value to be inserted into the version column of the table tbl_RepBagAttribute in the application database.
UpdateRepBagAttribute
  whomodified : int
Holds the whomodified value to be inserted into the whomodified column of the table tbl_RepBagAttribute in the application database.
UpdateRepBagAttribute
Public Methods
 MethodDefined by
  
UpdateRepBagAttribute(repbagattributeID:int, id2Input:int, repbagidInput:int, evevalueInput:String, attributeidInput:int, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)
Constructor.
UpdateRepBagAttribute
Protected Methods
 MethodDefined by
  
init():void
Init.
UpdateRepBagAttribute
  
onDBStatementEditResult(event:SQLEvent):void
Listener handler method for database SQL statement result.
UpdateRepBagAttribute
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
UpdateRepBagAttribute
  
onEveDBOpened(event:SQLEvent):void
Updates an existing rep bag attribute record in the table tbl_RepBagAttribute in the application database.
UpdateRepBagAttribute
Property detail
activeEditproperty
public var activeEdit:String = "Y"

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

The default value is Y.

attributeidEditproperty 
public var attributeidEdit:int

Holds the attributeid value to be inserted into the attributeid column of the table tbl_RepBagAttribute in the application database.

commentsEditproperty 
public var commentsEdit:String

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

datemodifiedproperty 
public var datemodified:String

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

descriptionEditproperty 
public var descriptionEdit:String

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

evevalueEditproperty 
public var evevalueEdit:String

Holds the evevalue value to be inserted into the evevalue column of the table tbl_RepBagAttribute in the application database.

id2Editproperty 
public var id2Edit:int = 0

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

The default value is 0.

nameEditproperty 
public var nameEdit:String

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

repbagattributeIDproperty 
public var repbagattributeID:int

Holds the repbagattributeID value passed into the class used to reference the existing rep bag attribute record for updating in the application database.

repbagidEditproperty 
public var repbagidEdit:int

Holds the repbagid value to be inserted into the repbagid column of the table tbl_RepBagAttribute in the application database.

versionEditproperty 
public var versionEdit:int = 0

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

The default value is 0.

whomodifiedproperty 
public var whomodified:int

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

Constructor detail
UpdateRepBagAttribute()constructor
public function UpdateRepBagAttribute(repbagattributeID:int, id2Input:int, repbagidInput:int, evevalueInput:String, attributeidInput:int, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)

Constructor.

Parameters
repbagattributeID:int
 
id2Input:int
 
repbagidInput:int
 
evevalueInput:String
 
attributeidInput:int
 
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.

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

Listener handler method for database SQL statement result.

Parameters
event:SQLEventSQLEvent
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

Updates an existing rep bag attribute record in the table tbl_RepBagAttribute in the application database.

Parameters
event:SQLEventSQLEvent