Database view

priyanka1028
Tera Contributor

Hi Team,

 

I want to show the RITMs which are in open, pending and work-in-progress state but their related SC Tasks and Change Tasks both are closed using database view.

Please help me with this requirement.

8 REPLIES 8

Kieran Anson
Kilo Patron

What have you tried so far? How are RITMs being related to these other tasks? Is it via a many-to-many table or via a reference field?

I have created database view and added ritm,sc task and change table, But now I have a records where RITM is in like open,work in progress and pending state but related task like change and sc tasks all are closed.

I just want to know how can we add filter conditions.

You'd specify your filter condition on the where clause for the table. 

So if you had a table of 'sc_req_item' and a prefix of 'screq' then in the where clause you'd add 'screq_active = 1'

How can I add multiple conditions?