How to call a specific method | Community
Skip to main content
maurizio_coro
Level 3
Dec 4, 2018 10:41 AM UTC
Solved

How to call a specific method

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
DebTrAccepted solution
Level 6
Dec 6, 2018 2:50 PM UTC

Hi,

This should work.

nms.delivey.CleanupDeliveries(<identifier>);

Regards,

Deb

2 replies

maurizio_coro
Level 3
Dec 6, 2018 3:06 PM UTC

Brilliant, Deb: you're a star!

Translate
DebTrAccepted solution
Level 6
Dec 6, 2018 2:50 PM UTC

Hi,

This should work.

nms.delivey.CleanupDeliveries(<identifier>);

Regards,

Deb

Translate