> Eg: Any Sales account for Joe Block should go to account 55555 ; any
sales account for C&W should go to 55556, ...
This request is probably an indicator that the accountant doesn't get
the concept of the iDempiere dimensions.
Also Hierarchy can help here, if you have the three Business Partners
associated in hierarchy to some Summary BP.
But, I'm not accountant, so I could be totally wrong about that.
You said:
> accountants will never write SQL :)
And they MUST not, no end-user must be allowed to write SQL within
iDempiere, that's the reason of marking fields as advanced and making
all SQL related fields just accessible for Advanced roles (the
implementor or IT).
If an accountant (or any end-user) can configure an SQL field you would
be opening a security hole there, exploiting SQL you can get sensitive
information easily.
Now, for your question:
Marco's implementation looks good, but that means it NEEDS to be done by
the implementor or IT people.
Making Account multi, sounds like a more user friendly solution, but the
development could be difficult. And people then would ask why the other
dimensions are not multi.
Another approach could be to use another dimension for that.
Another approach that I use, when the remapping of accounts is too big
for GL Distribution, is easier to write a few lines of an EventHandler
for that.
Anyways, if you think both are feasible, I think both can add value, so
I would vote for #3 :-D
[ But voting is cheap, writing the code is what you must take into
account, it must not become too complex ]
Regards,
Carlos Ruiz