Sage SalesLogix
  • Contact Us
  • Sage North America
800-643-6400
Welcome Twitter Facebook LinkedIn
Community Home Blogs Share Ideas Search Request Access Resources
Reply
Employee
mcessna
Posts: 319
Registered: 04-24-2009

Re: Mail Merge to Opportunity Fields

The select case statement forces the fields to upper case. VBScript was not case sensitive; JavaScript is.

 

Change:

 

case "Custom_Test":
    range.InsertAfter("my Test");
break;

 

To:

 

case "CUSTOM_TEST":
    range.InsertAfter("my Test");
break;

 

Thanks

 

Mike

Please use plain text.
Copper Elite Contributor
GCS
Posts: 35
Registered: 07-13-2010

Re: Mail Merge to Opportunity Fields

Thank you for your help! That's it!

Please use plain text.
Employee
mcessna
Posts: 319
Registered: 04-24-2009

Re: Mail Merge to Opportunity Fields

Glad to help.

 

Thanks

 

Mike

Please use plain text.
Bronze Elite Contributor
apfingstl
Posts: 900
Registered: 04-08-2009

Re: Mail Merge to Opportunity Fields

I edited the source script directly and not added my own one. I think this should not do the trick but this is what is different from your approach.

Maybe you can post the jscript function (from the compiled js file) so we may see the problem.

Alexander

 

Please use plain text.
Copper Elite Contributor
GCS
Posts: 35
Registered: 07-13-2010

Re: Mail Merge to Opportunity Fields

Hi Alexander,

 

spelling my Custom Fields with all uppercase letters solved my problem.

Thank you for your assistance anyway.

 

 

Please use plain text.