Updating a canned Epicor report in Crystal Reports

 Here is a response I got from tech support some time ago:


Here you go:

 

PROBLEM:  In Epicor 9, users can add new tables to a Report Data Definition.  How is this done?

 

RESOLUTION:

To accomplish this, you first want to start with creating the Report Data Definition to use which then gives you the ability to add fields within Crystal, that are not standard fields on the form.

 

ADDING A TABLE TO A REPORT DATA DEFINITION:

1.  In E9, go to System Management->Company Maintenance->Report Data Definition.

2.  Click on the Code button, then Search button.

3.  Find the Report Data Definition you would like to modify, ie POForm.

4.  Go to Actions->Duplicate Report.

5.  The Report Def ID field should be unique, i.e. POForm2.

6.  Give it a Description and choose OK.

7.  The newly created Report Data Definition is now visible and can be changed; it is an exact duplicate of the original definition for the standard form.

8.  Go to File->New->New Table 

9.  Click on the RptTableID button.

10.  Search for the table required, for example,  POApvMsg.

11.  Once you have the table, click OK.

12.  Go to File->New->New Relationship.

13.  Create the relationships (if this is not done, you will see the added tables & fields, but you will never get data in them).  This does not replace linking in Crystal.

                A.  Parent table can be any table that is in the tree.

                B.  Key:  (Use keys where possible, will run faster)

                C.  Child table will only be the added table.

                D.  Relation Type should be Output.

                E.  Relationship fields - These don't have to match.  If they are not valid, you will get no data or you will get multiple records (huge XML).  If you link table by company only, you will get all of the data for the added table.

14.  Choose your fields to be included on the Report Data Definition, from the Excluded Fields tab.

15.  Save your changes.  The new Report Data Definition is now available.

 

GENERATING THE .XML CONTAINING THE NEW REPORT DATA DEFINITION:

1.  Go to System Management->Company Maintenance->Report Style.

2.  Open the Report Style, for example POForm.

3.  Call up the Style number using the new Report Data Definition, for ex ample Style 1 note where the report is.

4.  File new style, add a style  and point it to the new Report Data Definition (for example POForm2.)and the existing Crystal Report.

5.  Save the changes.

6.  Go the Material Management->Purchasing Management->GenOps->PO Entry.

7.  Open a PO, and print preview it.

8.  This will generate the .XML in the \mfgsysdata\reports\<useID> folder.

9.  Edit that .XML, and the data from that form will now be available.

 

ADDING THE NEW TABLES FROM THE .XML TO THE CRYSTAL REPORT: 

NOTE:  A familiarity with Crystal Reports is recommended for the next steps, as you will be designing your Crystal Report.

1.  Go to Database->Set Datasource Location. 

2.  In the Replace With section, double-click Create New Connection->ADO.NET (XML).

3.  In the ADO.NET (XML) window, in the File Path field, browse to the .xml file created above, highlight the .xml, click Open, and click Finish.

4.  Highlight the ReportDataSet in the Current Data Source and Replace With sections, and then click the Update button on the right.  Click Close.

5.  Go to Database->Database Expert.

6.  On the Data tab, copy the added tables from Available Data Sources on the left to the Selected Tables on the right.  Click OK.

7.  On the Links tab, accept the default links or create your own links between tables and fields.  Depending on your needs, these may be inner or outer joins.  Make your changes and click OK.

8.  Go to View->Field Explorer.  Expand the Database Fields tree.  This will list your tables.fields from the modified Report Data Definition.  Include and arrange the fields as required.

9.  Go to File->Save to save your report layout.

10.  Close Crystal.

 

KEYWORDS:

 

add table

modify report data definition



---In vantage@yahoogroups.com, <clederer@...> wrote:

I'm not too familar iwth EpicWeb. Do you know where inside EpicWeb I should start looking?

--- In vantage@yahoogroups.com, "Vic Drecchio" <vic.drecchio@...> wrote:
>
> No, Epicor Support won't help you here. You don't need "support"; you need
> instruction. You might find something on EpicWeb.
>
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
> clederer@...
> Sent: Wednesday, November 06, 2013 2:08 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: Updating a canned Epicor report in Crystal Reports
>
>
>
>
>
> 702a, I have the training version of Epicor. I can start with that. Do you
> think Epicor support would be a viable option for this as well?
>
> --- In vantage@yahoogroups.com, "Vic Drecchio" <vic.drecchio@> wrote:
> >
> > Have you talked to your Epicor CAM? They usually have training guides (and
> > online training courses) that are quite valuable to have as a resource and
> > walk you through this very scenario. What you're inquiring about below
> > isn't a simple answer and you could easily go about doing it incorrectly
> and
> > end up causing more damage than good. I used to teach this class and it
> was
> > a three-day class. Working properly with and being thoroughly
> knowledgeable
> > of BAQs, Crystal, Report Styles, etc. and how they all work with each
> other
> > is invaluable and not as simple as you may perceive.
> >
> >
> >
> > What version of Epicor are you working with?
> >
> >
> >
> > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of
> > clederer@
> > Sent: Wednesday, November 06, 2013 11:40 AM
> > To: vantage@yahoogroups.com
> > Subject: [Vantage] Updating a canned Epicor report in Crystal Reports
> >
> >
> >
> >
> >
> > Does anyone have any information about this?
> >
> > I'm trying to modify a canned Epicor report in Crystal Reports. I was able
> > to pull up the canned report in Crystal and set up a connection. However,
> I
> > am trying to add another table and need some more information with
> > connecting to the original data source
> >
>
Does anyone have any information about this?

I'm trying to modify a canned Epicor report in Crystal Reports. I was able to pull up the canned report in Crystal and set up a connection. However, I am trying to add another table and need some more information with connecting to the original data source

Have you talked to your Epicor CAM?  They usually have training guides (and online training courses) that are quite valuable to have as a resource and walk you through this very scenario.  What you’re inquiring about below isn’t a simple answer and you could easily go about doing it incorrectly and end up causing more damage than good.  I used to teach this class and it was a three-day class.  Working properly with and being thoroughly knowledgeable of BAQs, Crystal, Report Styles, etc. and how they all work with each other is invaluable and not as simple as you may perceive. 

 

What version of Epicor are you working with? 

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of clederer@...
Sent: Wednesday, November 06, 2013 11:40 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Updating a canned Epicor report in Crystal Reports

 

 

Does anyone have any information about this?

I'm trying to modify a canned Epicor report in Crystal Reports. I was able to pull up the canned report in Crystal and set up a connection. However, I am trying to add another table and need some more information with connecting to the original data source

Nice reply Vic.

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Vic Drecchio
Sent: Wednesday, November 06, 2013 12:23 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Updating a canned Epicor report in Crystal Reports

 

 

Have you talked to your Epicor CAM?  They usually have training guides (and online training courses) that are quite valuable to have as a resource and walk you through this very scenario.  What you’re inquiring about below isn’t a simple answer and you could easily go about doing it incorrectly and end up causing more damage than good.  I used to teach this class and it was a three-day class.  Working properly with and being thoroughly knowledgeable of BAQs, Crystal, Report Styles, etc. and how they all work with each other is invaluable and not as simple as you may perceive. 

 

What version of Epicor are you working with? 

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of clederer@...
Sent: Wednesday, November 06, 2013 11:40 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Updating a canned Epicor report in Crystal Reports

 

 

Does anyone have any information about this?

I'm trying to modify a canned Epicor report in Crystal Reports. I was able to pull up the canned report in Crystal and set up a connection. However, I am trying to add another table and need some more information with connecting to the original data source

702a, I have the training version of Epicor. I can start with that. Do you think Epicor support would be a viable option for this as well?


--- In vantage@yahoogroups.com, "Vic Drecchio" <vic.drecchio@...> wrote:
>
> Have you talked to your Epicor CAM? They usually have training guides (and
> online training courses) that are quite valuable to have as a resource and
> walk you through this very scenario. What you're inquiring about below
> isn't a simple answer and you could easily go about doing it incorrectly and
> end up causing more damage than good. I used to teach this class and it was
> a three-day class. Working properly with and being thoroughly knowledgeable
> of BAQs, Crystal, Report Styles, etc. and how they all work with each other
> is invaluable and not as simple as you may perceive.
>
>
>
> What version of Epicor are you working with?
>
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
> clederer@...
> Sent: Wednesday, November 06, 2013 11:40 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Updating a canned Epicor report in Crystal Reports
>
>
>
>
>
> Does anyone have any information about this?
>
> I'm trying to modify a canned Epicor report in Crystal Reports. I was able
> to pull up the canned report in Crystal and set up a connection. However, I
> am trying to add another table and need some more information with
> connecting to the original data source
>

No, Epicor Support won’t help you here.  You don’t need “support”; you need instruction.  You might find something on EpicWeb. 

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of clederer@...
Sent: Wednesday, November 06, 2013 2:08 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Updating a canned Epicor report in Crystal Reports

 

 

702a, I have the training version of Epicor. I can start with that. Do you think Epicor support would be a viable option for this as well?

--- In vantage@yahoogroups.com, "Vic Drecchio" <vic.drecchio@...> wrote:
>
> Have you talked to your Epicor CAM? They usually have training guides (and
> online training courses) that are quite valuable to have as a resource and
> walk you through this very scenario. What you're inquiring about below
> isn't a simple answer and you could easily go about doing it incorrectly and
> end up causing more damage than good. I used to teach this class and it was
> a three-day class. Working properly with and being thoroughly knowledgeable
> of BAQs, Crystal, Report Styles, etc. and how they all work with each other
> is invaluable and not as simple as you may perceive.
>
>
>
> What version of Epicor are you working with?
>
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
> clederer@...
> Sent: Wednesday, November 06, 2013 11:40 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Updating a canned Epicor report in Crystal Reports
>
>
>
>
>
> Does anyone have any information about this?
>
> I'm trying to modify a canned Epicor report in Crystal Reports. I was able
> to pull up the canned report in Crystal and set up a connection. However, I
> am trying to add another table and need some more information with
> connecting to the original data source
>

I'm not too familar iwth EpicWeb. Do you know where inside EpicWeb I should start looking?

--- In vantage@yahoogroups.com, "Vic Drecchio" <vic.drecchio@...> wrote:
>
> No, Epicor Support won't help you here. You don't need "support"; you need
> instruction. You might find something on EpicWeb.
>
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
> clederer@...
> Sent: Wednesday, November 06, 2013 2:08 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: Updating a canned Epicor report in Crystal Reports
>
>
>
>
>
> 702a, I have the training version of Epicor. I can start with that. Do you
> think Epicor support would be a viable option for this as well?
>
> --- In vantage@yahoogroups.com, "Vic Drecchio" <vic.drecchio@> wrote:
> >
> > Have you talked to your Epicor CAM? They usually have training guides (and
> > online training courses) that are quite valuable to have as a resource and
> > walk you through this very scenario. What you're inquiring about below
> > isn't a simple answer and you could easily go about doing it incorrectly
> and
> > end up causing more damage than good. I used to teach this class and it
> was
> > a three-day class. Working properly with and being thoroughly
> knowledgeable
> > of BAQs, Crystal, Report Styles, etc. and how they all work with each
> other
> > is invaluable and not as simple as you may perceive.
> >
> >
> >
> > What version of Epicor are you working with?
> >
> >
> >
> > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of
> > clederer@
> > Sent: Wednesday, November 06, 2013 11:40 AM
> > To: vantage@yahoogroups.com
> > Subject: [Vantage] Updating a canned Epicor report in Crystal Reports
> >
> >
> >
> >
> >
> > Does anyone have any information about this?
> >
> > I'm trying to modify a canned Epicor report in Crystal Reports. I was able
> > to pull up the canned report in Crystal and set up a connection. However,
> I
> > am trying to add another table and need some more information with
> > connecting to the original data source
> >
>