/build/static/layout/Breadcrumb_cap_w.png

How to link users to multiple assets

Hi,

I have setup some mobile assets such as Blackberry and 3G cards and a single user could have both of these assets plus others.

I require a report which shows all the assets associated to a certain user. Is this possible?

Thanks.

0 Comments   [ + ] Show comments

Answers (2)

Posted by: GillySpy 14 years ago
7th Degree Black Belt
0
you would probably have to write a custom query for this. How good is your SQL? Is there a field in each asset that relates to the user?

e.g. Let's pretend FIELD_1 is the column in the BB asset (asset type#10) that relates to the user. Let's pretend FIELD_2 (asset type #11) is the column in the 3G card asset that relates to the user. The query would be something like the following, but asset queries are unique on every kbox because the table data is like meta-data


select blah
from
USER
LEFT JOIN ASSET_DATA_11 D11 ON FIELD_2=USER.ID
LEFT JOIN ASSET A11 ON A11.ASSET_TYPE_ID=11 and A11.ASSET_DATA_ID=D11.ID
LEFT JOIN ASSET_DATA_10 D10 ON FIELD_1=USER.ID
LEFT JOIN ASSET A10 ON A10.ASSET_TYPE_ID=10 and A10.ASSET_DATA_ID=D10.ID
Posted by: Tetravaal 13 years ago
Senior Yellow Belt
0
Perhaps you already know about this, but while your figuring out SQL this could be a interim solution..

Go to assets, all assets.

Advanced search..

User - Contains = "UserName"



Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ