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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! 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
19-Tanzanite
(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
19-Tanzanite
(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