Hi,
very easy is setting up the COM-interface (I myself have much problems settng it up for java, java-examples still do not work). The interfaces are described in JD Edwards EnterpriseOne Tools 8.96 Connectors Guide (e1_tools896tcn-b_0406.pdf). Be sure to create a jdeinterop.ini as described. I suggest to create and use a command - file. However I had only one Problem:
When calling the BSFN I had to use ow.ExecuteBSFN("BSFNName", lSessionId, dsObject, conn)
instead of BSFNModuleObject.BSFNName(dsObject, ow, conn, lSessionId), but this may be caused by incorrect ini-settings (they seem to be the even the reason for my java-Problems).
At least an vb.net example how I login:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ListBox1.Items.Clear()
TextBox1.Text = "Y"
Try
lSessionId = conn.Login("DEMO", "DEMO", "DEMO812")
ow = conn.CreateBusinessObject("OneWorld.FunctionHelper.1", lSessionId)
Catch ex As Exception
MsgBox(ex.Message)
End
End Try
End Sub
Regards,
Carsten