Sub object gives same result on every line

Stimulsoft Reports.JS discussion
Post Reply
terje.pedersen
Posts: 80
Joined: Thu Aug 18, 2016 7:29 am

Sub object gives same result on every line

Post by terje.pedersen »

Latest version: JS_2016.12.24

DataSource: CustomerInvoice_Items
Text: CustomerInvoice_Items_Product.PartName
partname.png
partname.png (11.16 KiB) Viewed 1885 times
Simplified data for the Items:

Code: Select all

    "Items": [
      {
        "ItemText": "En vare med langt varenr",
        "ProductID": 1,
        "Product": {
          "ID": 1,
          "PartName": "Med-Langt-Produkt-Nr",
        },
      },
      {
        "ItemText": "T",
        "ProductID": 2,
        "Product": {
          "ID": 2,
          "PartName": "T",
        },
      }
  ]
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Sub object gives same result on every line

Post by Alex K. »

Hello,

We couldn't reproduce this bug.
Please send your report for analysis.

Also, please try to set master component and relation for the detail band.

Thank you.
terje.pedersen
Posts: 80
Joined: Thu Aug 18, 2016 7:29 am

Re: Sub object gives same result on every line

Post by terje.pedersen »

Needed to add a relation manually to get it working. We are using the JSON data source. Thanks for looking at it.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Sub object gives same result on every line

Post by Alex K. »

Hello

Ok.
Please let us know if you need any additional help.

Thank you.
Post Reply