cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any query to get document types where particular html form is set as E form for those document types using OB configuration?

Pravin_Shelar
Champ on-the-rise
Champ on-the-rise

Hi,

I do have name of the Html E-Form and I'm trying to write a SQL query to get the document types where that html form is configured as E-Form using onbase configuration (E Form options for document type window). 

Any help would be much appreciated.

Thanks.

1 ACCEPTED ANSWER

Connor_Marment1
Confirmed Champ
Confirmed Champ

Something like this should work. Replace the '12345678' in the WHERE clause to reflect the document handle of the E-form you want to lookup. 

SELECT ef.itemtypenum, dt.itemtypename

FROM hsi.dtelectronicform ef

INNER JOIN hsi.doctype dt ON dt.itemtypenum = ef.itemtypenum

WHERE ef.formitemnum = '12345678'

View answer in original post

3 REPLIES 3

Connor_Marment1
Confirmed Champ
Confirmed Champ

Something like this should work. Replace the '12345678' in the WHERE clause to reflect the document handle of the E-form you want to lookup. 

SELECT ef.itemtypenum, dt.itemtypename

FROM hsi.dtelectronicform ef

INNER JOIN hsi.doctype dt ON dt.itemtypenum = ef.itemtypenum

WHERE ef.formitemnum = '12345678'

Awesome, Thanks Connor!

Nice - Thank you.