number to id

Christoph Guse <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
Hi List,

in my project I use enterprise.insert to insert a new Enterprise. This 
works fine and as result I get the unique number of the enterprise. The 
number is an integer and it is correct, but in my case it is necessary 
to get a full ID, i.e. "skyrix://renner.flex/renner/33710" .
I tried to use system.getHostName to construct the ID by myself, but the 
result of system.getHostName is "renner.flex" . Is the part "skyrix://" 
in every installation the same? Is the part "/renner/" always the first 
part of system.getHostName? Is there any way to get the full ID 
automatically with enterprise.insert?

I apologize for any help.

Greets
Christoph

-- 
****************************************
 Christoph Guse
 Löhstraße 34
 41747 Viersen
 Tel.  0 21 62 / 50 24 066
 Mobil   01 72 / 160 74 84
 VoIP  0 12 12 / 39 64 48 831
****************************************

-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.