Adding UNION Dataset on EXISTING INTERFACE using SDK
hi
i am facing issue while adding UNION dataset and Mappings on Existing interface using ODI SDK.
if anyone done before, please tell me how to do it.
i am getting Unique constraint error.
thanks
nidhi
Hi Michael Rainey, Unique constraint error was solved, but i am getting some other issue, here is the detail.
i am trying to a add new Dataset(for Union Operation) using ODI SDK on existing Interface.
Scenario:
Dataset1 :
Source DataStore : W_PLM_LISTENTRY_PS
Column Name : ENTRYVALUE , ENTRY_ID
Filter : id=1000
Dataset 2:
Source DataStore : W_PLM_LISTENTRY_PS
Column Name : ENTRYVALUE, ENTRY_ID
Filter : id=2000
Target DataStore(Temporary):
Coloumns : Name , ENTRY_ID
Mapping between DataSet1 and Target Data Store already done in the Interface.
Now I have to add new DataSet as “Dataset2” with UNION Operator and do the mapping in to the same interface through ODI SDK.
Issue:
I have give the ODI SDK code for the below, while running that I am getting following error
Exception in thread "main" java.lang.IllegalArgumentException: Object must not be null
while debugging I found that error occur exactly when the following code was running.
interactiveHelper.performAction(new InterfaceActionOnTargetMappingSetSql("NAME","W_PLM_LISTENTRY_PS.ENTRYVALUE",newDataSet));
Already mentioned that I am using Temporary Target datastore, so changed the target column name as "ENTRYVALUE" instead of “NAME” and modified java code like
interactiveHelper.performAction(new InterfaceActionOnTargetMappingSetSql("ENTRYVALUE","W_PLM_LISTENTRY_PS.ENTRYVALUE",newDataSet));
after this change it working well.
So, it seems when ever target datastore column name not equal to source data store column name I am getting this error.
Is it a bug? or am I doing anything wrong? please let me know.
Thanks
nidhi
Code:
OdiInstance odiInstance = odiInstanceHandle.getOdiInstance();
ITransactionStatus trans = odiInstance.getTransactionManager().getTransaction(new DefaultTransactionDefinition());
String prdLineSQSILDimInterface="SIL_PLM_InternalOraganizationDimension.W_PLM_INT_ORGANIZATION_D_SQ_INT_ORG";
String sourceDataStore="W_PLM_LISTENTRY_PS";
Collection<OdiInterface> odiInterfaces = ((IOdiInterfaceFinder)odiInstanceHandle.getOdiInstance().getTransactionalEntityManager().getFinder(OdiInterface.class)).findByName(prdLineSQSILDimInterface, "BIAPPS");
OdiInterface interface=null;
for (Iterator iter = odiInterfaces.iterator() ; iter.hasNext() ; )
interface = (OdiInterface)iter.next();
OdiDataStore odiDataStore = ((IOdiDataStoreFinder) odiInstanceHandle.getOdiInstance().getTransactionalEntityManager().getFinder(OdiDataStore.class)).findByName(sourceDataStore, "BIAPPS");
InteractiveInterfaceHelperWithActions interactiveHelper = new InteractiveInterfaceHelperWithActions(interface, odiInstanceHandle.getOdiInstance(), odiInstanceHandle.getOdiInstance().getTransactionalEntityManager());
DataSet newDataSet=new DataSet(interface,"MySet");
newDataSet.setOperator("UNION");
newDataSet.setOrder(10);
interactiveHelper.performAction(new InterfaceActionAddSourceDataStore(odiDataStore, newDataSet,new AliasComputerDoubleChecker(),new ClauseImporterLazy(),new AutoMappingComputerLazy()));
interactiveHelper.performAction(new InterfaceActionOnTargetMappingSetSql("ENTRY_ID","W_PLM_LISTENTRY_PS.ENTRY_ID",newDataSet));
interactiveHelper.performAction(new InterfaceActionOnTargetMappingSetSql("NAME","W_PLM_LISTENTRY_PS.ENTRYVALUE",newDataSet));
odiInstance.getTransactionalEntityManager().persist(anInterface);
odiInstance.getTransactionManager().commit(trans);
Edited by: knidhi on Apr 18, 2013 2:40 PM
Edited by: knidhi on Apr 18, 2013 2:48 PM
Edited by: knidhi on Apr 18, 2013 2:48 PM
Edited by: knidhi on Apr 18, 2013 2:51 PM
Edited by: knidhi on Apr 18, 2013 2:54 PM
Similar Messages
-
Cancelling a line and and adding new lines to existing PO using API
Hi,
Can any one please help me know how I can cancel a line and insert new lines into a existing PO using any API.
Many Thanks,
Srinivas.VanessaC_VZW wrote:
However, if you do not want a contract on the new lines, (since you will have your own equipment), the activation fee will be $35.00 per line. If you agree to a 2-year contract for the share lines, the activation fees will be $25.00 per line.
You can add the new lines by calling our Telesales Department at 800-256-4646.
Thank you,
Really?! I didn't know that made a difference...I thought secondary lines were $25 - well, ya learn something new every day!
And a side note - we added a line for my 75+ yr old mother with one of our old flip phones and CS was extremely kind in waiving the activation fee (I could have sworn it was $25 charged and credited on the bill), PLUS they boxed up the flip phone after activating it (with an out of state number to boot) and shipped it to my Mom, all at no additional cost to me. I'm not saying that will be everyone's experience, and I was amazed the service rep offered to ship it for me - but I smiled and said "THANK YOU!" and accepted it! -
Re: adding Union clause to existing seeded VO
Hi all,
we have a requirement to add union clause to existing VO which is standard one.. please help me if it is possible...
regards,
Raghava.Hi,
Following is the error stack for the code i wrote above....
we have a standard EO based VO and we need to add union clause to the VO query.. is there any approach to achieve this except extending VO?
The VO query is...
SELECT pca.COST_ALLOCATION_ID,
pca.EFFECTIVE_START_DATE,
pca.EFFECTIVE_END_DATE,
pca.BUSINESS_GROUP_ID,
pca.COST_ALLOCATION_KEYFLEX_ID,
pca.ASSIGNMENT_ID,
pca.PROPORTION as proportion,
pca.REQUEST_ID,
pca.PROGRAM_APPLICATION_ID,
pca.PROGRAM_ID,
pca.PROGRAM_UPDATE_DATE,
pca.LAST_UPDATE_DATE,
pca.LAST_UPDATED_BY,
pca.LAST_UPDATE_LOGIN,
pca.CREATED_BY,
pca.CREATION_DATE,
pca.OBJECT_VERSION_NUMBER,
pca.ROWID
FROM PAY_COST_ALLOCATIONS_F pca
WHERE to_date(:1,'YYYY-MM-DD') between effective_start_date and effective_end_date and :2 = assignment_id
The Union Clause needed is
and 1 = 2
union
(select cost_allocation_flex_id,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null from test_table)
I tried it thru CO as below...
OAApplicationModule oa =(OAApplicationModule) oapagecontext.getApplicationModule(oawebbean);
OAViewObject vo = (OAViewObject)oa.findViewObject("CostingEntryDetailVO");
String whereclause ="COST_ALLOCATION_KEYFLEX_ID=6217) " +
" AND 1=2 " +
" union (( select cost_allocation_flex_id,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null from test_table )";
if (vo!=null)
vo.setWhereClause(whereclause);
vo.executeQuery();
The error stack is:
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT pca.COST_ALLOCATION_ID,
pca.EFFECTIVE_START_DATE,
pca.EFFECTIVE_END_DATE,
pca.BUSINESS_GROUP_ID,
pca.COST_ALLOCATION_KEYFLEX_ID,
pca.ASSIGNMENT_ID,
pca.PROPORTION as proportion,
pca.REQUEST_ID,
pca.PROGRAM_APPLICATION_ID,
pca.PROGRAM_ID,
pca.PROGRAM_UPDATE_DATE,
pca.LAST_UPDATE_DATE,
pca.LAST_UPDATED_BY,
pca.LAST_UPDATE_LOGIN,
pca.CREATED_BY,
pca.CREATION_DATE,
pca.OBJECT_VERSION_NUMBER,
pca.ROWID
FROM PAY_COST_ALLOCATIONS_F pca
WHERE to_date(:1,'YYYY-MM-DD') between effective_start_date and effective_end_date and :2 = assignment_id) QRSLT WHERE (nullCOST_ALLOCATION_KEYFLEX_ID=6217 AND 1=2 union (( select cost_allocation_flex_id,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null from test_table )) ORDER BY effective_start_date
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:612)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2513)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
at OA.jspService(_OA.java:212)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at OA.jspService(_OA.java:221)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
## Detail 0 ##
java.sql.SQLSyntaxErrorException: ORA-00907: missing right parenthesis
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1189)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3431)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:860)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4559)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
at genus.oracle.apps.pay.selfservice.assignmentcosting.webui.xxxAssignmentCostingEntryCO.processRequest(xxxAssignmentCostingEntryCO.java:80)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:596)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2513)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
at OA.jspService(_OA.java:212)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at OA.jspService(_OA.java:221)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
java.sql.SQLSyntaxErrorException: ORA-00907: missing right parenthesis
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1189)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3431)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:860)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4559)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
at genus.oracle.apps.pay.selfservice.assignmentcosting.webui.xxxAssignmentCostingEntryCO.processRequest(xxxAssignmentCostingEntryCO.java:80)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:596)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2513)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
at OA.jspService(_OA.java:212)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at OA.jspService(_OA.java:221)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619) -
Trouble adding Airport Extreme to existing network using Netgear N150 network
I'd appreciate any help with my situation.
I don't know all of the technical terms, but basically most of my house is hardwired with CAT-5 cables. I have a broadband internet modem hooked up to some sort of switch, then a Netgear N150 router which is plugged into an ethernet socket in one of the rooms. Right now there is limited wireless access in certain parts of the house. I was hoping ideally to use the Airport Extreme to widen my existing internet coverage, but thought that I should first try to set it up as the primary router so I wouldn't run into any compatibility issues. However, because my Imac is pretty old, I was unable to set up the Extreme via my Imac as the Airport Utility software was out-of-date, and the link to update the software was non-functional. What I ended up having to do was temporarily plug my Netgear router back in, go to a different room, plug my Extreme into an ethernet socket, then configure the Extreme using an Ipad which was connected wirelessly to my Netgear network. However, when I then went to replace the Netgear router with the Extreme base station, my Ipad and Iphone could not connect to the new Extreme network. I do SEE it, but I keep getting the spinning spokewheel and it never connects. The odd thing is that I CAN connect to the Extreme network with my Imac.
I have tried multiple times to reset the Extreme, my Ipad, and the Netgear router, all to no avail. I have the latest software for the Extreme as well as for the Airport Utility. I've also tried playing with a few different combinations of both routers plugged in, 1 router by itself, and various settings on the Extreme. Right now I have the Extreme set up as a Bridge, and both routers plugged directly into the wall in separate rooms, but right now the only way I can access the internet is via my old Netgear network.
THANKS in advance for advice!I have a broadband internet modem hooked up to some sort of switch,
Can you provide the make and model of the modem? Depending on the type of modem this might be, the Ethernet switch may need to come after the Netgear router, not between the modem and the Netgear router. -
I added a dataset to an existing report and broke an aggregation. In the old (i.e. single dataset) report, this expression below worked fine. I wanted to get a distinct count of the vst_ext_id field when my educated field was like "VTE1*"
= CountDistinct(IIF(Fields!educated.Value like "VTE1*", Fields!vst_ext_id.Value, Nothing))
After adding a new dataset, this no longer works and I get the error " A scope is required for all aggregates used outside of a data region unless the report contains exactly one dataset". Having done some research online, I found that I
needed to specify my dataset explicitly and I thought this new expression might work, but still no success...
= CountDistinct(IIF(Fields!educated.Value,"DataSet1" like "VTE12*", Fields!vst_ext_id.Value,"DataSet1", Nothing))
Am I missing something? Based on online responses, this explicit dataset naming convention seems to help most people, but it isn't working for me.
Thanks in advance!
BrianI found the answer. Apparently, my expression syntax was off. This expression does the trick...
= CountDistinct(IIF(Fields!educated.Value like "VTE12*", Fields!vst_ext_id.Value,Nothing),"DataSet1")
I just happened upon this particular syntax searching online. I was trying to specify the dataset name after each .value, but I never got that to work. This is the only time I have found this particular syntax online. -
How does one add tables to an existing universe using COM designer SDK.
Morning All
How does one add tables to an existing universe using COM designer SDK. I have tried:
objUniverse.Tables.Add (strTable_Name)
but get "Cannot create Table" error.
Any ideas?
Thanks in advance.
AnitaHi Anita,
-Use the Add method to add classes and objects to an existing universe using a VB 6 application.
Adding a Class
Definition: Function Add(Name As String) As Class
Syntax: NameOfClassesVariable.Add
Adding an Object Instance
Definition: Function Add(Name As String, [ClassName As String]) As Object
Syntax: NameOfObjectsVariable.Add(name, [class])
- name is the name of the object.
- class is the name of the class containing the object. This parameter should be used in cases where more than one objects exist with the same name.
Sample Visual Basic 6 Code
Dim DesApp As Designer.Application
'MODIFY AND EXPORT CLASSES AND OBJECTS OF AN EXISTING UNIVERSE
Sub modify_and_export_universe()
Dim DesUnv As Designer.Universe
Dim DesCls As Designer.Class
Dim DesObj As Designer.Object
Dim DesDBCol As Designer.DBColumn
Dim DBColName As String
Set DesApp = New Designer.Application
'Login to designer
Call DesApp.LogonDialog
'Make sure to log on with your administrator profile
'e.g : "hostname","username", "password","Enterprise"
'Make Designer application visible
DesApp.Visible = True
'This line disable warning messages from Designer
DesApp.Interactive = False
'to Open locally the universe you want to modify
'Set DesUnv = DesApp.Universes.Open("club_uni")
'Use OpenFromEnterprise method (Universes Class) to import a universe from the repository and opens it
Set DesUnv = DesApp.Universes.OpenFromEnterprise("Universes", "club_uni", False)
'Add a valid connection which already exists
DesUnv.Connection = "club"
'open the universe
'Call DesApp.Universes.Open("club_universe")
'Add the table Account and refresh the view in the main window
Set DesTab = DesUnv.DBTables.Item("Customer").Insert
DesUnv.ArrangeTables
'Add a class
Set DesCls = DesUnv.Classes.Add("Class MyCustomer")
'Looping through all the fields of the DB Table Account
For Each DesDBCol In DesUnv.DBTables.Item("Customer").DBColumns
'Store name of the column
DBColName = DesDBCol.Name
'Add an object to the class
Set DesObj = DesCls.Objects.Add("Obj " & DBColName)
'Affect a field to the object
DesObj.Select = "Customer" & "." & DBColName
Next
'Save the existing universe with the same name club_uni or you can change
DesUnv.SaveAs "club_uni"
MsgBox "Universe created and saved Class MyCustomer has been added!!"
'Close the universe
UnvFullName = DesUnv.FullName
MsgBox "The UniverseFilePath is " & UnvFullName
'Close the universe
DesUnv.Close
'This line disable warning messages from Designer
DesApp.Interactive = False
'Export the universe to the CMS DB (to the last universe folder)
'Make sure you save the universe before exporting it
Call DesApp.Universes.Export("Universes", UnvFullName)
MsgBox "This document has been exported successfully !!"
'Close designer
DesApp.Quit
Set DesApp = Nothing
End Sub
Hope this helps.
Regards,
Deepti Bajpai -
Hi Friends
Is it is possible to identify Heading level, Title, Header, Footer, Paragraph in PDF using SDK or ScriptIn an ordinary PDF there is nothing to identify, the information does not exist. Just text at locations, the structure is entirely in the mind of the viewer. For tagged PDFs, yes. This requires a very detailed knowledge of the PDF spec and tagging, and writing a plug-in in C/C++. And of course it requires that the tagging is correct. Since tagging is often added automatically, it is often useless for real structural info. Who thought it was a good idea to tag automatically...!
-
ISetup new custom interface using BC4J/java class
Hi,
I am able to create new custom interface using the link :- How to setup an user to be Oracle iSetup Super user ? but I have not seen anything for BC4J filter set, as per oracle iSetup developer guide clearly explains step by step process how to create custom BC4J interface type, but they have not mention how to add filters, as per oracle developer guide we have to use 'iSetup Framework' for BC4J, if we select type as 'iSetup Framework' then we don't have option to add filter parameters.
Any idea how to see existing iSetup interface repository values, Search shows the result, but we can't go in details? any idea to see this?
Oracle have good interface repository but most of them does not have option to filter, and update so I want to customize them by adding new interfaces with filterable and update option
Regards
AnilFirst, be sure your properties file is in the root of the classpath.
The Messages.properties or Messages_en.properties should be in the WEB-INF/classes/ directory of the war or as a root file of a jar included in the classpath (WEB-INF/lib).
If it doesn't work, try adding a "/" before the file name. The classloader will try to find it as a root file of the classpath.
For example:
ResourceBundle messages = ResourceBundle.getBundle("/Messages", locale);
If you are using sun appserver, the classloader hierarchy is configured by default from inside the war to outside, so it will search first in the WEB-INF/classes/Messages_en.properties and then it will search the file inside each jar file in WEB-INF/lib.
If you want more information, check the classloader hierarchy of the appserver you are using.
Hope it helps. -
Calling and scheduling existing publication by SDK with promt value
Hi
Context
Calling and scheduling existing publication by SDK with different promt values, included document in publication are Webi.
Issue
I can call and shedule publication with different promp values, however some promts are multivalue with various value count. (For example there is value 111 in first case and values 222 and 333 in second case). Problem is i can fill such a many values how i set in publication by GUI (to understant i can change value but i can;t add/delete another value in one promt).
Here is some example of my code:
IProperties oInfoDocumentsProp = publication.getProcessingInfo().properties().getProperties("SIPROCESSINFO_PER_DOC");
IProperties oInfoDocumentProp = oInfoDocumentsProp.getProperties("1"..."N");
IProperties oWebiPrompts = oInfoDocumentProp.getProperties("SI_WEBI_PROMPTS");
IProperties oWebiPrompt = oWebiPrompts.getProperties("1"... "N");
//to get Values collection
IProperties oWebiPromptValues = oWebiPrompt.getProperties("SI_VALUES");
//to get N value
IProperty oWebiPromptValue = oWebiPromptValues.getProperty(1...N);
//to set prompt value
oWebiPromptValue.setValue("something")
_publication.schedule/save.... .
for now it is good, however when i do this
oWebiPromptValues. add(x,x,x) or oWebiPromptValues.removeLocal(n) it do almost nothing when i look into publicaiton by GUI.
Any idea how to change promt values count ?
Thanks in advance.Hi,
You can use the following code to add prompt values to a webi report :
<%@ page import="com.crystaldecisions.sdk.framework.*" %>
<%@ page import="com.crystaldecisions.sdk.exception.SDKException" %>
<%@ page import="com.crystaldecisions.sdk.occa.infostore.*" %>
<%@ page import="com.crystaldecisions.sdk.plugin.CeKind" %>
<%@ page import="com.businessobjects.sdk.plugin.desktop.webi.*" %>
<%@ page import="com.crystaldecisions.sdk.properties.*" %>
<%@ page import="java.util.*" %>
<%@ page import ="com.businessobjects.rebean.wi.* "%>
<%@ page import ="com.businessobjects.sdk.ceutils.prompts.* "%>
<%
boolean loginSuccessful = false;
IEnterpriseSession boEnterpriseSession = null;
String username = "Administrator";
String password = "";
String cmsname = "localhost:6400";
String authenticationType = "secEnterprise";
try {
//Log in.
boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( username, password, cmsname, authenticationType);
if (boEnterpriseSession == null) {
out.print("<FONT COLOR=RED><B>Unable to login.</B></FONT>");
} else {
loginSuccessful = true;
} catch (SDKException sdkEx) {
out.print("<FONT COLOR=RED><B>ERROR ENCOUNTERED</B><BR>" + sdkEx + "</FONT>");
if (loginSuccessful) {
IInfoObject boInfoObject = null;
String docname = "New Web Intelligence Document5";
//Grab the InfoStore from the httpsession
IInfoStore boInfoStore = (IInfoStore) boEnterpriseSession.getService("", "InfoStore");
ReportEngines repEngines = (ReportEngines)boEnterpriseSession.getService("ReportEngines");
ReportEngine widocRepEngine = (ReportEngine)repEngines.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);
//Query for the report object in the CMS. See the Developer Reference guide for more information the query language.
String query = "SELECT TOP 1 * " +
"FROM CI_INFOOBJECTS " +
"WHERE SI_INSTANCE = 0 And SI_Kind = '" + CeKind.WEBI + "' " +
"AND SI_NAME='" + docname + "'";
IInfoObjects boInfoObjects = (IInfoObjects) boInfoStore.query(query);
if (boInfoObjects.size() > 0) {
// This will schedule the first WebI document in the collection
IWebi boWebi = (IWebi) boInfoObjects.get(0);
int ID = boWebi.getID();
boWebi.setTitle(boWebi.getTitle() + " - Set Prompt Test");
DocumentInstance wiDoc = widocRepEngine.openDocument(ID);
Prompts prompts = wiDoc.getPrompts();
for(int j =0, m = prompts.getCount();j<m; j++)
Prompt prompt = prompts.getItem(j);
String name = prompt.getName();
String str[] = prompt.getPreviousValues();
out.println(name);
out.println(str[1]);
String [] values = {"US","Holland"};
prompt.enterValues(values);
String s[] = prompt.getCurrentValues();
out.println(s[0]);
wiDoc.save();
out.println("success prompts");
PromptsUtil.populateWebiPrompts(prompts,boWebi);
//Retrieve the ISchedulingInfo Interface for the Report object and set the schedule
//time (right now) and type (run once)
ISchedulingInfo boSchedulingInfo = boWebi.getSchedulingInfo();
boSchedulingInfo.setRightNow(true);
boSchedulingInfo.setType(CeScheduleType.ONCE);
boWebi.schedule();
out.println("WebI document scheduled.");
} else {
out.println("WebI document not found!");
boEnterpriseSession.logoff();
%>
Please let me know if you need any more details.
Regards,
Shreyans Surana
Edited by: shreyans_7 on Dec 9, 2011 3:39 PM -
Print a report in crystal Report using SDK
Hi Dear;
any body can publish a sample code how can i print a report built in crystal report using SDK?
regards;Hi Dany,
Hope the following code will help u .
before calling the function make a XML by using dataset.writexml, in which you have to pass the name of your stored procedure.
for this you have to decalre commantype as stored procedure.
first parameter of this is rpt name . asecon paramer is ur xml name which you got from DAtaset.writexml.
Sub ShowReport(ByVal rptName As String, ByVal SourceXML As String)
Try
Dim oSubReport As CrystalDecisions.CrystalReports.Engine.SubreportObject
Dim rptSubReportDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument
Dim rptView As New CrystalDecisions.Windows.Forms.CrystalReportViewer
Dim rptPath As String = System.Windows.Forms.Application.StartupPath & "\" & rptName
Dim rptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
rptDoc.Load(rptPath)
For Each oMainReportTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
oMainReportTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
Next
For Each rptSection As CrystalDecisions.CrystalReports.Engine.Section In rptDoc.ReportDefinition.Sections
For Each rptObject As CrystalDecisions.CrystalReports.Engine.ReportObject In rptSection.ReportObjects
If rptObject.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
oSubReport = rptObject
rptSubReportDoc = oSubReport.OpenSubreport(oSubReport.SubreportName)
For Each oSubTable As CrystalDecisions.CrystalReports.Engine.Table In rptSubReportDoc.Database.Tables
oSubTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
Next
End If
Next
Next
rptView.ReportSource = rptDoc
rptView.Show()
Dim oFrm As New System.Windows.Forms.Form
rptView.DisplayGroupTree = False
rptView.Dock = System.Windows.Forms.DockStyle.Fill
rptView.Location = New System.Drawing.Point(0, 0)
oFrm.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
oFrm.Controls.Add(rptView)
oFrm.Name = "rptForm"
oFrm.Text = "rptForm"
oFrm.ResumeLayout(False)
oFrm.WindowState = System.Windows.Forms.FormWindowState.Maximized
oFrm.TopMost = True
oFrm.ShowDialog()
Catch ex As Exception
oApplication.MessageBox(ex.Message)
End Try
End Sub -
Issue in adding Space to the existing Virtual Machine from added repository
Hi,
I'm facing issue in adding Space to the existing Virtual Machine (Guest OS) from added repository.
Environment details :
VM Server : /OVS => 130GB
/OVS/935970F2CC2D4B4391701397517F1001/ => 512 GB
Things I have done :
• I created a VM (Guest OS) in the VM Server with 120 GB
• After creating the VM (Guest OS) , When I tried adding a VIRTUAL DISK of size 150 GB , I got an error “Maximum available Disk space is only 10GB”.
My query :
• Will I be able to add space to Existing VM from the added Repository ( /OVS/935970F2CC2D4B4391701397517F1001/ ) , whose system.img is stored in path /OVS/running_pool/34_rhel/ .
Kindly help me out in this.
Thanks in advance.
-- SriHi all,
I checked with Oracle on the above and got the info currently , the we can utilise only the space available in the existing repo and cannot extend to additional repo.
Work around is : Clone it to the other repo , or Use Symbolic link .
Thanks,
Sri. -
How can I add to an existing path using the pencil tool?
This probably seems like a rather elementary question, but
whenever I draw a path using the pencil tool, reselect it,
hover over the endpoint, and the click and drag to extend
the line off into a different direction, Illustrator will often
(but not always) erase the existing path and leave only the
new one that I drew.
To wit:
In step 1 above, I draw a line with the Pencil tool.
In step 2 above, I reselect the line from step 1, hover over the endpoint, and then continue to draw further.
However, as can be seen in step 3, the line from step 1 disappears after I draw the new path.
I am aware of the pencil setting, "Edit selected paths", and I have checked it to edit selected paths
within 12 pixels for the above example. What I am doing in the above example, and what I
want to do, is to be able to add more paths onto an existing one using the pencil tool,
rather than have a completely new path being drawn every time I lift up my pen to finish
drawing the previous path.
I also realize that I can do this with the pen tool; but the pen tool is a more
precise tool (and somewhat more cumbersome), and I prefer to have more
of the rough-handed look from time to time.
Finally, I also know that I can use the direct selection tool to select endpoints
from two different paths and then join them using the join command;
but this seems to be more trouble than it's worth in many cases, especially
if I want to do it frequently for a more long and complicated line.
Am I expecting too much out of Illustrator?
Is my idea of how to use the existing tools wrong in this case?
Is there some piece of knowledge I'm missing?
I'm on Illustrator CS5, Mac OS X 10.6.8, using a Wacom Intuos4 tablet.
However, I have confirmed the above on Illustrator CS4 for Mac as well.
Any help or comments would be much appreciated.
JeffThanks @rcraighead - the Live Paint process seems a bit overkill for simply adding
a new path onto an existing pencil path, but I did try the first idea you suggested,
which was tracing a bit over the last part of the existing path and then continuing
on to extend the path. It's a bit imprecise because the existing path gets slightly
modified, but it seems to work pretty well all in all. Nice idea indeed - thanks a million.
I also found that in AI CS5, I can use the selection tool to select all of the paths
in this case and then join them using the join command. I thought I needed to
select individual anchor points for this to work, but it actually works really
well, better than I thought. I seem to recall that previous versions of Illustrator
were a lot more picky with the Join command, but then again this might just
have been my lack of understanding.
I'm curious to know what other solutions to the above problem that other users
might have, so I will leave this question unanswered for a bit...
but I will use your initial technique described - it seems to work
pretty well, in absence of other options Many thanks again for your timely help.
Jeff -
How can I parse the document in WebI using sdk?
I wanna to parse the document in WebIntelligence using sdk. My question is :
1) By which sdk, I can parse the document. 'Report Application Server SDK' ?
2) I wanna to parse the 'Self-Defined SQL' and 'Query' components of the document. Can the sdk support this request ?
My enviroment is BO XI Release 2.
Thanks all.Hi shao,
1) By which sdk, I can parse the document. 'Report Application Server SDK' ?
'Report Application Server SDK' is For Crystal reports so for WebIntelligence or DesktopIntelligence Report it is "Report Engine SDK".
Apart from this if you want to do more on these reports "BusinessObjects Enterprise SDK" can be used.
You can get more information on below link for XI R2.
http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
For question 2,
I am not sure about it but Report Engine SDK provides classes and interface of Data Providers.
i.e. Building and Editing Data Providers and Working with Recordsets.
Also you can have look on
Report Engine SDK's
Interface "Query"
Hope these helps you.
Thanks,
Praveen. -
Getting error "This file was removed" when trying to use sdk/test/httpd.
Hi, I wish to test my website using httpd.js. Now when I am trying create a add-on and use sdk/test/httpd by adding following line
var { nsHttpServer } = require("sdk/test/httpd");
I am getting following error:
Message: Error: This file was removed. A copy can be obtained from:
https://github.com/mozilla/addon-sdk/blob/master/test/lib/httpd.js
As new to Add on development I am unable to resolve this issue.
Thanks in advance.Apologies for redirecting you to a different site, but this forum primarily handles end-user support. For extension development advice, please try here: [https://forums.mozilla.org/viewforum.php?f=7 Extension Development - Mozilla Add-ons Forum].
-
How to use sdk in standard B1?
Hi,All
How to use sdk in standard B1? I want to use "sum in words" be thai languag which in standard no have so i must create it use sdk but i don't know that have solution using sdk in standard. example, Go menu Sales-A/R>Delivery and input data i want to convert price in Total to text which i use sdk for convert it But i don't khow that when i will call sdk? Can do in standard?Hi Virasak,
You need to develop a (eventually small) application (= Add-On) which uses the SDK to do what you need it to do + is packaged and installed like e.g. any SAP Add-On.
It should then just watch out for the "right" events which are propagated from the SAP Business One application through UI API (an interface in the SDK) to "interested" Add-On(s)...
HTH,
Frank
Maybe you are looking for
-
How to do ALV Popup in a new Function module
Hi experts, This is the Client Requirement. " Flow Diagram/Pseudo Code: Attach a data flow diagram. Write brief pseudo code in plain English. Be sure to include all access data plans. - FM interface: - Import: company code/ vendor#. - Ex
-
Hi there ! Please, can anyone help me find out what is going on with date format in my SQL Statements ? While in development, the date format in SQL statements were: SELECT DATA_FIELD FROM TABLE WHERE DATE_COL = '10-DEC-2004' And works fine. After de
-
Issues loading the login site of my ISP
When I first power on my modem, I must log into the ISPs page before I can surf the net. This has worked fine for me up until about 2 months ago. Since then, when I get redirected to the login page, it either fails to load, or takes an age to do so (
-
Can I use my old mighty mouse with my new macbook pro
-
Slowdown in ASC forum pages.
Has anyone noticed a marked slowdown in the speed with which ASC pages register. Since yesterday's ASC maintenance, my forum pages take a good three or four seconds to show. My other page usage is unaffected; browsers, inter files movement etc, i