Show last sold price in orderfield

Hello,

we have alot of different items ± 40K with alot of customers,
now i would like to add a last sold price field in the orders lines (product lines)

so it should show
1 line = product name + ref

  • last time sold for = 0,20 each (as example) for this specific customer.
    2 line = product name + ref
  • last time sold for = 38.10 each (as example) for this specific customer.

i think it should be possible using the extrafield but i have knowlage of this coding. could some help me with this?

hope it’s clear what i would like to add, think it also might be usefull for other doliusers.