Order Import Failure - Demad Class
Hi All,
I am trying copy the Order from 11i to R12, but the order is failing in Order Import API saying "You are not allowed to update Demand Class because: Config Item is created."
Could you please help me out to resolve this issue.
Thanks,
Venu
user3674413 wrote:
Hi All,
I am trying copy the Order from 11i to R12, but the order is failing in Order Import API saying "You are not allowed to update Demand Class because: Config Item is created."
Could you please help me out to resolve this issue.
Thanks,
VenuPlease see (Sales Orders form: You are not allowed to update Demand Class because: Config Item is created [ID 1306755.1]).
Thanks,
Hussein
Similar Messages
-
Order Import Failure - Ship To
Hi All,
I am trying copy the Order from 11i to R12, but the order is failing in Order Import API saying "Validation failed for the field - Ship To".
Could you please help me out to resolve this issue.
Thanks,
Venuuser3674413 wrote:
Hi All,
I am trying copy the Order from 11i to R12, but the order is failing in Order Import API saying "Validation failed for the field - Ship To".
Could you please help me out to resolve this issue.
Thanks,
VenuPlease see the following docs.
Internal Orders Get Error Validation Failed For The Field Ship To [ID 470660.1]
INTERNAL REQUISITIONS FAIL ORDER IMPORT - VALIDATION FAILED FOR THE FIELD - SHIP TO [ID 273441.1]
EDI 850 POI Order Import Errors: âVALIDATION FAILED FOR THE FIELD- SHIP TOâ [ID 396536.1]
OEXOEORD "Validation failed for the field - Ship To" while using Account Relationship [ID 737581.1]
Internal Orders Are Stuck In Interface Table With Error 'Validation failed for the field - Ship To' [ID 782048.1]
Unable To Create A New Line To An Existing Order: Validation Failed for the field - Ship to [ID 1391307.1]
Thanks,
Hussein -
How to import .jar files in order to use the classes within this file
hello guys,
I'm just wondering how can i import .jar files in order to uses the classes within this file.
let's take an example:
i have a folder in which I have many .jar files which contain classes to be called. the full path of this folder is set in the Classpath inside the enviroment variables.
so does anyone have any idea how can i import these .jar files so i can use the classes?
thank you.Hi,
My problem is that: I created a Serializable class in a project. And I added this project (first project) to another project (second project). First project is appearing in the second project' s Libraries folder. No problem. I want to create a jar file from second project. i.e. I want to Build second project (I use NetBeans IDE). I am using Build Main Project tab under Run. It is falling out. I am finding it second project' s jar file under its folder. I am clicking on it. But it is NOT WORKING. Do you know WHY. Could you help me please?
Thanks, -
Premiere Elements 9 PC: Major Importer Failure
I think that I have gone down every troubleshooting road on trying to discover why "all of a sudden" Premiere Elements 9 PC will not import anything via Get Media/Files and Folders into its Organize interface as is its default behavior. The program fails at that point and shows the message "the program is not responding". Yet if you force the closure of that particular project and reopen a new one, you find that those media that failed to import into Organize in the first project now are live and well in the Organize of the new project. You can drag them from the Organize to the Timeline and use them in this new project. All other functions of Premiere Elements 9 PC appear unaffected by this import failure. AND, source media can be video (any format and size) and photos (any size). This happens even with import of the first and only file being a jpg (800 x 600 pixels).
My history of Premiere Elements 9 PC/baddrivers.txt file/ and "incompatible driver messages" is well documented in these forums. That involved Windows XP Professional SP3 32 bit and a NVIDIA display card. And, I have been moving along successfully with Premiere Elements 9 PC for several months. About two weeks ago, I upgraded my computer to Windows 7 Professional 64 bit Intel Graphics Card, and Premiere Elements has been performing great until yesterday when what I call "major importer failure" struck. The computer has about 800 GB free hard drive space and about 2.5 GB out of 4.0 GB of available RAM. All of this worked great for about two weeks and now suddenly this yesterday. Did I do anything different or unusual? I think not. I also have Premiere Elements 7 and 8 on this same new computer, and they continue to function perfectly in all respects, whereas Premiere Elements 9 does not. AND, yes I have had the Premiere Elements 9.0.1 Update installed and in use before and after the importer failure.
Troubleshooting has included
a. Uninstall/Reinstall from Premiere Elements 9 installation disc + uninstall/reinstall of QuickTime + Photoshop Elements 9 as well.
b. System Restore (as well as a restore of an earlier version of the installed Premiere Elements 9.
c. Removal of possible interferring program, such as, Nero InCD.
d. Removal of recent Windows Updates
e. Uninstall/reinstall of Intel driver since at one point in the failure the Edit Mode Monitor was displaying part of the Disc Menu Section while the program was in the Organize Mode.
f. Have looked at permissions, running as Administrator, etc.
One of the things that I will try this morning is installing Premiere Elements 9 PC on the previous system Windows XP Professional SP3 32 bit to see if there is any major importer failure there at this time.
If anyone has the time, I would appreciate any comments on a troubleshooting avenue that I may have overlooked. This appears to be another Deja Vu all over again. I hope not.
Thanks.
ATRNeale
Thank you for your interest in this issue.
I still have not pin pointed why my Premiere Elements 9 works great EXCEPT it will not import media into the Organize with Get Media/Files and Folders and attempts to do that drive the program into unresponsiveness and extreme difficult closure, even with the Task Manager.
Yes, I have already looked at the workaround that you suggested for moving forward in my Premiere Elements 9 PC project, that is, entering all my source media into the Elements Organizer (can do from Photoshop Elements side) so that the source media thumbnail will be in the Premiere Elements Organize "ahead of time", and I will not have to depend upon Get Media/Files and Folders to get that job done.
But, until I hit the key to this, I think I have an almost perfect better way. My computer is now Windows 7 Professional 64 bit that comes with the Windows XP Mode. Essentially what you have in this mode is a virtual Windows XP Professional SP3 32 bit machine (best I can determine, Microsoft Generic Card). I can install Premiere Elements 9 (same serial number as on the Windows 7), and IT WORKS, no problem with the Get Media/Files and Folders. The one glitch in this perfect solution is setting up to burn to DVD. The Windows 7 Windows XP Mode Virtual Machine will not recognize installed internal DVD/CD drives when you go to write a DVD. The explanation is that the optical drive in XP Mode is a virtual device - read only. I have confirmed this. In order to use Premiere Elements 9 PC burn to disc in this Windows XP Mode , my answer here appears to be plugging in an external DVD burner USB and then using the USB Attach of the Windows XP Mode.
When Premiere Elements 9 PC was released, I was forced into much troubleshooting of the display issues which are very widely documented here. But then I was using "a real" Windows XP Professional SP3 32 bit" with a NVIDIA card. In the trial version, the BadDrivers.txt and VideoRenderer.dll got me through that episode. For me, the purchased version "essentially" was not afflicted with these same problems, and it has been running great. Now when I go to a new computer system for better performance/greater computer resources (by the way, Intel HD Graphics card), Premiere Elements 9 runs great for two weeks and then this no Get Media/Files and Folders matter sets in accompanied by program going completely knocked out by the event. In all of this, old or new, I have Premiere Elements 7, 8, and 9 installed on the same computer. While Premiere Elements 9 is being hit with these issues, Premiere Elements 7 and 8 are not , same computer environment, same source media, same project preset, et al. For me, the Premiere Elements 9.0.1 has not hit the mark.
I have done extensive troubleshooting of the this current matter, too long and involved to go into now. I am preparing a full detailed description of the issue and the troubleshooting that went into the search for a fix. I will be posting it at the forum that I frequent. When I post it there, I will supply a link to it for whomever is interested. I have filed a bug report with Adobe on this matter in abridged format as per the space provided in its bug report online form.
Thanks again for posting.
ATR -
How to import user defined class in UIX page?
Does anyone know how to import user defined class in UIX page so that the class can be called in the javascript in the UIX ?
Thks & Rgds,
Bennywhat you are referring to is not javascript.
it is JSP scriptlets. These are very different.
In order to keep a strict separation between View and Controller, it is not possible to run arbitrary java code from within your UIX code.
However, you can run java code from within a UIX event handler; see:
http://otn.oracle.com/jdeveloper/help/topic?inOHW=true&linkHelp=false&file=jar%3Afile%3A/u01/app/oracle/product/IAS904/j2ee/OC4J_ohw/applications/jdeveloper904/jdeveloper/helpsets/jdeveloper/uixhelp.jar!/uixdevguide/introducingbaja.html
event handler code is run before the page is rendered. -
Importing configurations via Order Import in R12
Hi All,
We need some help with this issue we are facing while importing configurations ( PTO ) via order import process.
The scenario is like this : we have parent PTO Model Item : A and under this we have 2 Option Classes within the BOM: OC1 & OC2
Each of these option classes have 2 items each : option class - OC1 has ( Item B & Item C) while option class - OC2 has ( Item D & Item E)
Now in the OM interface tables we want to interface : PTO Model Item A and along with it the Item B and Item E ( one item from each of the option classes). Hence we populate the oe_lines_iface_all table the below mentioned fields
inventory_item, item_type_code , orig_sys_line_ref , top_model_line_ref, ship_from_org
A MODEL 1.0 NULL S1
B 1.0 S1
E 1.0 S1
--Now when we run the Order Import we are getting errors : "org_sys_line_ref cannot be NULL" and errors - "item B and E are not found in the BOM of the model A"
--when we try to populate the orig_sys_line_ref columns values for Item B and E as let's say 2.0 and 3.0 , still we get the "items not found in the BOM of the model A error message". But when we check the BOM these component items are present there.
With the same Model Item A and Option class component items B and E we are able to create an order successfully within OM frontend screen and the BOM structure for the PTO Model A is also active and enabled.. This is a Published BOM for the PTO Model Item A
Could someone please help as to what additional columns need to be populated or what needs to be done in order to get this resolved.
ThanksWe referred the Oracle OM related white paper from metalink :
Oracle Order Management Suite White Papers (Doc ID 113492.1) - Importing Configurations -
ESYU: Order Import를 통해 간단한 ATO Model을 위한 Order를 생성하는 방법
Purpose
Oracle Order Management - Version: 11.5.9 to 12.0.5
Information in this document applies to any platform.
아래와 같은 구조를 갖는 간단한 ATO model을 위한 order를 order import를 통해 생성하는 방법에 대해 알아본다.
ATO Model (542851)
|- ATO Option Class (542852)
|--Option Item (152840)
Solution
Order Import interface table에 header와 lines을 입력하는 아래 script를 이용한다.
Interface tables에 data insert 후 Order Import concurrent program을 실행한다.
INSERT INTO OE_HEADERS_IFACE_ALL (
order_source_id
,orig_sys_document_ref
,creation_date
,created_by
,last_update_date
,last_updated_by
,operation_code
,sold_to_org_id
VALUES (
1227 --order_source_id
,'12345' --orig_sys_document_ref
,sysdate --creation_date
,-1 --created_by
,sysdate --last_update_date
,-1 --last_updated_by
,'INSERT' --operation_code
,1005 --sold_to_org_id
INSERT INTO OE_LINES_IFACE_ALL (
order_source_id
,orig_sys_document_ref
,orig_sys_line_ref
,inventory_item_id
,ordered_quantity
,operation_code
,created_by
,creation_date
,last_updated_by
,last_update_date
,top_model_line_ref
,item_type_code
VALUES (
1227 --order_source_id
,'12345' --orig_sys_document_ref
,'1' --orig_sys_line_ref
,542851 --inventory_item
,1 --ordered_quantity
,'INSERT' --operation_code
,-1 --created_by
,sysdate --creation_date
,-1 --last_updated_by
,sysdate --last_update_date
,'1' --top_model_line_ref
,'MODEL' --item_type_code
INSERT INTO OE_LINES_IFACE_ALL (
order_source_id
,orig_sys_document_ref
,orig_sys_line_ref
,inventory_item_id
,ordered_quantity
,operation_code
,created_by
,creation_date
,last_updated_by
,last_update_date
,top_model_line_ref
,link_to_line_ref
,item_type_code
VALUES (
1227 --order_source_id
,'12345' --orig_sys_document_ref
,'2' --orig_sys_line_ref
,542852 --inventory_item_id
,1 --ordered_quantity
,'INSERT' --operation_code
,-1 --created_by
,sysdate --creation_date
,-1 --last_updated_by
,sysdate --last_update_date
,'1' --top_model_line_ref
,'1' --link_to_line_ref
,'CLASS' --item_type_code
INSERT INTO OE_LINES_IFACE_ALL (
order_source_id
,orig_sys_document_ref
,orig_sys_line_ref
,inventory_item_id
,ordered_quantity
,operation_code
,created_by
,creation_date
,last_updated_by
,last_update_date
,top_model_line_ref
,link_to_line_ref
,item_type_code
VALUES (
1227 --order_source_id
,'12345' --orig_sys_document_ref
,'3' --orig_sys_line_ref
,152840 --inventory_item_id
,1 --ordered_quantity
,'INSERT' --operation_code
,-1 --created_by
,sysdate --creation_date
,-1 --last_updated_by
,sysdate --last_update_date
,'1' --top_model_line_ref
,'2' --link_to_line_ref
,'OPTION' --item_type_code
); commit;
- Orders, Returns -> Import Orders -> Order Import Request
- Parameter form의 Order Source LOV에서 Order Source를 선택
- Submit the concurrent request.
Reference
Note 746677.1 -
Order Import Erroring while importing closed Order
Hello,
I am working on importing closed order for historical purpose and order import is erroring without giving much details. I set the debug level to 5 and log file contains only one error' ORDER IMPORT FAIL DUE TO UNEXPECTED ERROR.
I am attaching the insert statements for headers and lines. Please review and hope to get a solution from one of the OM gurus here.
Thanks a bunch in advance.
Anant
INSERT INTO OE_HEADERS_IFACE_ALL
(ORIG_SYS_DOCUMENT_REF
,ORDER_SOURCE_ID
,ORG_ID
,ORDER_NUMBER
,ORDERED_DATE
,ORDER_TYPE_ID
,PRICE_LIST_ID
,SOLD_FROM_ORG_ID
,SOLD_TO_ORG_ID
,CUSTOMER_NUMBER
,TAX_EXEMPT_FLAG
,TRANSACTIONAL_CURR_CODE
,INVOICING_RULE_ID
,ACCOUNTING_RULE_ID
,PAYMENT_TERM_ID
,CREATION_DATE
,CREATED_BY
,LAST_UPDATED_BY
,LAST_UPDATE_DATE
,SALESREP_ID
,OPERATION_CODE
,CLOSED_FLAG --BOOKED_FLAG
,DROP_SHIP_FLAG
,SHIP_TO_ORG_ID
,INVOICE_TO_ORG_ID
,SHIP_FROM_ORG_ID
,ORIG_SYS_CUSTOMER_REF
,ORIG_SHIP_ADDRESS_REF
,ORDER_CATEGORY
,BOOKED_FLAG)
VALUES
('514' -- ORIG_SYS_DOCUMENT_REF
,1001 -- ORDER SOURCE ID
,'102' -- ORG ID
,10001006 -- ORDER NUMBER
,SYSDATE -- ORDERED_DATE
,1021 -- ORDER TYPE ID
,6024 -- PRICE LIST ID
,102 -- SOLD FROM ORG ID
,2632 -- SOLD TO ORG ID
,'UN1666' -- CUSTOMER NUMBER
,'S' -- TAX_EXEMPT_FLAG
,'USD' -- TRANS CURRENCY_CODE
,-2 -- INVOICING_RULE_ID
,1 -- ACCOUNTING_RULE_ID
,5 -- TERMS_ID
,SYSDATE -- CREATION_DATE
,1150 -- CREATED_BY
,1150 -- LAST_UPDATED_BY
,SYSDATE -- LAST_UPDATE_DATE
,-3 -- SALESREP_ID
,'INSERT' -- OPERATION CODE
,'Y' -- CLOSED FLAG
,'N' -- DROP SHIP FLAG
,NULL -- SHIP_TO_ORG_ID (SITE USE ID FROM RA_SITE_USES_ALL, SITE_USE_CODE = SHIP_TO)
,1712 -- INVOICE_TO_ORG_ID (SITE USE ID FROM RA_SITE_USES_ALL, SITE_USE_CODE = BILL_TO)
,103 -- SHIP FROM ORG ID
,NULL -- ORIG_SYS_CUSTOMER_REF
,NULL -- ORIG_SHIP_ADDRESS_REF
,'Order' -- ORDER CATEGORY
,'N') -- BOOKED_FLAG
COMMIT
INSERT INTO OE_LINES_IFACE_ALL
(ORDER_SOURCE_ID
,ORIG_SYS_DOCUMENT_REF
,ORIG_SYS_LINE_REF
,ORIG_SYS_SHIPMENT_REF
,INVENTORY_ITEM
,REQUEST_DATE
,ORDERED_QUANTITY
,ORDER_QUANTITY_UOM
,PRICE_LIST_ID
,UNIT_SELLING_PRICE --UNIT_LIST_PRICE
,ACCOUNTING_RULE_ID
,PAYMENT_TERM_ID
,SALESREP_ID
,CREATION_DATE
,CREATED_BY
,LAST_UPDATE_DATE
,LAST_UPDATED_BY
,OPERATION_CODE
,DROP_SHIP_FLAG
,SHIP_TO_ADDRESS1
,SHIP_TO_ADDRESS2
,SHIP_TO_CITY
,SHIP_TO_POSTAL_CODE
,SHIP_TO_sTATE
,SHIP_TO_COUNTRY
,CLOSED_FLAG
,ITEM_TYPE_CODE
,INVENTORY_ITEM_ID
,DELIVERY_LEAD_TIME
,DELIVERY_ID
,TAX_EXEMPT_FLAG)
VALUES
(1001 -- ORDER SOURCE ID
,'514' -- ORIG SYS DOC REF
,'L4' -- ORIG SYS LINE REF
,NULL -- ORIG SYS SHIP REF
,'KR4R362478-07' -- ITEM NUMBER
,SYSDATE -- REQUEST DATE
,40 -- ORDER QTY
,'EA' -- ORDER QTY UOM
,6024 -- PRICE LIST ID
,95 -- UNIT LIST PRICE
,1 -- ACCOUNTING RULE ID
,5 -- PAY TERM ID
,-3 -- SALESREP ID
,SYSDATE -- CREATION DATE
,1150 -- CREATED BY
,SYSDATE -- LAST UPDATE DATE
,1150 -- LAST UPDATED BY
,'INSERT' -- OPERATION_CODE
,'N' -- DROP SHIP FLAG
,NULL --'1003 WASHINGTON AVE' -- SHIP ADD1
,NULL --'SUITE 340' -- SHIP ADD2
,NULL -- 'CHICAGO' -- CITY
,NULL -- 60610 -- POSTAL
,NULL -- 'IL' -- STATE
,NULL -- 'US') -- COUNTRY
,'Y'
,'FG'
,7488
,1
,1
,'Y')
commit
---------------------------------------Ganapati,
Did you try passing the customer_number like -1 or some random high number that does not exist in hz_cust_accounts table in the account_number for party_type='PERSON' in the table oe_customer_info_iface_all?
As I see this check for the first_name||last_name is done only of the customer number is not passed and customer_number is not used any where in the customer creation (if you are using automatic numbering for the customer accounts then you will obviously not passing any value to new_account_number which is used to created).
Give it a try while I keep myself busy with my airport woes here.
Thanks
Nagamohan -
How to Import an Order via Order Import with multiple shipment lines?
Good Morning,
I have a question concerning Oracle's order import functionality. We are importing orders from an outside system and need to consolidate orders by customer id. So if the same customer places 2 orders for different items on the outside system, they should interface to Oracle as a single order to that customer with a shipment line for each ordered item (ex 1.1, 2.1..).
I know this can be done, but do not know how to implement the solution.
Can someone please help?
Thank you!!
Edited by: user11984882 on Jun 22, 2011 7:03 AMHi,
I guess that this zip-file contains a transport. This transportfiles have to be copied in the /usr/trans/data und /usr/trans/cofiles and imported by the transaction STMS.
Thomas Jung wrote how to do this in this: How to import examples from book "Advanced BSP Programming"
Perhaps your basis administrator can help you to do this?
Regards,
Stefan -
Hi All, We are in to Release 11.5.10.2.There is a specific requirement to Prevent users from creating Manual Sales Orders in Oracle and yet users should be able to book the Sales Orders Imported from CRM system into Orcale.Please advise.
Thanks for your advise.
However, I missed to mention that we have two set of users One is for Finished Goods and another for Spares.
Only Spares users need to be prevented from creating Direct/Manual Sales Orders in Oracle.
As you suggested, if this will be done at Form level, that may Disallow FG users also to create Manula Sales Orders which should not be the case.
Further, I tried to test one scenario through Processing Constraints but it did not work.
Application
OM
Validation Type
Entity
Temp
Short Name
TBL
Validation Semantics
Created By
Equal To
User(Myself)
Processing Cosntraint
Application
OM
Entity
Order Header
Constraint
Operation
User Action
Create
Not Allowed
Conditions
Group
Scope
Validation Entity
Record Set
Validation Template
101
Any
Order Header
Order
Above Created
Please advise. -
Order import open interface program
hi
i m working on changes to item quantity through order import open interface program
the orders are already imported through order import
i have to make changes to the item quantity
i m passing the details like orig_sys_document_ref,orig_sys_line, orig_sys_shipment_ref
order_source_id, change_reason. operation_code as update, changed order quantity like previously it was 5,now i m sending as 8
but still the program is failing
the error is
0/70000// You are entering a duplicate orig_sys_line_ref and orig_sys_shipment_ref for the same order.
0/70000//1 You are trying to insert an existing order or update an order that does not exist. Please enter a correct operation code.
tell me how to identify the order in apps
thru orig_sys_document_ref or anything else
i m passing the same orig_sys_document_ref which is in headers table
can anyone help on what are the necessary details to pass to order import interface tables
thanksNot sure why you posted this in the OCI forum - an EBS forum (http://forums.oracle.com/forums/category.jspa?categoryID=3) is more appropriate.
HTH
Srini -
Issue in sales order order import program
Hi all,
I need to create a Sales Order using interface tables.First I inserted the record into the interface table OE_HEADERS_IFACE_ALL.I populated necessary columns in it.
Then I executed Order Import Concurrent program giving value of order source(which I created using order import source setup),order reference(which is origSysDocumentRef column value in the above said interface table).
But the concurrent program is not picking up the records in the interface table and its output shows no order to process.As a result no record is inserted in the OE_ORDER_HEADERS_ALL table.
I dont understand where the problem lies.Please help me out to solve the issue.
Thanks,
goutamHi Sandeep Gandhi,
Thanks for your reply.
Now Order Import Concurrent program picks up the header records from the OE_HEADERS_IFACE_ALL interface table successfully for processing.
But during the process some errors are raised, and the error_flag in the header interface table is set to 'Y'.
I want to know where can i find those errors,so that I can correct them.
Is there any error log tables that contains these errors occured during import?
Or we have any other way to identify it?
Please help me..
Thanks,
goutam -
How to import a java class in a JSP
Hi All,
I have a java class file called myTest.class (i made after compilation of myTest.java). I have a JSP page that uses this java class file.
These 2 files are in same folder called c:/test
and iam importing this java class file into my jsp file and that too at the start of this jsp file:
<%@page import="myTest" %>
BUt iam getting an error ..............when iam running this JSP page:
/opt/bea81sp2/user_projects/domains/wliDomain/./Managed2/.wlnotdelete/extract/Managed2_myTest_myTest/jsp_servlet/__test.java:20: '.' expected
probably occurred due to an error in /test.jsp line 5:
<%@page import="myTest" %>
Please advise how to solve this problem
-sangitaDon't bother with the import
when iam not importing this class file into my JSP, then on my JSP, the class file is not found.
Here is my code: and these 2 class file are in c:/test
import org.apache.tools.ant.taskdefs.Ant;
import org.apache.tools.ant.taskdefs.Property;
import org.apache.tools.ant.types.*;
import org.apache.tools.ant.*;
import org.apache.tools.ant.taskdefs.ExecTask;
import org.apache.tools.ant.types.Commandline;
import java.io.File;
* Creates an Ant project to run an Ant build
* @author myself
* @version 1.0
public class RunTest extends Ant {
String applicationName;
String buttonClicked;
String boxName;
String targetName;
public void applicationName(String applicationName){
this.applicationName = applicationName;
public void boxName(String boxName){
this.boxName = boxName;
public void buttonClicked(String buttonClicked){
this.buttonClicked = buttonClicked;
public RunTest() {
public void goTest() {
if(this.buttonClicked.equalsIgnoreCase("deploy") && this.applicationName.equalsIgnoreCase("scsmail") && this.boxName.equalsIgnoreCase("testnet")){
this.targetName = "deploy-scsmail-testnet";
if(this.buttonClicked.equalsIgnoreCase("undeploy") && this.applicationName.equalsIgnoreCase("scsmail") && this.boxName.equalsIgnoreCase("testnet")){
this.targetName = "undeploy-scsmail-testnet";
Project project = new Project();
project.init();
System.out.println("printing 1 ....");
ExecTask exec = new ExecTask();
exec.setProject(project);
exec.setExecutable("/opt/bea/weblogic81/server/bin/ant.bat");
exec.setDir(new java.io.File("/export/home/beamon/bin"));
Commandline.Argument arg = exec.createArg();
// arg.setLine("-f scsmail.xml test -listener org.apache.tools.ant.XmlLogger -logfile D:/antProject/src/log.xml");
arg.setLine("-f build.xml "+ targetName + " -listener org.apache.tools.ant.XmlLogger -logfile /export/home/beamon/bin/log.xml");
System.out.println("printing 2....");
//exec.setOutput(new File("D:/antProject/logs/prob.txt"));
exec.execute();
System.out.println("printing 3....");
-----------------------the JSP page is called as test.jsp
<%@page contentType="text/html" %>
<%@page import="java.io.*" %>
<%@page import="java.util.*" %>
<%@page import="java.net.*" %>
<%@page import="RunTest" %>
<HTML>
<TITLE>TESTING ANT GUI</TITLE>
<HEAD>
<META HTTP-EQUIV="Refresh" CONTENT="3000" >
<meta http-equiv="Cache-Control" content="no-cache">
</HEAD>
<BODY BGCOLOR="silver" TEXT="333333">
<table border=0>
<tr align="left"><td align="left"><FONT SIZE="-1"><B> Test Page <FONT SIZE="-1"><B></td></tr>
</table>
<hr></center>
<form action="./test.jsp" method="POST" name="testForm">
<table>
<tr>
<td>
<select name="appName" size=1>
<option value="">Select Application Name
<option value="scsmail">scsMail
<option value="clientmanager">ClientManager
</select>
</td>
<td>
<select name="boxName" size=1>
<option value="">Select Box Name
<option value="testnet">TestNet
<option value="production">Production
</select>
</td>
</table>
<table>
<input type="submit" name="deploy" value="deploy">
<input type="submit" name="undeploy" value="undeploy">
</table>
<%
RunTest rt = new RunTest();
rt.applicationName(request.getParameter("appName"));
String deployButton = "";
deployButton=request.getParameter("deploy");
String undeployButton = "";
undeployButton=request.getParameter("undeploy");
if(!deployButton.equalsIgnoreCase("")){
rt.buttonClicked(request.getParameter("deployButton"));
if(!undeployButton.equalsIgnoreCase("")){
rt.buttonClicked(request.getParameter("undeployButton"));
rt.boxName(request.getParameter("boxName"));
rt.goTest();
%>
</form>
</table>
</BODY>
</HTML> -
Problem in calling order import concurrent program from BPEL
Hi all,
Iam doing a sales order creation in oracle apps using Apps Adapter.
I have successfully inserted the order into the interface tables using an Apps adapter.
Now I need to run Order Import program from BPEL to move the data from interface tables to the base tables for which i use another Apps Adapter.
When I invoke the OEIMP concurrent program from BPEL ,request id is returned.But the concurrent program fails showing incomplete parameters.
But it works when I invoke it from the front end in oracle apps.
I think the problem lies in passing the inputs to the concurrent program from the BPEL.
Any help to solve the issue will be appreciated.
Thanks,
goutamPreviously, I was passing the values to the concurrent program variables through ASSIGN component,which resulted in some namespace issues.Then I replaced it with TRANSFORM component.
Also,First I assigned the values to the concurrent program variables as 'Vision Operations'(operating_unit), 'Online'(order_source) ,No (validate_only), No (validate_desc_flex) which are mandatory and just left non mandatory variables without assigning values.
I changed those values as *'204','0','N','N'*. And also set non mandatory variables value as EMPTY.
After doing all these I found the concurrent program catches all the parameter values correctly, and the records got imported from interface tables to the base tables.Thus the sales order got created successfully.
Thanks,
goutam -
Hi all,
Please refer to the error:
Root Components import: FAILURE
[2015-04-10 17:04:48.126] Process: w3wp |Organization:0937f109-45df-e411-80cf-0050560100db |Thread: 43 |Category: Exception |User: ac011cf7-ad36-405b-91cf-2155ca15efb1 |Level: Error |ReqId: d3924c06-ad4b-4d5e-a204-70f8170016e1 | CrmException..ctor
ilOffset = 0x30
at CrmException..ctor(String formattedErrorMessage, Int32 errorCode, Object[] arguments) ilOffset = 0x30
at ImportRootComponentsHandler.GetSolutionRootsCollection(Boolean throwIfMissing, Boolean skipRibbonCustomization) ilOffset = 0x209
at ImportRootComponentsHandler.ImportItem() ilOffset = 0x8
at ImportHandler.Import() ilOffset = 0x43
at RootImportHandler.ImportAndUpdateProgress(ImportHandler ih) ilOffset = 0x7
at RootImportHandler.HandleNonMetadataHandlers(String[] ImportEntities, ImportHandler& ihForCurrentPath) ilOffset = 0x33
at RootImportHandler.RunImport(String[] ImportEntities) ilOffset = 0x1D8
at ImportXml.RunImport(String[] ImportEntities) ilOffset = 0xE
at ImportXml.RunImport() ilOffset = 0x5BF
at ImportXmlService.ImportSolutionSkipCapable(Boolean overwriteUnmanagedCustomizations, Boolean publishWorkflows, Byte[] customizationFile, Guid importJobId, Boolean convertToManaged, Boolean skipProductUpdateDependencies,
ExecutionContext context) ilOffset = 0x46
at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) ilOffset = 0xFFFFFFFF
at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) ilOffset = 0x25
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ilOffset = 0xCF
at LogicalMethodInfo.Invoke(Object target, Object[] values) ilOffset = 0x4F
at InternalOperationPlugin.Execute(IServiceProvider serviceProvider) ilOffset = 0x57
at V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context) ilOffset = 0x200
at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context) ilOffset = 0x65
at Pipeline.Execute(PipelineExecutionContext context) ilOffset = 0x65
at MessageProcessor.Execute(PipelineExecutionContext context) ilOffset = 0x1C5
at InternalMessageDispatcher.Execute(PipelineExecutionContext context) ilOffset = 0xE4
at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode,
Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)
ilOffset = 0x16E
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId,
OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode) ilOffset = 0x1F1
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode) ilOffset
= 0x2D
at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode) ilOffset = 0x26
at InprocessServiceProxy.ExecuteCore(OrganizationRequest request) ilOffset = 0x34
at PlatformCommand.XrmExecuteInternal() ilOffset = 0xF6
at ImportSolutionCommand.Execute() ilOffset = 0x20
at DataSource.ImportSolution(Byte[] customizationFile, Boolean overwriteUnmanagedCustomizations, Boolean publishWorkflows, Guid importJobId, Boolean convertToManaged, Boolean skipProductUpdateDependencies, IOrganizationContext
context) ilOffset = 0x0
at SolutionImportProcessPage.ImportSolution() ilOffset = 0x123
at SolutionImportProcessPage.ProcessRequestData() ilOffset = 0x4A
at SolutionImportProcessPage.ProcessAction(String action) ilOffset = 0x92
at AppUIPage.OnPreRender(EventArgs e) ilOffset = 0xD
at Control.PreRenderRecursiveInternal() ilOffset = 0x54
at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ilOffset = 0x6D3
at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ilOffset = 0x3C
at Page.ProcessRequest() ilOffset = 0x14
at Page.ProcessRequest(HttpContext context) ilOffset = 0x33
at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() ilOffset = 0x18D
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ilOffset = 0x15
at ApplicationStepManager.ResumeSteps(Exception error) ilOffset = 0x10A
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) ilOffset = 0x5C
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) ilOffset = 0x16A
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType) ilOffset = 0x4B
>Crm Exception: Message: Cannot add a Root Component 0ffbcde4-61c1-4355-aa89-aa1d7b2b8792 of type 29 because it is not in the target system., ErrorCode: -2147188705
[2015-04-10 17:04:48.126] Process: w3wp |Organization:0937f109-45df-e411-80cf-0050560100db |Thread: 43 |Category: Platform.Sql |User: ac011cf7-ad36-405b-91cf-2155ca15efb1 |Level: Info |ReqId: d3924c06-ad4b-4d5e-a204-70f8170016e1 | BusinessProcessObject.ExecuteNonQuery
ilOffset = 0x28
I am getting this coming up in the error log when I attempt to import an unmanaged solution.
After searching on google Type 29 refers to a workflow.
I go into the source system and query the database by the GUID and discover that it is actually a Business Process Flow called 'Phone to Case Process'.
I do not have this process in my target system as I deleted it.
Looks like this is one of the out of the box ones. I don't think we we have changed this one much.
What does this mean and what should I be looking for??
Anyway how do I remove this offending process from the unmanaged solution xml file and attempt to re-import it?
It doesn't look like I can generate the solution again without the offending workflow/process..I managed to resolve this issue after looking at this thread:
https://social.microsoft.com/Forums/en-US/fddff17f-1cca-4d33-a666-60c08ad76b0c/crm-2011-import-failure?forum=crmdevelopment
Just modify both solution and customizations xml by searching for the guid and removing the root component
Maybe you are looking for
-
MAC OS X 10.6.3 issues with iTunes/Magic mouse
This is strange. Somehow I was able to upgrade Snow Leopard 10.6 to 10.6.3. How was that possible? I did this about a week or so ago. 10.6.3 is not available on Apple's download site today 2-7-2010. How did I get access to it? A couple of weeks ago,
-
What Should be on Time Machine Drive?
I decided to look at what I had on the drive I have for Time Machine and noticed that there is a folder called Backups.backupdb and then a copy of my computer (i.e. applications folder, library folder). I thought that was sort of strange and it click
-
Can't connect to my iMac when energy saver is active. Screensaver is okey, but if the screen is blacked out, I cant connect using vnc/teamviewer/logmein. SSH is okey. Anyone else having this issue? Worked great in snow leopard. Updated to 10.7.1 //Ni
-
I bought Final Cut Studio 2 Academic today. When I installed the studio, the check box for Final Cut Pro from selection of softwares to be installed was grayed out (I could not check it.) I installed all other softwares from this suites successfully
-
ADVANCED PULLDOWN REMOVAL - Problem with 60 Hours of Material
After I capture about 60 hours of material and worked for the past 3 months in a 90 minutes documentary I realized that the material was shoot in 24P advanced and was not captured in advanced pulldown removal mode! What should I do now? Should I do a