Advertisement

07.09.2008 at 02:01PM PDT, ID: 23551860
[x]
Attachment Details

How to show items with null values

Asked by jdol2949 in Crystal Reports Software, SQL Reporting, Business Objects

Tags: Business Objects, Crystal Reports XI, XI

In our business each customer has a custom price profile with a negotiated price for each item purchased.  Each time they order, if a price is listed in thier profile for that item, it overrides the standard retail price.

The current report illustrates all items listed in the profile that have NOT been ordered in the last 365 days.  We then delete these from the profile to keep it accurate.  The problem is that we have some items listed in the profile that have NEVER been ordered.  Due to the coding of the report, these do not show up as the only ones listed on the report are those with max invoice dates > 365 days.  Here is some code used;

Select criteria;  
Maximum ({SalesOrder.OpenDate}, {SalesOrderItem.ItemNmbr})<currentdate-365
{@NoCustom} = "Has Custom"

the @NoCustom is a formula created to ID those items that have profile price listed;
if IsNull({CustomerPrice.Price})then "Need Custom" else "Has Custom"

Using this, we show items that have custom profile price with last sale date of 365+ days.  How do I add items that have NO sales to this report?  Start Free Trial
 
 
[+][-]07.09.2008 at 02:16PM PDT, ID: 21968479

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 09:18PM PDT, ID: 21970378

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.10.2008 at 01:59PM PDT, ID: 21977341

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.10.2008 at 06:41PM PDT, ID: 21979278

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Crystal Reports Software, SQL Reporting, Business Objects
Tags: Business Objects, Crystal Reports XI, XI
Sign Up Now!
Solution Provided By: James0628
Participating Experts: 2
Solution Grade: B
 
 
[+][-]08.14.2008 at 02:20PM PDT, ID: 22234368

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628