[Kde-finance-apps] Re: kde-alkimia unique id

Thomas Baumgart thb at net-bembel.de
Fri Jul 22 07:40:26 CEST 2011


Hi,

on Friday 22 July 2011 07:10:37 puneet goyal wrote:

> On Fri, Jul 22, 2011 at 6:28 AM, Alvaro Soliverez <asoliverez at kde.org>wrote:
> > Hello Puneet,
> > The unique identifier should be auto-generated by Alkimia.
> > On the other hand, the invoice may have an identifier, but that would
> > be unique only to the invoicer.
> > 
> > Regards,
> > Alvaro

> Yeah, So should I make a function to generate it?
> what parameters should be used because i think those will be needed to be
> recovered too while checking an incoming invoice

Take a look at class QUuid(). I doubt that you want to use this as a (visible) 
ID in the invoice and the payment. The numbering scheme for printed invoice 
numbers might differ from locale to locale, but a unique ID does not.

In order to match a transaction to an invoice, you need more than the unique 
ID. It might be presented wrong in the payment.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
The beauty of standards is that there are so many to choose from.
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-finance-apps/attachments/20110722/353aa87e/attachment.sig 


More information about the Kde-finance-apps mailing list