On 26/06/12 13:15 +0100, Fares Hantous wrote:
> Le 26/06/2012 13:05, Cédric Krier a écrit :
> >On 26/06/12 12:24 +0100, Fares Hantous wrote:
> >>Le 26/06/2012 12:00, Cédric Krier a écrit :
> >>>On 26/06/12 11:51 +0100, Fares Hantous wrote:
> >>>>Le 26/06/2012 11:32, Cédric Krier a écrit :
> >>>>>I mean the "Bank Account" Model must contains a list of "Account Number"
> >>>>>with a type and the corresponding required fields.
> >>>>After reading [1] and [2], it seems that it is possible to do that:
> >>>>field1 M2O : country
> >>>>field2 : key
> >>>>field3 : IID
> >>>>field4 : account number
> >>>>
> >>>>The IBAN is the concatenation : country.code + key + iid + account number
> >>>>The RIB / BBAC is the concatenation : iid + account number
> >>>>
> >>>>This seems to be generic for all countries.
> >>>>
> >>>>[1] http://fr.wikipedia.org/wiki/ISO_13616
> >>>>[2] http://fr.wikipedia.org/wiki/Basic_Bank_Account_Number
> >>>I really think that it will be a dead end if you try to be too smart and
> >>>too strict when storing such information.
> >>>So the account number should be stored in a simple Char field.
> >>>
> >>Why?
> >>This way, the user doesn't need to write twice (or 3 times)  the
> >>account number.
> >>If you need the account number or the RIB or the IBAN, you get it.
> >Because you are just speaking about a specific cases and not about
> >general purpose.
> >
> Which case is not solved this way ?

Any case where RIB or IBAN is not involved.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgplQ6SS6qPrm.pgp
Description: PGP signature

Reply via email to