Access CustomFields in Fees Calculation

Any issue about Cyclos 4 scripting and Webservices

Moderators: hugo, alexandre, rmvanarkel

Post Reply
Posts: 1
Joined: Mon Feb 20, 2017 1:46 pm

Access CustomFields in Fees Calculation

Post by aashu95 » Mon Feb 20, 2017 2:28 pm

Code: Select all

def name = transfer.customValues.find { v -> v.field.internalName.equals('name')}?.stringValue
if(name == "abc"){
return 20;
i am only sending one field type is String, and internalName = name
When i tried above code it give exception CustomScriptException
need Help!

Post Reply