My requirement is to allow any account_move_line entry to have protentially (but not always) more than one analytic account.
Looking at the above module, it seems to rely on a known distribution between any two analytic accounts. So if I have two departments (AKL, WGN) and two projects (PRO1, PRO2) I need to create distribtions as follows: AKL - ie akl only no project WGN - ie wgn only no project PRO1 - ie project1 only, no department PRO2 - ie project2 only, no department AKL PRO1 - AKL depatment revenue/costs for project1 AKL PRO2 - AKL department revenue/costs for project2 WGN PRO1 - WGN department revenue/costs for project1 WGN PRO2 - WGN department revenue/costs for project2
The correct distribution_id is then added to the account_move_line.
Is my understanding correct or is there another way of approaching this.
Also in testing this I then looked at the Chart of Analytic Accounts which had no entries despite the entries being posted and appearing in the normal chart of accounts. Is this known behaviour?