David E Jones wrote:
However we do this, we probably shouldn't have a foreign key for this
relationship unless it's either an optional field or we require a
complete listing of all the banks in the world. ;)
I was actually thinking to an optional foreign key field, but using the
routingNumber field (as a lookup field for the Party entity) is an
interesting idea; I know that seems odd (and probably it is) but most of
the Italian companies feel the need to import all the (Italian) banks in
their ERP systems: all the softwares I've seen so far actually have some
sort of utility to load the banks from a text file.
But I like the idea of the routing number... let me think a bit more
about this.
Thanks,
Jacopo
-David
On Nov 23, 2007, at 12:06 AM, Jacopo Cappellato wrote:
What about adding a new field (bankPartyId) to the EftAccount entity?
It can be used to store the party id of the bank (office) that hosts
the account.
Should we also add an ownerPartyId field?
Jacopo