Passing LaunchFormOptions with a concatenated key

I want to be able to pass concatenated key parameters to several different UI Forms (such as CRMCall and UDxx). For a simple form like Customer Entry, I can pass a value in without any issues.

I want to mimic this:

CRMCallImpl, GetRows:

(RelatedToFile = ‘customer’ AND Key1 = ‘2357’ AND Key2 = ‘’ AND Key3 = ‘’)

I keep getting an error:

Error accessing the database: Incorrect syntax near ‘)’.

(Trace of form working)

Code:

Error:

I had no idea you could pass parameters this way! Is the any documentation or tips you could offer?

LFO is documented in the customization guide (somewhat)

I must of skipped over the section where I could pass objects like the
dictionary. Very neat (and clean)

ValueIn is an object, you can pass anything with that. Only issue is having someone on the other side looking for it

Ah I’m such a dodo. I was thinking that Epicor internally processed that object :cry:

hehe that’s cute, they process some VERY specific ones (that’s how Open With works)

I could not get the .LaunchForm to work, but was able to use the .LaunchCallBackForm and that had worked. Below is the code that was able to launch CRM Call Log correctly with the key fields:

1 Like

When CallBackForm is used, does it show as Modal? If not, what happens if you close the calling window before the CallBackForm?