Skip to main content
Question

Branch details on invoice in report designer

  • January 28, 2026
  • 4 replies
  • 27 views

Forum|alt.badge.img

Hi, we have a custom form that prints customer payment receipt and I want to pick up the branch details (Branch Name, address, ABN, phone) from the invoice. This is because they have invoices from different branches and pay it to the main branch. In this example, invoice branch is HCCVIC and the payment branch is in their main branch HDDDD

Form is printed here and there are 2 invoices in same branch. I want to pick up the branch details from invoices. Currently it picks up from company details
Current setup

 

4 replies

lauraj46
Captain II
Forum|alt.badge.img+9
  • Captain II
  • January 28, 2026

Hi ​@MarkD ,

You should be able to adjust this in the relationships on the schema for your report.  In the standard report SO643000, the joins are:

ARInvoice.BranchID = Branch.BranchID

Branch.BAccountID = BAccount.BAccountID

BAccount.DefAddressID = Address.AddressID

BAccount.BAccountID = Address.BAccountID

Note that the Address DAC is aliased as CompanyAddress.    

I think something similar should work for you scenario.  Take a look and let us know.

Hope this helps!

Laura

 

 


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • January 28, 2026

Hi ​@lauraj46 - I’ve tried that already, but it’s not working. What I want is to show the branch from application history tab of the payment and branch details. Or if it’s better to pick it up from Invoices and Memos screen itself. Any thoughts?

 

 


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • January 28, 2026

Just an update: I’ve managed to get the branch description, but not the branch details of the invoice yet.


lauraj46
Captain II
Forum|alt.badge.img+9
  • Captain II
  • January 28, 2026

Hi ​@MarkD ,

 

You could join on ARPostTran to get the BranchID from the application history tab

However, because there can be multiple records in ARPostTran.BranchID, you may need a subreport. The subreport should incluce parameters for the payment document type and reference number.  The subreport will select from ARPostTran and include the other joins as described above to print the branch address info in the subreport report header or report footer.

Hope this makes sense and helps!

Laura