|
|
Choosing A Webhost: |
xml problems with enterprise projects and how they are linked to job: msg#00009cms.opengroupware.xmlrpc.devel
help get project and I have done python program that prints jobs with certain gategory and starDate and endDate is between given dates now I want to search jobs for sertain enterpise in test database I have enterprise named Iiris I see projects with project code P12420 under this project I see my jobs I get enterprices with this methods in my enterprise class def get_enterprise(self,field='name',condition='like',field_value='*'): apu="%s %s '%s'" %(field,condition,field_value) result=self.server.enterprise.fetch(apu) return result then I send result list to other method def get_projects(self,elist): # elist list of enterprises comes all right for e1 in range(len(elist)): # entnumber=string.split(elist[e1] ['id'],'/') # one_eterprise=string.atoi(entnumber[len(entnumber)-1]) # I tried also with number one_eterprise= elist[e1] ['id'] print one_eterprise result=self.server.enterprise.getProjects(one_eterprise) print elist[e1] print "____projects___" print result enterprise.getProjects give me nothing there is no errors in errorlog how can I get jobs sertain enterprise -- OpenGroupware.org XML-RPC xmlrpc@xxxxxxxxxxxxxxxxx http://mail.opengroupware.org/mailman/listinfo/xmlrpc
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Determining object type from id, Adam Tauno Williams |
|---|---|
| Next by Date: | Re: xml problems with enterprise projects and how they are linked to job, Helge Hess |
| Previous by Thread: | Determining object type from id, Adam Tauno Williams |
| Next by Thread: | Re: xml problems with enterprise projects and how they are linked to job, Helge Hess |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |