Skip to Content
Former Member
Mar 30, 2011 at 01:59 PM

Crystal Reports, getting started with B1 Addon


I know Business One and I know Crystal, but I just can't get going with the two together. I've got the 'How to work with CR in SB1' doc. It doesn't answer this question.

Here's the very basic thing I want to do that I can't do: add a new field to the CR Sales Order and preview it.

From Report and Layout Manager, I chose Edit the AR Sales Order. Crystal Reports opens. I make my change. I hit Addins >> SAP Business One >> Preview in SAP Business One. I get a Selection Criteria input box looking for three parameters. The first 2 are not labelled, the third is labelled Pm-@curPosition. I assume the first parameter is for DocKey, the second for ObjectID. I have no idea what Pm-@curPosition is looking for, and nothing I enter lets me preview a report.

If I want to preview the Sales Order whose ORDR.DocEntry = 7, what do I enter? I would think that DocKey expects ORDR.DocEntry, and ObjectID expects 17, the ORDR.ObjType constant.