Jump to content

Can you embed a report inside a report?


This topic is 8528 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

I have a few tables that, combined, have the necessary data to create an invoice:

Transactions contains all the details about the payment, shipping, customer info, etc.

Orderline contains the line items for each order. There is a one to many relationship from transactions to orderline.

Products contains product information. It is related to orderline because orderline only contains the SKU for a product and the subtotal (quantity x price). You need Products to get the product name and price per unit (especially when there is discounting involved).

This is pretty much the way the tables are downloaded from the ecommerce software I am using.

It is simple enough to create a summary style report that groups the line items in the orderline table by the order number and pulls the necessary data from products.

And it is simple enough to get the rest of the info from transactions.

But I am having a difficult time trying to combine the two.

What I want to know is there a way to embed the report for "orderline" into the report for "transactions" so that I can create an invoice?

Just adding the fields from orderline to the report for transactions does not really work because there is absolutely no relationship between transactions and products to get the product data that is necessary.

I hope that makes sense. If you can help me out, I would greatly appreciate it.

Link to comment
Share on other sites

This topic is 8528 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.