donnarenia
Technical User
Is there a way to use a record selection prameters to select a detail section.
For example, I am working on a commission report, that shows the following details:
Invoice Date
Client Name
Invoice #
Invoice Amt
Commission Rate {CLNTCUS.~Custom20}
Commission Amount (this is a formula @commission)
In Details B section, I want to show the exact same details but for a Second Salesperson on the same Invoice.
Invoice Date
Client Name
Invoice #
Invoice Amt
Commission Rate (will be different {CLNTCUS.~Custom22}
Commission Amount (this is a formula @commission2)
I have set up a record selection formula based on the Salesperson
if{?Salesperson}= "Salesperson 1" then
{CLNTCUS.~Custom3} = {?Employee} and
not ({CLNTCUS.~Custom3} in ["House Account", "JRK"])and
{@DatesRemaining} < 13.00 and
{AR.InvoiceDate} = {?Invoice Date} and
{AR.Type} = "I" else
if {?Salesperson} = "Salesperson 2" then
{CLNTCUS.~Custom21} = {?Employee} and
{@DatesRemaining} < 13.00 and
{AR.InvoiceDate} = {?Invoice Date} and
{AR.Type} = "I"
I am trying to figure out how can I set up a way to connect the details for the Salesperson? Is this possible to do in one report?
For example, I am working on a commission report, that shows the following details:
Invoice Date
Client Name
Invoice #
Invoice Amt
Commission Rate {CLNTCUS.~Custom20}
Commission Amount (this is a formula @commission)
In Details B section, I want to show the exact same details but for a Second Salesperson on the same Invoice.
Invoice Date
Client Name
Invoice #
Invoice Amt
Commission Rate (will be different {CLNTCUS.~Custom22}
Commission Amount (this is a formula @commission2)
I have set up a record selection formula based on the Salesperson
if{?Salesperson}= "Salesperson 1" then
{CLNTCUS.~Custom3} = {?Employee} and
not ({CLNTCUS.~Custom3} in ["House Account", "JRK"])and
{@DatesRemaining} < 13.00 and
{AR.InvoiceDate} = {?Invoice Date} and
{AR.Type} = "I" else
if {?Salesperson} = "Salesperson 2" then
{CLNTCUS.~Custom21} = {?Employee} and
{@DatesRemaining} < 13.00 and
{AR.InvoiceDate} = {?Invoice Date} and
{AR.Type} = "I"
I am trying to figure out how can I set up a way to connect the details for the Salesperson? Is this possible to do in one report?