Re: number to id
Christoph Guse <[email protected]>
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Helge, thanks for that explanation. I didn't know a ID is an number without the full url. I changed my code and it works. Greets Christoph Helge Hess wrote: > On 24. Mai 2005, at 19:44 Uhr, Christoph Guse wrote: >> In the method I use to link/unlink the persons to the enterprise I >> use enterprise.getById and not enterprise.getByNumber. Thats why for >> me a full enterprise ID would be convenient. > > I think you are mixing 'ids' and 'numbers' up. > > ID: skyrix://renner.flex/renner/12345 > ID: 12345 > Number: OGo12345 > > In all places of the XML-RPC API you can use just "12345" instead of > the full URL. Its a completely valid (local) ID. > > The ID corresponds to the primary key of the object in question > (which is just the 12345). > > The "Number" is a user-settable field, intended for numbers in for > example a billing system (a customer number). When you create a new > record and do not specify a number, OGo will automatically create one > based on the ID. > > Greets, > Helge -- **************************************** 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