Database view not showing specific fields

MJL_
Tera Contributor

Hi all,

I've created a database view and im seeing some strange behaviour maybe someone here knows whats going on. The database view is actually working fine but its not showing data in two fields that do have data on the acutal record.

The view consists out of three tables metric_instance/alm_hardware/sys_user . the metric is a duration metric on the assigned to field of the asset and the database view ties the tables together based on the metric ID and value / field_value.

From the alm_hardware table I want to see the display_name / install_state / substate / asset_tag and serial_number. The first 3 are showing just fine but the serial_number and asset_tag are blank in the database view.

Some extra info:

- the fields have been added to the view fields.

- i'm admin so I have the correct permisions.

- no issues with fields from the other tables or the other fields from the alm_hardware table.

- the actual records do containt data in those fields.

- i've tried removing and adding the fields etc.

The goal is that our IT staff can see what assets have been assigned to a user in the past and to what user an asset has been assigned to in the past.

Regards,

Matthijs

7 REPLIES 7

palanikumar
Mega Sage

Hi,

Please share the conditions used in the Join condition. Let me check and confirm

Thank you,

Palani

Thank you,
Palani

MJL_
Tera Contributor

Hey,

Tanks for your reply. Since the view is showing records and data from all those records I figured the joins were not the issue but here they are:

find_real_file.png

the sys_id is the id of the metric definition I need results from. Left join is not selected on any.

Regards,

Matthijs

KatherineSh
Tera Contributor

Hello,

 

Were you able to resolve your issue?  We are having a similar issue.  We are creating a database view and asset_tag & serial_number on the alm_hardware table are showing blank.

 

Thank you!

Bert_c1
Kilo Patron

@KatherineSh 

 

As an Admin, Enable Debug Security feature, and reproduce. Then check the debug out, search for 'RC = false' and see if your problem is due to any ACLs

 

AccessControlRulesDebug