Main Region

Master/Detail - no automatic selection of detail
1 answer | 268 views

CH
Jun 22, 2016 13:44 +00:00

Hello

I tried your new Master/Detail functionality like shown in the Documentation. When I select one row in the grid the detail in the form is not refreshed.

I created a test case. See application 246, Page 1. We use Foex 2.2 with the latest Hotfix

Kind regards, Christian

3 comments

CH
Christian86 Jun 22, 2016 13:46 +00:00 

We also use APEX 5

Profile Image
FOEX Support Jun 22, 2016 14:01 +00:00 

For the test case provided there is no data in your POS table and you have to select the "FOEX Grid - Before Render" Event.
We changed the DA in your test case.

Profile Image
FOEX Support Jun 23, 2016 11:54 +00:00 

The foreign key(s) in the detail grid will be automatically set. The primary key still needs to be set by a trigger or a computation.

CH
Jun 23, 2016 11:27 +00:00

Ok this works for me now. One last Question. If I select an row in the grid, where no Data exists in the Detail, is it possible with an option to fill the Primary Key items automatically. Or do I have to do this manually with an trigger?

0 comments

You must log in or sign up to post questions and answers.