How to call a specific method

Avatar

Avatar

maurizio_coro

Avatar

maurizio_coro

maurizio_coro

04-12-2018

Hello, this is a very basic question.

I see in the nsm:delivery data schema there's a method to delete the deliveries called CleanupDeliveries

CleanupDeliveries (
String       deliveryId
)

But, how can I call it from a js page? I mean: what's the proper code to all it? I already have the list of IDs in a variable.

Thanks a lot!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Debabrata_T

Avatar

Debabrata_T

Debabrata_T

06-12-2018

Hi,

This should work.

nms.delivey.CleanupDeliveries(<identifier>);

Regards,

Deb

Answers (1)

Answers (1)

Avatar

Avatar

maurizio_coro

Avatar

maurizio_coro

maurizio_coro

06-12-2018

Brilliant, Deb: you're a star!