Modified vefn_CanTransitionBeCreated to allow transitions to a step with no applicability

This commit is contained in:
Rich 2014-02-13 02:57:45 +00:00
parent cdc4dcd66d
commit e0fbaa29f5

View File

@ -5540,7 +5540,7 @@ AS BEGIN
union
select * from vefn_SplitInt([dbo].[ve_GetItemDerivedApplicability](@toID),',')
) ah
if @tCount >= @uCount begin
if (@tCount = 0) or (@tCount >= @uCount) begin
set @rv = 1
end
return @rv