We have companies defined as branches. Each branch has it's own projects.
Some projects done by branch companies are for other members of the group.
We're looking at configurations of parent/child projects to handle this.
Let's say company (branch) A handles the relationship with the external customer. It has two tasks that it bills to the customer. Company B handles the work for one of the tasks that company A will bill to the external customer. Company B will bill customer A for the work they performed. They are a profit generating company.
The project in company B has expenses and revenues and invoices company A for their work like any other vendor does. Company A records the invoice from company B as if it is coming from any other vendor and it's a cost of their project.
I have defined parent child project relationships and parent child task relationship. Branch B has been extended as a vendor. Branch A has been extended as a customer.
I ran billing in Branch B and an invoice was generated to Branch A. I ran generate intercompany documents in Branch A and it creates a project X AP bill and NOT a bill to their project (which I was expecting would be derived from the relationship between projects and tasks).
The AP bill in company A hits only the expense account defined as the default for the company B vendor...it bypasses the external project coding.
It is not an option to have company B invoice the external customer because how company A gets the work performed is of no concern to the external customer
How do I automate the back to back project related AR invoice and AP bill in this scenario?