Skip to main content
1-Visitor
Apr 10, 2016 3:39 PM UTC
Solved

check promotion item

Hi,

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

Thanks!



20-Turquoise
Apr 11, 2016 2:03 PM UTC

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
Apr 11, 2016 2:03 PM UTC

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

Translate
16-Pearl
Apr 11, 2016 3:22 PM UTC

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

Translate
è吕1-VisitorAuthor
1-Visitor
Apr 12, 2016 5:46 AM UTC

Thank you.

Translate