cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Best approach to filter out prices of products that are not in Hybris using datahub

Former Member
0 Likes
388

Hi All,

Before replicating price IDoc COND_A through datahub I want to filter out the product which are not their in hybris ,so that price will get replicate for product which are present in hybris only.

I can send all the product which are present in hybris to datahub through cronjob, but then what process need to follow to in datahub to filter products?

Regards, Rasika

Accepted Solutions (0)

Answers (1)

Answers (1)

VinayKumarS
Active Contributor
0 Likes

As per my knowledge there are multiple ways we can achieve this.

1) I hope the products are coming via datahub.

2) So you have the products info in the datahub database.

3) we can check the product existence in the datahub before we process the price idoc.

But writing the business logic in datahub is not a feasible solution.

the Second approach. If the product is not available and price reached to hybris. Then move them into the Default catalog. Implement the clean up job to remove them after some duration ( may be couple of days)

Thank you.