Jade report writer root collection

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Jade report writer root collection

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:47 pm

by Jade developer >> Thu, 3 Mar 2005 0:35:55 GMT

Hi,

I need to set up a report with a root collection that I can change dynamically, is that possible at all and how can this be implemented.

For example:

I want to print a list of orders for a customer - the report would be accessed from the customer screen.

The view has been setup to have a root collection of customer.firstInstance.allOrders.

The report is been designed to use the customer and order details.

Is it possible to reference the customer to an object other than firstInstance dynamically?

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Jade report writer root collection

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:47 pm

by Elle >> Mon, 7 Mar 2005 21:26:27 GMT

you could have a collections like ...

root.allCustomers
customer.allOrders

so you'd get the customer from the root object using your key (like customer id or name) and then you could access all their orders?


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 15 guests