Skip to main content
1-Visitor
April 10, 2016
Solved

check promotion item

  • April 10, 2016
  • 4 replies
  • 1826 views

Hi,

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

Thanks!



Best answer by RandyJones

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()

4 replies

20-Turquoise
April 11, 2016

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()

16-Pearl
April 11, 2016

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

è吕1-VisitorAuthor
1-Visitor
April 12, 2016

Thank you.