Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2756

Re: how B1 passes value of parameter to CrystalReport

$
0
0

Thank You, but in this thread it is not so clear to immediate understanding...I will try to play based on the info from the thread which You posted.

 

from this card 'Sales Opportunity' I want to create a report which will shows for current active name/customer all my selected records

and the first what should be on the report is Opportunity Name and in database it is OOPR.Name

SalesOpportunity.png

 

in official brochure stay:
"The DocKey@ token is mandatory in an SAP Crystal Reports .rpt file that you want to use as a layout. The DocKey@ token is used to identify the current active document. SAP Business One populates its value when you preview or print a layout."

 

 

procedure)

table where is card Sales Opportunity has name OOPR and primary key is there OpprId

Based on this I have created a command contains SQL query with the magic parameter 'DocKey@'

CrystalReport-1.png

during the completion this procedure I am asked to pass parameter DocKey@ ...ok I put there first record '1'

CrystalReport-2.png

next step is displayed a map and here I try to check what value has been selected

CrystalReport-3.pngCrystalReport-4.png

here I see, that the value is right..it looks I am on a good way


but in last step when I have added into layout my command 'Name' and have tried to see result...I get empty output...nothing is displayed bellow Name

CrystalReport-5.png

can anybody give me some hint, what I do wrongly?


Thanks Zdenek


Viewing all articles
Browse latest Browse all 2756

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>