Hello FS Team,

we got an interesting issue in our Master-detail POC:

we have 2 blocks in the form which have Master-Detail relation. Each block is a "form" input (not a grid view). Also we have a "filter" button which works with the Master block using action which points to api_datasource.setFilterWhereClause. When we press the button it fires "the current row changed" trigger where there is such a code (for example): v_pers_id := api_datasource.getColumnValueNR('SB_PERS1.PERS_ID'); api_datasource.setBindvar('SB_RTIP1.pers_id', v_pers_id); api_datasource.executeQuery('SB_RTIP1');

first line of this code tries to gather the current row of the Master block but fails with error: "DS has no current row".

But if we add another panel for Master block which has "grid" element in xml layout everything works fine.

So basically: there is an error in master-detail in form layout, then we add additional master block with grid layout (we don't show it on form and it is not related to anything) and there is no error after that.

As we found the solution for this issue it is not critical but anyway it seems to be a bug so I thought it would be worth to mention.

Thanks

asked 26 Jul '13, 08:51

anatoly4u's gravatar image

anatoly4u
6918
accept rate: 0%

edited 26 Jul '13, 08:52


Hi Anatoly,

Thanks for the feedback, this is a bug. We'll fix issue this in the upcoming releases.

Regards,
Ibrahim

link

answered 26 Jul '13, 09:29

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

Hi Ibrahim,

we now have the same problem, setting the filter on a datasource without exceuting the querry again. Are there some news regarding this bug?

Kind Regards,

Michael

link

answered 05 Jun '14, 04:35

Michael's gravatar image

Michael
2095
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×7
×1

Asked: 26 Jul '13, 08:51

Seen: 1,306 times

Last updated: 05 Jun '14, 04:35


© Copyright Gerger 2017