Delivery Calculated by a script



Hi All

I am trying to create a simple delivery trough workflow with option Calculated by a script1827951_pastedImage_6.png

I fond some script here on forum and tried to implement it but receiving an error.

My script:

Where DMxxx is a InternalName of a delivery template created in this purposes.

When try to execute I receive an error :


I need your help to figure this out. And also where can I find some more JS scripts examples?

Answers (3)

Answers (3)