Fixed a bug for RO Usage Report where RO Usages were not found in Word attachment sections when RO values where selected to generate the report rather than a RO group.
This commit is contained in:
parent
2f26c7a5fb
commit
7284fd86f2
@ -2192,7 +2192,7 @@ join vefn_SplitROSearch(@ROSearchString) RR on case when len(RU.ROID) = 12 then
|
|||||||
union
|
union
|
||||||
select contentid, du.roid from DROusages DU
|
select contentid, du.roid from DROusages DU
|
||||||
join entries ee on DU.DOCID = EE.DOCID
|
join entries ee on DU.DOCID = EE.DOCID
|
||||||
join vefn_SplitROSearch(@ROSearchString) RR on DU.roid like RR.roid + '%') RRU on RRU.ContentID = I.ContentID
|
join vefn_SplitROSearch(@ROSearchString) RR on case when len(DU.ROID) = 12 then DU.ROID +'0000' else DU.ROID end like RR.roid + '%') RRU on RRU.ContentID = I.ContentID
|
||||||
AND
|
AND
|
||||||
((isnull(@StepTypeList,'') = '' and dbo.vefn_AllSections(C.Type)>=10000)
|
((isnull(@StepTypeList,'') = '' and dbo.vefn_AllSections(C.Type)>=10000)
|
||||||
or
|
or
|
||||||
|
Loading…
x
Reference in New Issue
Block a user