Multiple records in the related lists.

Alok21
Giga Expert

Hi,

On my custom table(Relocation request) form, I have a related list showing records that are created from UI action 'Create Incident'. I created below defined related list with below details. However when there are multiple records mapped to a single record in my custom table, multiple records in the related list should get highlighted, currently only one record is highlighted. 

i have attached the details for reference.

Name: Incident in Relocation request
Applies to Table: Relocation request
Queries from table: Incident
Query with:
current.addQuery('sys_id', parent.u_incident);

Can anyone advise how this functionality can be fixed?

Regards,

Alok

 

1 ACCEPTED SOLUTION

there is no need to write a script for that, all you have to do is create one reference field in incident and add that relation ship in your custom table

View solution in original post

17 REPLIES 17

You should be able to see an entry like "M2m Incidents relocation -> Incident" => Select this entry and shuttle it to the right bucket -> Click Save button below slush bucket. It will take you back to the incident form

Hi Akhil,

I checked and not able to see any entry like "M2m Incidents relocation -> Incident".

When i delete the record that i created from table "sys_m2m", after that i can see the entry in related lists configuration.

Am I missing something here?

Regards,

Alok

And also did you have any relation between your Relocation request table and incident ? If yes, you should be able to see an entry like "Incident-->Relocation request" => Select this entry and shuttle it to the right bucket -> Click Save button below slush bucket. It will take you back to the incident form

Hi Akhil,

Yes, i have already created relation between Relocation request table and incident and i can see the entry in related list configuration. However this entry is only showing single record even though i created multiple incident from single relocation record.

Regards,

Alok

Did you have Relocation filed(Reference field) in incident table ?