Showing results for 
Search instead for 
Did you mean: 

How to get Set OrderEntryRAO from RuleActionContext context which has a product in a container.

0 Kudos

Hi everyone,

I have a rule promotion that allows user to set a container. (Ex: container A. which has Qualifying Product "X").

Currently, I would like to get Set<OrderEntryRAO> to loop it and get the quantity of each entry then calculate my business.

I tried the way in method performActionInternal, I did Set<OrderEntryRAO> orderEntries = context.getValues(OrderEntryRAO.class). But it returns 0.

Can someone help me? Thanks a lot.

Accepted Solutions (0)

Answers (0)