RDD added JobOper not pulling data into report dataset

Have a request to add on the SO PickList to put an alert “SubAsmbly” on the print out for jobs that have sub assemblies. I’ve copied the RDD, the base includes JobProd so I added JobOper as a child (
JobProd-to-JobOper on fields Company & JobNum). I ensured all relationship fields are included in the RDD export plus SysRow and SysRev. Still no data from JobOper is exported into the report dataset. I’ve modified RDDs for years and even tried a new RDD from the base.

Any clues why JobOper isn’t exporting?

Did you modify the SSRS report to add the fields you need to the dataset query def?

I’ve never used SysRow or SysRev in a join. Why situations warrant that?

check the relationship fields in JobOper, i had a problem in one of my development because JobOper.PartNum and RevesionNum were blank in some records.

Not even to that point when the SSRS database doesn’t contain any data exported for the report. This report however, is one of our remaining Crystal, so the XML export doesn’t contain any data from JobOper just the definition at the top of the file. SysRow and SysRev are not part of the join, Compaany and JobNum are the two relation ship fields. They are included, set to unchecked on the Excludes tab.

fixed

I’ll have to check, but my BAQ of the example sales order is working. Thanks for the lead!

Still not sure why you have the SysRow and SysRev fields in the relationship. Thought they were only for referencing UD fields (the “… _c” kind).

Also, double check the “Definition” vs “Output” of the relationship

Pictures should help clarify the situation.

Relation between JobProd and JobOper:

SysRevID and SysRowID are set to true (show up in the exported dataset) because Epicor has a habit of NOT exporting if these fields are set to exclude. That happened in the SSRS report I modified yesterday in fact.

My apologies for asking the obvious: have you viewed the job and seen the demand link (JobProd record) listed there? And confirmed that the job has operations?

Okay, mis-understood your refenece of the SysRow and SysRev.

I too have been burned by hiding a field I didn’t need, but was required for the relationship.

This is for a BAQ Report?

Your tree has “Data Source”
image

Mine shows “Report Table”
image

If its a baq report, why not update the BAQ?

Calvin, I think it’s how 10.2 displays the RDDs, it was odd for me at first too. This is a copy of the stock SOPick RDD and the only changes is adding JobOper and the relationship pictured before. It’s not a BAQ Report, in our case it’s a Crystal report but as the RDD isn’t exporting the data, SSRS would have the same problem.

Monty, I have a BAQ that I verified the relationships between JobProd and JobOper.

Why is the Key: ExternalPrimaryKey?

It’s the only Key listed, I have rebuilt that relationship many times both with and without that key without success.

Just out of curiosity, have you tried recreating the RDD from scratch, laborious as it seems, it may save a bit of hassle. It could be something as simple a messed up XML, sort of like how sometimes you end up with orphaned properties in a customization.

Or did I just miss a post where you said you did that?

I just tried to duplicate it in E10.1.400.23 and get the same thing. The only Key field for JobProd seems to be the “ExternalPrimaryKey”

1 Like

@Randy - any chance the reference of “JobProd” in the RDD is a dataset that is calculated at run-time, and not the actual JobProd DB table? That could explain why the key doesn refer to any of the JobProd table’s indexes.

Edit: answering my own question …

Looks like it is the DB table, but the table’s primary index isn’t relatable to other tables

image

I rarely see the following as a suggested solution - so there must be something “bad” about doing it.

What about making a sub-report that uses a dataset independent of the RDD, and just use data from the RDD’s dataset to pass as params to the sub-report?

I’ll try a few things later, thanks for giving me some ideas @Hally, @ckrusen, and @MontyMan

Resolution was found by my coworker; Join JobOper on just Company field. Then use a subreport inside the Crystal to filter to the job#.

1 Like