How can I add the Customer_Country field to Aged Receivables report?

Hello,

I need to do one of 2 things (Either will work):

  1. I need to add a control to the Aged Receivables screen to give me all international customers.

  2. I need to pass the Customer_Country to the SSRS report so I can filter out all Customers who are in the USA.
    Maybe my thinking is skewed on number 2. That seems like it should be easy. Unfortunately, I have no idea how to get the field into the SSRS report.

I am looking at what I assume is the BAQ this report is built on (zHomepage_ARAgedReceivables) and the field is already there.

Any help is appreciated.

Other option to consider is to create a Quick Search to list all international customers and select it in the filter.

Can you tell me the steps on how to do that?

Steps are available in Epicor_ICTTools User Guide which can be downloaded from EpicWeb site.

Basically you need to copy the standard report and later modify it, you should never modify a standard report, always modify your own copies, it almost these steps to:

Copy Report Style:

  1. Go to System Management > Reporting > Report Style
  2. In Left panel > AR Aging Report > Report Style > Select Standar-SSRS
  3. Open ARAgng
  4. In Actions Menu clic on Copy Report Style and name it

Copy Report Data Definition

  1. Go to Report Style Maintenance > Styles > Style Detail > Detail
  2. Rigth clic on Data Definition (ARAgng) open with Report Data Defitinion
    3.- In Report Data Definition > Actions menu > Duplicate Report
    4.- In your own RDD clic on New > New Table and add Customer Table
    5.- In your own RDD clic on New > New Relationship and join the ARPNHead table with Customer
  3. In Data Sources > Report Table > Exclusions > Select the field that you want.

Assign your RDD copy to your Report Style copy.
Sync Dataset
Download and edit (add the new field) the .rdl file
Upload the .rdl file.

If you have Education Courses Licenced check this:
Epicor ERP Epicor SSRS Reporting > Modify System Reports > Workshop - Add a Table\Colum
If not:

Hi, We keep working to add Payment method as a new field in APAgng RDD. I have copied the existing RDD and name it as custom_APAgng and add the Vendor table then did the relationship with APDTLS as parent and vendor as child. Also that new field is added into rdl as well. But when i go to print preview it throws “Invalid column name PMUID and VendorID”. Please i need your help on this.

Perhaps ensure the fields used in relationships are not excluded in the RDD.

Yes. I’ve used only two fields VendorID and PMUID in vendor table. Relationship of achiebed through the Parent table, that is APDTLS and child table is Vendor are connected over the vendorID. Also i have unchecked the exclude column on vendor table for PMUID and VendorID column. I think here it is working. The problem is in RDL file on APDTLS dataset query throws the error like ‘invalid object name ‘Vendor’’. Please let me know i’m on correct way? here how to pull the PMUID that is in Vendor T2 table.

Did you alter the sql expression for that rdl dataset?

Yes. It shows invalid object name ‘Vendor + gui id’. So i get rid of gui id. here is the attachment for you reference, Thank you for the reply!

All tables need the underscore guid suffix in rdl just like it’s done for APDtls.

One big problem I see is that you didn’t add the GUID to Vendor when you added the table in the Dataset.

You want something like this:

FROM APDtls_" + Parameters!TableGuid.Value + " T1
LEFT OUTER JOIN Vendor_" + Parameters!TableGuid.Value + " T2
ON T1.[Calc_VendorID] = T2.[VendorID]"

Please verify I typed it out OK.

This should give you an idea on what is missing.

*Just edited to add the PLUS after Vendor_"

Now, I am getting this error:

Post a screenshot of your RDD where you created a relationship between the APDtls and the Vendor tables please.

Yes. Sure, Thank you very much for the reply!!

Is the custom report style set to use the custom rdd?

yes. Its a custom one which is copied from APAgng RDD.

Is there any problem in report location?

Hello,

I built this in my Pilot environment and it worked when I did this in the dataset onn the SSRS report:

FROM APDtls_" + Parameters!TableGuid.Value + " T1
LEFT OUTER JOIN Vendor_" + Parameters!TableGuid.Value + " T2
ON T1.Calc_VendorID = T2.VendorID"

Please copy this and paste over the section you have.

Let me know if you get a different error.

Thanks! I copied the same code but no luck. Same error!! In ssrs (.rdl file), Is it required to add the Vendor table to the datasets?