• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

Invoking JDE reports from thirparty Application using Java or Phython

How can I run JDE reports from thirparty Application using Java or Phython

I want to run JDE integrity reports or any other UBE from another application which is developed on Java
 

pintya@jde

Active Member
I dont know its feasible or correct ,i am just giving a try (not sure about it )
you may use java connector to call business function or ner from which can call required report .

code on oracle site to call bsfn is as:
import com.jdedwards.system.connector.dynamic.spec.source.BSFNSpecSource;
import com.jdedwards.system.connector.dynamic.spec.source.OneworldBSFNSpecSource;
import com.jdedwards.system.connector.dynamic.Connector;
import com.jdedwards.system.connector.dynamic.spec.source.*;
import com.jdedwards.system.connector.dynamic.spec.SpecFailureException;
import com.jdedwards.system.connector.dynamic.ServerFailureException;

... //Declare class
}
public void execMethod() throws SpecFailureException,ServerFailureException
{
BSFNSpecSource specSource = null;
int sessionID = Connector.getInstance().login("user", "pwd", "env","role");
//specSource = new OneWorldBSFNSpecSource(sessionID); Problem in this
line. World should be small
specSource = new OneworldBSFNSpecSource(sessionID);
// or specSource = new ImageBSFNSpecSource("SSI.xml");
//Step 2: Get BSFNMethod by name from specSource
BSFNMethod method = specSource.getBSFNMethod("GetEffectiveAddress");
String methodName = method.getName();
System.out.println("Method name is "+methodName);
BSFNParameter[] paraList = method.getParameters();

for (int i=0; i<paraList.length;i++)
{
BSFNParameter para = paraList;
String name=para.getName();
System.out.println("Name is "+name);
}
}
 
Top