Parent Record Dependancy
-
- Investor
- Posts: 417
- Joined: 19 Dec 2018, 02:33
- Name: Robert McDonald
- Location: Auckland, New Zealand
- Company Name: Unicloud
- Contact:
Parent Record Dependancy
When using Entity drop-down list (ajax) we are trying to ensure that the only items that display are from the same parent or higher level parent entity, but whenever we put conditions in the mysql field (even bringing the ID of the parent records through to be able to match using fields) we get an empty list.
- support
- Site Admin
- Posts: 6231
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: Parent Record Dependancy
Not clear. Please provide entites structure and condition that you are using.
-
- Investor
- Posts: 417
- Joined: 19 Dec 2018, 02:33
- Name: Robert McDonald
- Location: Auckland, New Zealand
- Company Name: Unicloud
- Contact:
Re: Parent Record Dependancy
Hard to provide the example as we have tried many things.
If you use the entity ajax field with no condition it will show us ALL items in the entity however both the entity where the field with the condition is and the entity we are linking too are sub entities and we want the ajax field to have a condition that only shows records that have the same parent.
e.parent_id = parent_id or similar ?
If you use the entity ajax field with no condition it will show us ALL items in the entity however both the entity where the field with the condition is and the entity we are linking too are sub entities and we want the ajax field to have a condition that only shows records that have the same parent.
e.parent_id = parent_id or similar ?
- support
- Site Admin
- Posts: 6231
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: Parent Record Dependancy
Try e.parent_item_id=xxx
-
- Investor
- Posts: 417
- Joined: 19 Dec 2018, 02:33
- Name: Robert McDonald
- Location: Auckland, New Zealand
- Company Name: Unicloud
- Contact:
Re: Parent Record Dependancy
just cant seem to get that to work , the list is empty when we put the condition in
- support
- Site Admin
- Posts: 6231
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: Parent Record Dependancy
Show me your condition.