Implement ability to map parties to GlAccounts
----------------------------------------------

                 Key: OFBIZ-1541
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1541
             Project: OFBiz
          Issue Type: Sub-task
          Components: accounting
    Affects Versions: SVN trunk
            Reporter: Jacopo Cappellato
            Priority: Minor


What about adding the ability to define mappings for 
GlAccountTypeId-->GlAccountId, within the context of an organization, specific 
for parties (or party groups/party classifications?) in a specified role?

The idea is to define a mapping like these:
* "sales invoice transactions for the customer party id 10001 are posted to the 
account id 999999"

* "sales invoice transactions for the customers with classification 'important 
customers' are posted to the account id 8888888"

* "purchase invoices transactions for supplier 120000 are posted to the account 
876555"

We should define a new entity (entities?), but I'm not sure about the best 
layout; maybe:

PartyGlAccount:
 organizationPartyId (PK)
 partyId (PK)
 roleTypeId (PK)
 glAccountTypeId (PK)
 glAccountId


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to