Here "Bid" and "Bidlines" are related.
So "BidLines" table will have a foreign key "For_BidSerialno" (suppose) which is storing the Primary Key of "Bid", lets say "BidSerialNo".
On "Shot" , a global field can be created lets say "BidLine_global" .
A relationship between "Shot" and "BidLines" can be created .
Shot::BidLine_global = BidLines::For_BidSerialno
When detail button , on BID portal is clicked ,
a script can be called which will store the BidSerialNo in BidLine_global.
There by the BIDLines portal will display the related records of BidSerialno.