Asandova
19th February 2019, 16:27
Hi , I have succesfully configured SSRS and Infor Ln in order to design my reports in BIDS.

I'm currently designing an Purchase Order report, and most of the fields are showing their value correctly, but there is this particular variable that is calculated in the before.layout section, wich shows it's value correctly if I print it via Display device.

However, no matter what, when I print it with SSRS ( (designer mode/xml file) or view directly to the report server), this variable has a blank value. I have tried to declare this variable as external, and I event put it as a report input field. I tried to print before and after the Display Device, all to no avail.

Do you have any suggestion? (The variable is "impuestos")

Code :
after.orco.9:
before.layout:
otbp.pur4401 = tdpur400.otbp
tax.exempt.pur4401 = true

tdpur.dll0032.calculate.report.totals( |#860-TAX.sn
tdpur400.cofc,
tdpur400.fdpt,
tdpur400.ccur,
tdpur400.ratp,
tdpur400.ratf,
tdpur400.ratt,
tdpur400.otbp,
tdpur400.otad) |#860-TAX.en


|* hold.cvat.totl is used in report but gets value from tcmcs.dll0160
Impuestos = hold.cvat.totl



Tl;dr : I can get any table value ( p.e : tdpur400_oamt, tdpur400_odat). But I can't obtain values from input fields/variables that are not part of the main entity.