add list functions to stock detail page for stock relations.