smusba
21st November 2016, 13:57
Dear,
I want to call/refer a report field from Report (tdsfl7433m000) in a different report called(tdsfl7452m000).
Is there anyway to do it?
mark_h
21st November 2016, 15:42
Not sure I get what you are asking. The session scripts send the report fields to the reports. So what is available on the two reports could vary. Are these two reports generated by the same session script? If not, then maybe more details on what you are trying to do. Maybe what the field is you are looking for.
smusba
21st November 2016, 16:42
I will have customize report say Sales report in this report I want to call a field (pur_qty) from Purchase Report by calling this field through function that will run Purchase report and get the value from the of variable (pur_qty)
mark_h
21st November 2016, 18:30
Considering you are on LN there is probably a better way to do this, but in 4c4 if I had to do something like that then I would just write a little function to run the other report to a file and get it from there. Or I would take the code from the other session and include it in the new session or report. I have usually does it this way - just add what I need to the new session/report. Of course not always so easy when you do not have source code.
smusba
22nd November 2016, 07:11
Can you share a function source code for this issue.
mark_h
22nd November 2016, 20:27
Since I am on 4c4 anything I have might not be relevant to this specific situation. But I have several libraries where I run reports to disk. Reading them is something different. Not really sure what exactly I could post to help. You can see a lot of my AFS code in the other forum.