Expand my Community achievements bar.

SOLVED

How to call a specific method

Avatar

Level 3

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!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

This should work.

nms.delivey.CleanupDeliveries(<identifier>);

Regards,

Deb

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi,

This should work.

nms.delivey.CleanupDeliveries(<identifier>);

Regards,

Deb