Wondering if anyone has successfully called the Documents form?
It won’t launch as a standalone form from a menu item
and I’m not having any luck with ProcessCaller.LaunchForm.
Guessing it wants specific LaunchFormOptions ?
Ref. part of a trace from the “Documents” button on the MES Start Activity form…
businessObject Erp.Proxy.BO.DrawingsImpl
methodName GetJobDocsTableName
returnType System.Void
threadID 1
parameters
parameter name=“ip_JobNum” type=“System.String”><![CDATA[2117]]
parameter name=“ip_AssemblySeq” type=“System.Int32”><![CDATA[0]]
parameter name=“ip_OprSeq” type=“System.Int32”><![CDATA[10]]
parameter name=“op_TableName” type=“System.String”><![CDATA[]]
parameter name=“CallContext” type=“Ice.Bpm.Context.ContextDataSet”
According to my wonderful decompiler, here is how it is called from that form. I note the call you are seeing in the trace. I also see where the RelatedToFile (aka param #2 aka opTable returned from the GetJobDocs table) must be “JobOper”…at least in this case