Intercompany Functionality NAV 16

Hi all,

Is there a way in NAV 16 to automate an intercompany entry? Example: In our setup we have one company, with several offices, each with their own trial balance. We use a dimension code to identify all postings.

One of our offices bought material for a job that they now can not perform due to a scheduling conflict so another of our offices will do the work. Accounting made an entry to transfer the cost of that material from one office to another offset on each company being the Intercompany account. Is it possible to have an entry that would just Dr. Material on Company A and Cr. Material on Company B and have NAV automatically do the intercompany entry behind the scenes so the entry at the office level is balanced? Can it be done at the job general ledger level as well?