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.

-- 
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: pgpmnkkqepPsp.pgp
Description: PGP signature

Reply via email to