04-23-2013 04:37 AM - edited 03-18-2019 12:59 AM
Hi,
I need to find in which tmsng sql table the field in TMS/Settings/General/ "Description" is stored.
I need to use this text field as filter with objSystemCallLog and objSystem...
Thank you for your help,
Philippe
Solved! Go to Solution.
04-24-2013 04:11 AM
Hi Philippe,
The value of the "description" field is stored in dbo.field_SystemField.
Look for field_Field_Id = 938, it's the corresponding Id for "Description".
Hope that helps,
Thomas
04-24-2013 04:11 AM
Hi Philippe,
The value of the "description" field is stored in dbo.field_SystemField.
Look for field_Field_Id = 938, it's the corresponding Id for "Description".
Hope that helps,
Thomas
04-25-2013 03:12 AM
Hi Thomas,
Great, it works, thank you for your help.
Best regards,
Philippe
04-25-2013 04:38 AM
Hi Thomas,
The E164 number is also stored in the same table and in the same field (StrValue) with ID 121
If I want to add this data in my table, I have a problem as they are stored in the same field!
My SQL Query:
select objsystem.name,field_systemfield.strvalue,objSystemCallLog.RemoteSite,objSystemCallDirection.Description,objSystemCallProtocol.Description,objSystemCallLog.duration,cast(objSystemCallLog.time as varchar(11))
from objSystemCallLog
INNER JOIN field_systemfield ON objSystemCallLog.objsystem_Id = field_systemfield.objsystem_Id
INNER JOIN objsystem ON objSystemCallLog.objsystem_Id = objsystem.Id
INNER JOIN objSystemCallProtocol ON objSystemCallLog.objSystemCallProtocol_Id = objSystemCallProtocol.Id
INNER JOIN objSystemCallDirection ON objSystemCallLog.objSystemCallDirection_Id = objSystemCallDirection.Id
where field_field_id = 938 and objSystemCallLog.duration > 30000 ORDER BY objSystemCallLog.time
Do you have an idea to add this field to my table?
Thanks for your kind help,
Philippe
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide