Documents form - LaunchFormOptions?

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”

image

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

                string text2 = this.startView.dataView[0]["JobNum"].ToString();
				int ipAssemblySeq = Convert.ToInt32(this.startView.dataView[0]["AssemblySeq"]);
				int ipOprSeq = Convert.ToInt32(this.startView.dataView[0]["OprSeq"]);
				string text3 = "";
				this.drawingsAdapter.GetJobDocsTableName(text2, ipAssemblySeq, ipOprSeq, out text3);
				if (text3 == "JobOper")
				{
					DrawingsArgs.Start(this, text3, text2, ipAssemblySeq.ToString(), ipOprSeq.ToString(), "", "", "", "", "", "", "", "", true);
					return;
				}

Thanks!

for the kindness of others…
decompiling, reflection, explaining et. al.

1 Like

Chris,

Can you please explain the DrawingsArgs.Start Line?

This is literally all I know:

Actually I take that back: