コード例 #1
0
	def __init__(self, databaseconnection):
		"""Initialise TaskGroupCreator. Takes a DB-API Connection object"""
		import TableConstructors
		SimpleTableAdapter.__init__(self,databaseconnection,TableConstructors.createTaskGroups)		
コード例 #2
0
	def __init__(self, databaseconnection):
		"""Initialise PlanningList. Takes a DB-API Connection object"""
		import TableConstructors
		SimpleTableAdapter.__init__(self,databaseconnection,TableConstructors.createPlanningItems)
コード例 #3
0
	def fillemptyfields(self,data):	
		self.fill(data,'Quantity')
		self.fill(data,'YieldFac',1)
		self.fill(data,'EstPrice')
		self.fill(data,'Completed','N')
		SimpleTableAdapter.fillemptyfields(self,data)
コード例 #4
0
 def fillemptyfields(self, data):
     self.fill(data, "Address", "")
     self.fill(data, "Location", "")
     self.fill(data, "CUIT", "")
     self.fill(data, "Phone", "")
     SimpleTableAdapter.fillemptyfields(self, data)