Function Error Issue

I am using the solution from here: Add File to Line Comments in PO Entry - Kinetic ERP - Epicor User Help Forum to add a file to a comment field. I am using this function in several places. However today, I am trying to add it to the Sales Order Comments, on the first field OrderHed.OrderComment.

I am getting Error Function on my Event. In Dev Tools I can see this:


Noting the toLower error.

Here is my event as laid out in Sales Order Entry: (Note: I use the same layout for my event in Job and PO Entry. It work well in those places.)



Here are the innards of the function:


This same exact function works perfectly on other forms (Job Entry, PO Entry). Is there something special about Order Entry that is preventing this from working?

What else can I show to help diagnose this?

Thank you for your time!
Nate

1 Like

The solution was to recreate my function widget in the event. From post 13:
Add File to Line Comments in PO Entry - Kinetic ERP - Epicor User Help Forum

If you ever click Dataset, you just ruined that widget. Delete it and start over.
Ugghh. Why… just why?

7 Likes