Page 1 of 1

Sub object gives same result on every line

Posted: Thu Dec 29, 2016 10:43 am
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 1888 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",
        },
      }
  ]

Re: Sub object gives same result on every line

Posted: Thu Dec 29, 2016 8:08 pm
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.

Re: Sub object gives same result on every line

Posted: Mon Jan 02, 2017 10:35 am
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.

Re: Sub object gives same result on every line

Posted: Tue Jan 03, 2017 1:26 pm
by Alex K.
Hello

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

Thank you.