specified parentid logic chain in dbresult