Is it possible to create product list price on ProductBO object? I know how to do it with ProductPO:
productPriceMgr.createProductListPrice(product, new Money("EUR", BigDecimal.ZERO));
But I can't find equivalent with Product business object.
Thank you for your help!
Although i'm not 100% sure, i don't think it's possible to create a list price on a ProductBO object. Looking at the default ISH pipelets it seems like all the list price modifications are done on ProductPO objects and never on ProductBO objects.
As a workaround you could convert your ProductBO to a ProductPO with this generic conversion method:
public <T extends PersistentObject> T convertBOToPersistentObject(BusinessObject bo)
{
return bo.getExtension(PersistentObjectBOExtension.class).getPersistentObject();
}