How to call a specific method | Community
Skip to main content
maurizio_coro
Level 3
December 4, 2018
Solved

How to call a specific method

  • December 4, 2018
  • 2 replies
  • 3270 views

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.
Best answer by DebTr

Hi,

This should work.

nms.delivey.CleanupDeliveries(<identifier>);

Regards,

Deb

2 replies

DebTrAccepted solution
Level 6
December 6, 2018

Hi,

This should work.

nms.delivey.CleanupDeliveries(<identifier>);

Regards,

Deb

maurizio_coro
Level 3
December 6, 2018

Brilliant, Deb: you're a star!