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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Translate the entire conversation x

check promotion item

è吕
3-Newcomer

check promotion item

Hi,

How do I check if the promotion target is in the other promotion notice by using the code ?

Thanks!



ACCEPTED SOLUTION

Accepted Solutions
RandyJones
20-Turquoise
(To:è吕)

maohui lv wrote:

Hi,

How do I check if the promotion target is in the other promotion notice by using the code ?

Thanks!



You can use this:

MaturityHelper.service.getPromotionNotices()

View solution in original post

4 REPLIES 4
RandyJones
20-Turquoise
(To:è吕)

maohui lv wrote:

Hi,

How do I check if the promotion target is in the other promotion notice by using the code ?

Thanks!



You can use this:

MaturityHelper.service.getPromotionNotices()

You can use wt.maturity.MaturityHelper.service.getPromotionTargets() to get the target objects and then as mentioned in the above response you can find related promotions notices using MaturityHelper.service.getPromotionNotices()

Regards,

Bhushan

Thank you.

it works,thank you.

Announcements
Top Tags