I'm sure this is easy but I've been banging my head on it for a while and can't come up with the proper solution,
I have two tables maintaining transaction records for items,
whscosthdr [whh_cdate,whh_username,whh_trans_no,whh_tsource,whh_from_loc,whh_to_loc,whh_pct_incr]
whscostdtl...