Hi,
Another approach ... starting from files of price list from the vendor
from another side we created an external table/window(infowindow where we upload all external price list ( from xls,csv... ) from different vendor so you can upload a lot of product without loadin in the final product table
Example
Internal Code ExternalCode Barcode Description Vendor VendorPrice Minqty
123 V1abc 777777 samsung s7 mediaworld 99 € 1
Internal Code ExternalCode Barcode Description Vendor VendorPrice Minqty
123 V2zzz 777777 samsung s7 amazon 109 € 1
So you can view filter and select from : product and check the best price
then you can run a process to import the product in the real product table
if select both code you will have the same product with 2 record in the purchase with vendor info and the 2 prices
This is good to avoid to load a lot of code but is flexible to be able to compare price directly into idempiere
Something more close to your needs ?
Marco