Decrypting data from Oracle 8.1.7.4 outside the database

I need to decrypt some data that is DES encrypted using Oracle 8i (8.1.7.4) and the DBMS Obfuscation Toolkit, outside of the database where it was encrypted, and I hope someone here might have some hints on how I can achieve that.
I have currently experimented with both encrypting and decrypting the same data using the obfuscation toolbit, Perl (Crypt::CBC / Crypt::EBC) and PHP (mcrypt), getting pretty much identical results from the latter. They do, however, not match what I see using the obfuscation toolkit, so the must be something here I don't quite understand.
From what I have gathered, the obfuscation toolkit encrypts the data using
* CBC
* Initialization vector consisting of 8 chr(0)'s
* Padding using spaces to achieve an encryption string of a multiple of 8 bytes.
Below I'm including 1) The PL/SQL code which is used to encrypt the data (des_encrypt_hex()), 2) the PHP code I used to test encryption. When trying to encode the same string using the obfuscation toolkit and PHP, I end up with completely different HEX values. I have also tried several variations of both this PHP code and the Perl code, using various other kinds of padding and chaining modes, but no luck.
If anyone could give me some pointers as to what I am doing wrong here, I'd be really grateful.
1)
================================================================================
FUNCTION des_encrypt
( string_in in VARCHAR2) RETURN VARCHAR2
IS
l_data varchar2(2000);
key_check_flag number;
l_encrypted_string varchar2(2000);
BEGIN
-- the key and the input data must have a length
-- divisible by eight (the key must be exactly 8 bytes long).
l_data := RPAD(string_in,(TRUNC(LENGTH(string_in)/8)+1)*8,CHR(32));
key_check_flag := mod(length(des_key_string),8);
IF key_check_flag != 0 then
RAISE_APPLICATION_ERROR(-20199,'Key should be 8 char long');
END IF;
-- Encrypt the input string
DBMS_OBFUSCATION_TOOLKIT.DESENCRYPT
( input_string => l_data,
key_string => des_key_string,
encrypted_string => l_encrypted_string);
RETURN l_encrypted_string;
END;
FUNCTION des_encrypt_hex
( string_in in VARCHAR2) RETURN VARCHAR2
IS
l_encrypted_string varchar2(2000);
BEGIN
l_encrypted_string := des_encrypt(string_in);
l_encrypted_string := rawtohex(UTL_RAW.CAST_TO_RAW(l_encrypted_string));
RETURN l_encrypted_string;
END;
===============================================================================
And the way I call it:
DECLARE
     RETURN_VALUE VARCHAR2(2000) := '-';
     STRING_IN VARCHAR2(2000) := '12345678901';
BEGIN
     RETURN_VALUE := KATALOG.PKG_PRKCRYPTO.DES_ENCRYPT_HEX(STRING_IN);
     DBMS_OUTPUT.PUT('RETURN_VALUE: ');
     DBMS_OUTPUT.PUT_LINE(RETURN_VALUE);
     DBMS_OUTPUT.PUT('STRING_IN: ');
     DBMS_OUTPUT.PUT_LINE(STRING_IN);
END;
GO
===============================================================================
2)
<?php
$space = chr(32);
$null = chr(0);
$key = "xxxxxxxx";
$input = "12345678901$space$space$space$space$space";
$iv = "$null$null$null$null$null$null$null$null";
print bin2hex(mcrypt_cbc(MCRYPT_DES, $key, $input, MCRYPT_ENCRYPT, $iv));
?>

I might have been unclear in my initial post, but I do have the DES encryption key used on the Oracle side. If you got that part, then my question would be: Is the Oracle 8.1.7.4 DES encryption incompatible with every other DES encryption implementation out there?

Similar Messages

  • Access SQL-Server Data from Oracle 10gXE

    Hello,
    I want to access sql-server data from oracle 10g XE. I need the same functionality provided by Sql-server by Linked Servers, by which we can query on any data source(oracle, Excel, Access).
    do, Oracle 10gXE provide us with same functionality ???
    any pointers ???

    Yes, it does work with Express Edition.
    Here is a thread from the XE forum with examples.
    Re: Database Link to MS Access
    They refer to a MS Access database, but the procedure is the same.
    Doug

  • Send encrypted data from oracle 11g to Ms SQL Server 12

    Hi every body,
    we want to send encrypted data from oracle 11g to Ms SQL Server 12:
    - data are encrypted to oracle
    - data should be sent encrypted to Ms SQL server
    - data will be decrypted in Ms SQL server by sensitive users.
    How can we do this senario, any one has contact simlare senario?
    can we use asymetric encription to do this senario?
    Please Help!!
    Thanks in advance.

    Hi,
      What you want to do about copying data from Oracle to SQL*Server using insert will work with the 12c gateway.  There was a problem trying to do this using the 11.2 gateway but it should be fixed with the 12c gateway.
    If 'insert' doesn't work then you can use the SQLPLUS 'copy' command, for example -
    SQL> COPY FROM SCOTT/TIGER@ORACLEDB -
    INSERT SCOTT.EMP@MSQL -
    USING SELECT * FROM EMP
    There is further information in this note available on My Oracle Support -
    Copying Data Between an Oracle Database and Non-Oracle Foreign Data Stores or Databases Using Gateways (Doc ID 171790.1)
    However, if the data is encrypted already in the Oracle database then it will be sent in the encrypted format. The gateway cannot decrypt the data before it is sent to SQL*Server.
    There is no specific documentation about the gateways and TDE.  TDE encrypts the data as it is in the Oracle database but I doubt that SQL*Server will be able to de-encrypt the Oracle data if it is passed in encrypted format and as far as I know it is not designed to be used for non-Oracle databases.
    The Gateway encrypts data as it is sent across the network for security but doesn't encrypt the data at source in the same way as TDE does.
    Regards,
    Mike

  • Get date from Oracle when local time zone is different from Oracle time zon

    Hi!
    Local machine time zone= +2
    Oracle time zone= +1
    I set date to Oracle using java.sql.Date.
    From application I save date at 00:30 clock and send e.g. 28.06.2002, but in Oracle date is save as 27.06.2002 01:00 (hour=01 , I suppose that is because java.sql.Date hasn't time the Oracle set it time = time zone=+1) And when I get date from Oracle I get incorrect date. In SQL I don't use date masks. Maybe solution is to use java.sql.Timestamp object (when save date to Oracle) instead of java.sql.Date?
    But if I save date at e.g. 01:00 clock and send e.g. 28:06.2002 in Oracle, date is save as 28.06.2002 01:00 and when I read from Oracle I get correct date.
    Thank you.

    Hi!
    Local machine time zone= +2
    Oracle time zone= +1
    I set date to Oracle using java.sql.Date.
    From application I save date at 00:30 clock and send
    e.g. 28.06.2002, but in Oracle date is save as
    27.06.2002 01:00 (hour=01 , I suppose that is because
    java.sql.Date hasn't time the Oracle set it time =
    time zone=+1) Presumably you are using setTimestamp() to store the value. If you are explicitly using a varchar (string) then you will have to correct the timezone your self.
    And when I get date from Oracle I get
    incorrect date. In SQL I don't use date masks. Maybe
    solution is to use java.sql.Timestamp object (when
    save date to Oracle) instead of java.sql.Date?The method setDate/getDate store a 'date' which is not the same as a 'date and time' for which setTimestamp/getTimestamp are used.
    But if I save date at e.g. 01:00 clock and send e.g.
    28:06.2002 in Oracle, date is save as 28.06.2002
    01:00 and when I read from Oracle I get correct date.
    Thank you.

  • How to extract data from oracle database directly in to bi7.0 (net weaver)

    how to extract data from oracle database directly in to bi7.0 (net weaver)? is it something do with EDI? can anybody explain me in detail?
    Thanks
    York

    You can use UDConnect to get from Oracle database in to BW
    <b>Data Transfer with UD Connect -</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/78/ef1441a509064abee6ffd6f38278fd/content.htm
    <b>Prerequisites</b>
    You have installed the SAP WAS J2EE Engine with BI Java components.  You can find more information on this in the SAP BW installation guide on the SAP Service Marketplace at service.sap.com/instguides.
    Hope it Helps
    Chetan
    @CP..

  • Exporting Data From Oracle 10g to Access

    Hi Experts,
    I need to export data from oracle apps shcema(each and every object in it) to MS ACCESS File.
    Please let me know how to do it
    Thanks and Regards,
    Andy

    Since you did not provide details of what you are planning to do, a very simple, however, depending upon the number of your tables, very labour intensive solution:
    Although being not very familiar with access, I think access offers a means to import csv files.
    So e.g. using SQL*Plus you can execute the following steps.
    set pagesize <nnn>
    set linesize <nnn>
    set colsep ',' -- You may choose other special characters to separate columns of your output
    spool <csv-file>
    select * from <tab>;
    spool offWherever you see <nnn> exchange by appropriate numeric values to get just one page as result and to configure your line size to hold a complete record in one output line.
    Replace <csv-file> and <tab> by the name of your output file to be read in to access and by the name of your table, respectively.

  • Error while retreiving data from oracle using EJB.

    HII All,
    I m getting this error while trying to retreive data from oracle DB using EJB.
    An error has occurred. Maybe the request is not accepted by the server:
    Exception in method empName.
    HTTP/1.1 500 Internal Server Error
    Connection: close
    Server: SAP J2EE Engine/6.40
    Content-Type: text/xml; charset=UTF-8
    Set-Cookie: <value is hidden>
    Date: Mon, 24 Jul 2006 10:50:11 GMT
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>Exception in method empName.</faultstring><detail><ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException xmlns:ns1='http://sap-j2ee-engine/client-runtime-error'>Exception in method empName.</ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
    Thanks in advance
    Devendra Phate.

    Hi Devendra,
    this error message does not tell me much. Pleas either start debugging or watch your logs for more detailed messages.
    Regards,
    Benny

  • Error while Viewing SQL Server data from Oracle

    Dear Friends,
    I am using Oracle10g XE.
    I have made a connection to view or insert data in SQL Server Database from Oracle.
    I  have done all the things with the help of below link.
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    Everything worked fine. but when i run below query
    select "EmployeeNo" from hrtattendance@mysqlserverdsn
    it gives an error which is mentioned below
    ERROR at line 1:
    ora-28545: error diagnosed by Net8 when connecting to an agent
    Unable to reteieve text of  NETWORK/NCR MESSAGE 65535
    ORA-02063: preceding 2 lines from MYSQLSERVERDSN
    Please help. I will be thankful.
    Regards,

    Dear Klaus,
    Here u go.
    C:\>C:\oraclexe\app\oracle\product\10.2.0\server\bin\hsodbc
    Oracle Corporation --- TUESDAY   JUN 24 2014 16:28:20.146
    Heterogeneous Agent Release 10.2.0.1.0 - Production  Built with
       Driver for ODBC
    C:\>C:\oraclexe\app\oracle\product\10.2.0\server\bin\tnsping MYSQLSERVERDSN
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 24-JUN-2
    014 16:28:33
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT
    =1522)) (CONNECT_DATA=(SID=MYSQLSERVERDSN)) (HS=OK))
    TNS-12541: TNS:no listener
    C:\>C:\oraclexe\app\oracle\product\10.2.0\server\bin\lsnrctl status LISTENERMYSQLSERVERDSN
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 24-JUN-2014 16:28
    :48
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 61: Unknown error
    Connecting to (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 2: No such file or directory
    C:\>
    Regards,

  • Error, while pushing the data from Oracle to MSSQL.

    Hi,
    I am facing the below error, while pushing the data from Oracle to MSSQL.
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for MSSQL][Microsoft][ODBC SQL Server Driver][SQL Server]Update or insert of view or function 'View_Name' failed because it contains a derived or constant field.[Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. (SQL State: 00000; SQL Code: 8180)
    Please suggest me, how to overcome from this.
    Thanks.

    [email protected] wrote:
    Hi,
    I am facing the below error, while pushing the data from Oracle to MSSQL.
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for MSSQL][Microsoft][ODBC SQL Server Driver][SQL Server]Update or insert of view or function 'View_Name' failed because it contains a derived or constant field.[Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. (SQL State: 00000; SQL Code: 8180)
    Please suggest me, how to overcome from this.
    Thanks.This is an error from SQL Server being passed back to Oracle so you can see the problem.
    What it is saying is that you are trying to insert (or update) data to a database view and that view contains a column that is either a constant (literal) value or is derived (a calculation, formula or string concatenation etc.).
    As such, you can't insert or update data on that column because it has nowhere to go on the database table(s) that underly the view.

  • Sending PO data from Oracle APPS 11i to another Oracle APPS 11i

    I am trying to send the XML message (Purchase Order Data) from the Oracle APPS 11i to the other Oracle APPS 11i using XML Gateway and the AQ Adaptors in both outbound and inbound. I have created the Receive Activity for Outbound AQ Adaptor and the Invoke Activity for the Inbound AQ Adaptor and the Assign Activity in the middle to assign the variables for both Receive and Invoke Acvities.
    I have created a partner link using AQ adapter to Dequeuing the data from Oracle APPS 11i that generated by XML Gateway and also have created a partner link using AQ adapter to Enqueuing the data.
    When I run, it gives me an error on the Enqueuing side with the followings:
    [2006/04/04 10:03:57] New instance of BPEL process "XML2APPS" initiated (# "18").
    <process>
    <sequence>
    AQ_Receive
    [2006/04/04 10:03:57] Received "Receive_Dequeue_InputVariable" call from partner "PO_IN_QUEUE" More...
    <Receive_Dequeue_InputVariable>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="ReceiveDocument">
    <PROCESS_PO_007>
    <CNTROLAREA>
    <BSR>
    <VERB value="PROCESS">PROCESS</VERB>
    <NOUN value="PO">PO</NOUN>
    <REVISION value="007">007</REVISION>
    </BSR>
    <SENDER>
    <LOGICALID>ORACLE</LOGICALID>
    <COMPONENT>PURCHASING</COMPONENT>
    <TASK>POISSUE</TASK>
    <REFERENCEID>VIS.US.ORACLE.COM:oracle.apps.po.event.xmlpo:32570-148852</REFERENCEID>
    <CONFIRMATION>0</CONFIRMATION>
    <LANGUAGE>US</LANGUAGE>
    <CODEPAGE>UTF8</CODEPAGE>
    <AUTHID>APPS</AUTHID>
    </SENDER>
    <DATETIME qualifier="CREATION" type="T" index="1">
    <YEAR>2006</YEAR>
    <MONTH>04</MONTH>
    <DAY>03</DAY>
    <HOUR>13</HOUR>
    <MINUTE>02</MINUTE>
    <SECOND>29</SECOND>
    <SUBSECOND>0000</SUBSECOND>
    <TIMEZONE>+0000</TIMEZONE>
    </DATETIME>
    </CNTROLAREA>
    <DATAAREA>
    <PROCESS_PO>
    <POORDERHDR>
    <DATETIME qualifier="DOCUMENT" type="T" index="1">
    <YEAR>2006</YEAR>
    <MONTH>04</MONTH>
    <DAY>03</DAY>
    <HOUR>13</HOUR>
    <MINUTE>00</MINUTE>
    <SECOND>45</SECOND>
    <SUBSECOND>0000</SUBSECOND>
    <TIMEZONE>+0000</TIMEZONE>
    </DATETIME>
    <OPERAMT qualifier="EXTENDED" type="T">
    <VALUE>267</VALUE>
    <NUMOFDEC>2</NUMOFDEC>
    <SIGN>+</SIGN>
    <CURRENCY>USD</CURRENCY>
    <UOMVALUE>1</UOMVALUE>
    <UOMNUMDEC>0</UOMNUMDEC>
    <UOM />
    </OPERAMT>
    <POID>4484</POID>
    <POTYPE>STANDARD</POTYPE>
    <ACKREQUEST>N</ACKREQUEST>
    <CONTRACTB />
    <CONTRACTS />
    <DESCRIPTN />
    <PORELEASE />
    <USERAREA>
    <DATETIME qualifier="ACTSTART" type="T" index="1">
    <YEAR />
    <MONTH />
    <DAY />
    <HOUR />
    <MINUTE />
    <SECOND />
    <SUBSECOND />
    <TIMEZONE />
    </DATETIME>
    <DATETIME qualifier="ACTEND" type="T" index="1">
    <YEAR />
    <MONTH />
    <DAY />
    <HOUR />
    <MINUTE />
    <SECOND />
    <SUBSECOND />
    <TIMEZONE />
    </DATETIME>
    <FOB>
    <DESCRIPTN>Vendor's responsibility ceases upon transfer to carrier</DESCRIPTN>
    <TERMID>Origin</TERMID>
    </FOB>
    <TANDC />
    <FTTERM>
    <DESCRIPTN>No Freight Charge</DESCRIPTN>
    <TERMID>NONE</TERMID>
    </FTTERM>
    <EXCHRATE />
    <DATETIME qualifier="EXCHRATEDATE">
    <YEAR />
    <MONTH />
    <DAY />
    <HOUR />
    <MINUTE />
    <SECOND />
    <SUBSECOND />
    <TIMEZONE />
    </DATETIME>
    <DATETIME qualifier="APPREQ" type="T" index="1">
    <YEAR />
    <MONTH />
    <DAY />
    <HOUR />
    <MINUTE />
    <SECOND />
    <SUBSECOND />
    <TIMEZONE />
    </DATETIME>
    <CONFIRM>N</CONFIRM>
    <SHIPPINGCONTROL />
    <DFFPOHEADER>
    <ATTRIBUTE1 />
    <ATTRIBUTE2 />
    <ATTRIBUTE3 />
    <ATTRIBUTE4 />
    <ATTRIBUTE5 />
    <ATTRIBUTE6 />
    <ATTRIBUTE7 />
    <ATTRIBUTE8 />
    <ATTRIBUTE9 />
    <ATTRIBUTE10 />
    <ATTRIBUTE11 />
    <ATTRIBUTE12 />
    <ATTRIBUTE13 />
    <ATTRIBUTE14 />
    <ATTRIBUTE15 />
    <ATTRIBUTE16 />
    </DFFPOHEADER>
    <PCARDHDR>
    <MEMBERNAME />
    <PCARDNUM />
    <DATETIME qualifier="EXPIRATION">
    <YEAR />
    <MONTH />
    <DAY />
    <HOUR />
    <MINUTE />
    <SECOND />
    <SUBSECOND />
    <TIMEZONE />
    </DATETIME>
    <PCARDBRAND />
    </PCARDHDR>
    </USERAREA>
    <PARTNER>
    <NAME index="1">Nate OD88/VIS2 Supplier TEST</NAME>
    <ONETIME>0</ONETIME>
    <PARTNRID>20027</PARTNRID>
    <PARTNRTYPE>Supplier</PARTNRTYPE>
    <CURRENCY>USD</CURRENCY>
    <DUNSNUMBER />
    <PARTNRIDX>1923</PARTNRIDX>
    <TAXID />
    <TERMID />
    <USERAREA>
    <DFFVENDOR>
    <ATTRIBUTE1 />
    <ATTRIBUTE2 />
    <ATTRIBUTE3 />
    <ATTRIBUTE4 />
    <ATTRIBUTE5 />
    <ATTRIBUTE6 />
    <ATTRIBUTE7 />
    <ATTRIBUTE8 />
    <ATTRIBUTE9 />
    <ATTRIBUTE10 />
    <ATTRIBUTE11 />
    <ATTRIBUTE12 />
    <ATTRIBUTE13 />
    <ATTRIBUTE14 />
    <ATTRIBUTE15 />
    <ATTRIBUTE16 />
    </DFFVENDOR>
    <CUSTOMERNUM />
    </USERAREA>
    <ADDRESS>
    <ADDRLINE index="1">VIS2 address</ADDRLINE>
    <ADDRLINE index="2" />
    <ADDRLINE index="3" />
    <ADDRTYPE />
    <CITY>Reston</CITY>
    <COUNTRY>US</COUNTRY>
    <COUNTY />
    <DESCRIPTN>VIS2/OD88 SITE</DESCRIPTN>
    <FAX index="1" />
    <POSTALCODE />
    <REGION />
    <STATEPROVN>VA</STATEPROVN>
    <TAXJRSDCTN />
    <TELEPHONE index="1" />
    <TELEPHONE index="2" />
    <TELEPHONE index="3" />
    <URL />
    <USERAREA>
    <DFFVENDORSITE>
    <ATTRIBUTE1 />
    <ATTRIBUTE2 />
    <ATTRIBUTE3 />
    <ATTRIBUTE4 />
    <ATTRIBUTE5 />
    <ATTRIBUTE6 />
    <ATTRIBUTE7 />
    <ATTRIBUTE8 />
    <ATTRIBUTE9 />
    <ATTRIBUTE10 />
    <ATTRIBUTE11 />
    <ATTRIBUTE12 />
    <ATTRIBUTE13 />
    <ATTRIBUTE14 />
    <ATTRIBUTE15 />
    <ATTRIBUTE16 />
    </DFFVENDORSITE>
    </USERAREA>
    </ADDRESS>
    <CONTACT>
    <NAME index="1" />
    <EMAIL />
    <FAX index="1" />
    <TELEPHONE index="1">-</TELEPHONE>
    </CONTACT>
    </PARTNER>
    <PARTNER>
    <NAME index="1">Vision Operations</NAME>
    <ONETIME>0</ONETIME>
    <PARTNRID>204</PARTNRID>
    <PARTNRTYPE>SoldTo</PARTNRTYPE>
    <CURRENCY>USD</CURRENCY>
    <DUNSNUMBER />
    <PARTNRIDX />
    <PAYMETHOD />
    <TAXID />
    <TERMID />
    <USERAREA />
    <ADDRESS>
    <ADDRLINE index="1">222 Oracle Way</ADDRLINE>
    <ADDRLINE index="2" />
    <ADDRLINE index="3" />
    <ADDRTYPE />
    <CITY>Reston</CITY>
    <COUNTRY>US</COUNTRY>
    <COUNTY />
    <DESCRIPTN />
    <FAX index="1" />
    <POSTALCODE>20190</POSTALCODE>
    <REGION />
    <STATEPROVN>VA</STATEPROVN>
    <TAXJRSDCTN />
    <TELEPHONE index="1" />
    <TELEPHONE index="2" />
    <TELEPHONE index="3" />
    <URL />
    <USERAREA />
    </ADDRESS>
    <CONTACT>
    <NAME index="1">Ross, Nate</NAME>
    <CONTCTTYPE />
    <DESCRIPTN />
    <EMAIL />
    <FAX index="1" />
    <TELEPHONE index="1" />
    <USERAREA />
    </CONTACT>
    </PARTNER>
    <PARTNER>
    <NAME index="1">Vision Operations</NAME>
    <ONETIME>0</ONETIME>
    <PARTNRID>204</PARTNRID>
    <PARTNRTYPE>BillTo</PARTNRTYPE>
    <CURRENCY />
    <DUNSNUMBER />
    <PARTNRIDX />
    <PAYMETHOD />
    <TERMID />
    <USERAREA />
    <ADDRESS>
    <ADDRLINE index="1">222 Oracle Way</ADDRLINE>
    <ADDRLINE index="2" />
    <ADDRLINE index="3" />
    <ADDRTYPE />
    <CITY>Reston</CITY>
    <COUNTRY>US</COUNTRY>
    <COUNTY />
    <DESCRIPTN />
    <FAX index="1" />
    <POSTALCODE>20190</POSTALCODE>
    <REGION />
    <STATEPROVN>VA</STATEPROVN>
    <TAXJRSDCTN />
    <TELEPHONE index="1" />
    <TELEPHONE index="2" />
    <TELEPHONE index="3" />
    <URL />
    <USERAREA />
    </ADDRESS>
    </PARTNER>
    <PARTNER>
    <NAME index="1">UPS</NAME>
    <ONETIME>0</ONETIME>
    <PARTNRID />
    <PARTNRTYPE>Carrier</PARTNRTYPE>
    <PARTNRIDX>UPS</PARTNRIDX>
    </PARTNER>
    <POTERM>
    <DESCRIPTN>Scheduled for payment 45 days from the invoice date (invoice terms date = system date, goods received date, invoice date or invoice received date). Invoice terms date can default from supplier header, site, PO, system default, etc.</DESCRIPTN>
    <TERMID>45 Net (terms date + 45)</TERMID>
    <DAYSNUM />
    <QUANTITY qualifier="PERCENT">
    <VALUE />
    <NUMOFDEC />
    <SIGN />
    <UOM />
    </QUANTITY>
    <USERAREA />
    </POTERM>
    </POORDERHDR>
    <POORDERLIN>
    <QUANTITY qualifier="ORDERED">
    <VALUE>3</VALUE>
    <NUMOFDEC />
    <SIGN>+</SIGN>
    <UOM>QT</UOM>
    </QUANTITY>
    <OPERAMT qualifier="UNIT" type="T">
    <VALUE>89</VALUE>
    <NUMOFDEC>2</NUMOFDEC>
    <SIGN>+</SIGN>
    <CURRENCY>USD</CURRENCY>
    <UOMVALUE>1</UOMVALUE>
    <UOMNUMDEC>0</UOMNUMDEC>
    <UOM>QT</UOM>
    </OPERAMT>
    <POLINENUM>1</POLINENUM>
    <HAZRDMATL />
    <ITEMRV>0</ITEMRV>
    <ITEMRVX />
    <POLNSTATUS />
    <DESCRIPTN>10-40W Car / Truck Motor Oil</DESCRIPTN>
    <ITEM>10-40W Oil</ITEM>
    <ITEMX />
    <USERAREA>
    <REQUESTOR />
    <CATEGORYID>MISC.MISC</CATEGORYID>
    <CONTRACTNUM />
    <CONTRACTPONUM />
    <CONTRACTPOLINENUM />
    <VENDORQUOTENUM />
    <CONFIGID />
    <LISTPRICE>.89</LISTPRICE>
    <MARKETPRICE />
    <PRICENOTTOEXCEED />
    <NEGPRICE>N</NEGPRICE>
    <TAXABLE>N</TAXABLE>
    <TXNREASONCODE />
    <TYPE1099 />
    <LINEORDERTYPE>Goods</LINEORDERTYPE>
    <HAZRDUNNUM />
    <HAZRDUNDESC />
    <DFFLINE>
    <ATTRIBUTE1 />
    <ATTRIBUTE2 />
    <ATTRIBUTE3 />
    <ATTRIBUTE4 />
    <ATTRIBUTE5 />
    <ATTRIBUTE6 />
    <ATTRIBUTE7 />
    <ATTRIBUTE8 />
    <ATTRIBUTE9 />
    <ATTRIBUTE10 />
    <ATTRIBUTE11 />
    <ATTRIBUTE12 />
    <ATTRIBUTE13 />
    <ATTRIBUTE14 />
    <ATTRIBUTE15 />
    <ATTRIBUTE16 />
    </DFFLINE>
    <DFFITEM>
    <ATTRIBUTE1 />
    <ATTRIBUTE2 />
    <ATTRIBUTE3 />
    <ATTRIBUTE4 />
    <ATTRIBUTE5 />
    <ATTRIBUTE6 />
    <ATTRIBUTE7 />
    <ATTRIBUTE8 />
    <ATTRIBUTE9 />
    <ATTRIBUTE10>Y</ATTRIBUTE10>
    <ATTRIBUTE11 />
    <ATTRIBUTE12 />
    <ATTRIBUTE13 />
    <ATTRIBUTE14 />
    <ATTRIBUTE15 />
    <ATTRIBUTE16 />
    </DFFITEM>
    <KFFITEM>
    <ATTRIBUTE1>MISC</ATTRIBUTE1>
    <ATTRIBUTE2>MISC</ATTRIBUTE2>
    <ATTRIBUTE3 />
    <ATTRIBUTE4 />
    <ATTRIBUTE5 />
    <ATTRIBUTE6 />
    <ATTRIBUTE7 />
    <ATTRIBUTE8 />
    <ATTRIBUTE9 />
    <ATTRIBUTE10 />
    <ATTRIBUTE11 />
    <ATTRIBUTE12 />
    <ATTRIBUTE13 />
    <ATTRIBUTE14 />
    <ATTRIBUTE15 />
    <ATTRIBUTE16 />
    <ATTRIBUTE17 />
    <ATTRIBUTE18 />
    <ATTRIBUTE19 />
    <ATTRIBUTE20 />
    </KFFITEM>
    <GLOBALCONTRACT />
    <GLOBALCONTRACTLIN />
    <JOBTITLE />
    <AMOUNT qualifier="TOTAL" type="T">
    <VALUE />
    <NUMOFDEC />
    <SIGN />
    <CURRENCY />
    <DRCR>C</DRCR>
    </AMOUNT>
    <CONTRACTORFIRSTNAME />
    <CONTRACTORLASTNAME />
    <DATETIME qualifier="ACTSTART" type="T" index="1">
    <YEAR />
    <MONTH />
    <DAY />
    <HOUR />
    <MINUTE />
    <SECOND />
    <SUBSECOND />
    <TIMEZONE />
    </DATETIME>
    <DATETIME qualifier="ACTEND" type="T" index="1">
    <YEAR />
    <MONTH />
    <DAY />
    <HOUR />
    <MINUTE />
    <SECOND />
    <SUBSECOND />
    <TIMEZONE />
    </DATETIME>
    </USERAREA>
    <POLINESCHD>
    <DATETIME qualifier="NEEDDELV" type="T" index="1">
    <YEAR />
    <MONTH />
    <DAY />
    <HOUR />
    <MINUTE />
    <SECOND />
    <SUBSECOND />
    <TIMEZONE />
    </DATETIME>
    <QUANTITY qualifier="ORDERED">
    <VALUE>3</VALUE>
    <NUMOFDEC />
    <SIGN>+</SIGN>
    <UOM>QT</UOM>
    </QUANTITY>
    <DESCRIPTN />
    <PSCLINENUM>1</PSCLINENUM>
    <USERAREA>
    <DATETIME qualifier="PROMSHIP">
    <YEAR>2006</YEAR>
    <MONTH>04</MONTH>
    <DAY>03</DAY>
    <HOUR>00</HOUR>
    <MINUTE>00</MINUTE>
    <SECOND>00</SECOND>
    <SUBSECOND>0000</SUBSECOND>
    <TIMEZONE>+0000</TIMEZONE>
    </DATETIME>
    <DATETIME qualifier="APPROVAL">
    <YEAR>2006</YEAR>
    <MONTH>04</MONTH>
    <DAY>08</DAY>
    <HOUR>00</HOUR>
    <MINUTE>00</MINUTE>
    <SECOND>00</SECOND>
    <SUBSECOND>0000</SUBSECOND>
    <TIMEZONE>+0000</TIMEZONE>
    </DATETIME>
    <OPERAMT qualifier="UNIT" type="T">
    <VALUE>.89</VALUE>
    <NUMOFDEC />
    <SIGN />
    <CURRENCY>USD</CURRENCY>
    <UOMVALUE />
    <UOMNUMDEC />
    <UOM />
    </OPERAMT>
    <PRICEOVRRD />
    <TAXABLE>N</TAXABLE>
    <TAXCODE />
    <PARTNER>
    <NAME index="1">Vision Operations</NAME>
    <ONETIME>0</ONETIME>
    <PARTNRID>204</PARTNRID>
    <PARTNRTYPE>ShipTo</PARTNRTYPE>
    <CURRENCY>USD</CURRENCY>
    <DUNSNUMBER />
    <PARTNRIDX />
    <PAYMETHOD />
    <TERMID />
    <USERAREA />
    <ADDRESS>
    <ADDRLINE index="1" />
    <ADDRLINE index="2" />
    <ADDRLINE index="3" />
    <ADDRTYPE />
    <CITY />
    <COUNTRY />
    <COUNTY />
    <DESCRIPTN />
    <FAX index="1" />
    <POSTALCODE />
    <REGION />
    <STATEPROVN />
    <TAXJRSDCTN />
    <TELEPHONE index="1" />
    <TELEPHONE index="2" />
    <TELEPHONE index="3" />
    <URL />
    <USERAREA />
    </ADDRESS>
    <CONTACT>
    <NAME index="1" />
    <CONTCTTYPE />
    <EMAIL />
    <FAX index="1" />
    <TELEPHONE index="1" />
    </CONTACT>
    </PARTNER>
    <PARTNER>
    <NAME index="1" />
    <ONETIME />
    <PARTNRID />
    <PARTNRTYPE />
    <PARTNRIDX />
    <USERAREA />
    <ADDRESS>
    <ADDRLINE index="1" />
    <ADDRLINE index="2" />
    <ADDRTYPE />
    </ADDRESS>
    <CONTACT>
    <NAME index="1" />
    <CONTCTTYPE />
    <EMAIL />
    <FAX index="1" />
    <TELEPHONE index="1" />
    </CONTACT>
    </PARTNER>
    <DROPSHIPDETAILS>
    <DROPSHIPMENT />
    <DROPSHIPCUSTNAME />
    <SHIPINSTR />
    <PACKINSTR />
    <SHIPMETHOD />
    <CUSTOMERPONUM />
    <CUSTOMERLINENUM />
    <CUSTOMERSHIPNUM />
    <CUSTOMERDESC />
    </DROPSHIPDETAILS>
    <CONSIGNEDINV>N</CONSIGNEDINV>
    <AMOUNT qualifier="TOTAL" type="T">
    <VALUE />
    <NUMOFDEC />
    <SIGN />
    <CURRENCY />
    <DRCR>C</DRCR>
    </AMOUNT>
    </USERAREA>
    </POLINESCHD>
    </POORDERLIN>
    </PROCESS_PO>
    </DATAAREA>
    </PROCESS_PO_007>
    </part>
    </Receive_Dequeue_InputVariable>
    Assign_Input2Output
    [2006/04/04 10:03:57] Updated variable "Invoke_Enqueue_InputVariable" More...
    <Invoke_Enqueue_InputVariable>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="ReceiveDocument">
    <ReceiveDocument xmlns="http://xmlns.oracle.com/apps/fnd/XMLGateway">
    <CNTROLAREA xmlns="">
    <BSR>
    <VERB value="PROCESS">PROCESS</VERB>
    <NOUN value="PO">PO</NOUN>
    <REVISION value="007">007</REVISION>
    </BSR>
    <SENDER>
    <LOGICALID>ORACLE</LOGICALID>
    <COMPONENT>PURCHASING</COMPONENT>
    <TASK>POISSUE</TASK>
    <REFERENCEID>VIS.US.ORACLE.COM:oracle.apps.po.event.xmlpo:32570-148852</REFERENCEID>
    <CONFIRMATION>0</CONFIRMATION>
    <LANGUAGE>US</LANGUAGE>
    <CODEPAGE>UTF8</CODEPAGE>
    <AUTHID>APPS</AUTHID>
    </SENDER>
    <DATETIME qualifier="CREATION" type="T" index="1">
    <YEAR>2006</YEAR>
    <MONTH>04</MONTH>
    <DAY>03</DAY>
    <HOUR>13</HOUR>
    <MINUTE>02</MINUTE>
    <SECOND>29</SECOND>
    <SUBSECOND>0000</SUBSECOND>
    <TIMEZONE>+0000</TIMEZONE>
    </DATETIME>
    </CNTROLAREA>
    <DATAAREA xmlns="">
    <PROCESS_PO>
    <POORDERHDR>
    <DATETIME qualifier="DOCUMENT" type="T" index="1">
    <YEAR>2006</YEAR>
    <MONTH>04</MONTH>
    <DAY>03</DAY>
    <HOUR>13</HOUR>
    <MINUTE>00</MINUTE>
    <SECOND>45</SECOND>
    <SUBSECOND>0000</SUBSECOND>
    <TIMEZONE>+0000</TIMEZONE>
    </DATETIME>
    <OPERAMT qualifier="EXTENDED" type="T">
    <VALUE>267</VALUE>
    <NUMOFDEC>2</NUMOFDEC>
    <SIGN>+</SIGN>
    <CURRENCY>USD</CURRENCY>
    <UOMVALUE>1</UOMVALUE>
    <UOMNUMDEC>0</UOMNUMDEC>
    <UOM />
    </OPERAMT>
    <POID>4484</POID>
    <POTYPE>STANDARD</POTYPE>
    <ACKREQUEST>N</ACKREQUEST>
    <CONTRACTB />
    <CONTRACTS />
    <DESCRIPTN />
    <PORELEASE />
    <USERAREA>
    <DATETIME qualifier="ACTSTART" type="T" index="1">
    <YEAR />
    <MONTH />
    <DAY />
    <HOUR />
    <MINUTE />
    <SECOND />
    <SUBSECOND />
    <TIMEZONE />
    </DATETIME>
    <DATETIME qualifier="ACTEND" type="T" index="1">
    <YEAR />
    <MONTH />
    <DAY />
    <HOUR />
    <MINUTE />
    <SECOND />
    <SUBSECOND />
    <TIMEZONE />
    </DATETIME>
    <FOB>
    <DESCRIPTN>Vendor's responsibility ceases upon transfer to carrier</DESCRIPTN>
    <TERMID>Origin</TERMID>
    </FOB>
    <TANDC />
    <FTTERM>
    <DESCRIPTN>No Freight Charge</DESCRIPTN>
    <TERMID>NONE</TERMID>
    </FTTERM>
    <EXCHRATE />
    <DATETIME qualifier="EXCHRATEDATE">
    <YEAR />
    <MONTH />
    <DAY />
    <HOUR />
    <MINUTE />
    <SECOND />
    <SUBSECOND />
    <TIMEZONE />
    </DATETIME>
    <DATETIME qualifier="APPREQ" type="T" index="1">
    <YEAR />
    <MONTH />
    <DAY />
    <HOUR />
    <MINUTE />
    <SECOND />
    <SUBSECOND />
    <TIMEZONE />
    </DATETIME>
    <CONFIRM>N</CONFIRM>
    <SHIPPINGCONTROL />
    <DFFPOHEADER>
    <ATTRIBUTE1 />
    <ATTRIBUTE2 />
    <ATTRIBUTE3 />
    <ATTRIBUTE4 />
    <ATTRIBUTE5 />
    <ATTRIBUTE6 />
    <ATTRIBUTE7 />
    <ATTRIBUTE8 />
    <ATTRIBUTE9 />
    <ATTRIBUTE10 />
    <ATTRIBUTE11 />
    <ATTRIBUTE12 />
    <ATTRIBUTE13 />
    <ATTRIBUTE14 />
    <ATTRIBUTE15 />
    <ATTRIBUTE16 />
    </DFFPOHEADER>
    <PCARDHDR>
    <MEMBERNAME />
    <PCARDNUM />
    <DATETIME qualifier="EXPIRATION">
    <YEAR />
    <MONTH />
    <DAY />
    <HOUR />
    <MINUTE />
    <SECOND />
    <SUBSECOND />
    <TIMEZONE />
    </DATETIME>
    <PCARDBRAND />
    </PCARDHDR>
    </USERAREA>
    <PARTNER>
    <NAME index="1">Nate OD88/VIS2 Supplier TEST</NAME>
    <ONETIME>0</ONETIME>
    <PARTNRID>20027</PARTNRID>
    <PARTNRTYPE>Supplier</PARTNRTYPE>
    <CURRENCY>USD</CURRENCY>
    <DUNSNUMBER />
    <PARTNRIDX>1923</PARTNRIDX>
    <TAXID />
    <TERMID />
    <USERAREA>
    <DFFVENDOR>
    <ATTRIBUTE1 />
    <ATTRIBUTE2 />
    <ATTRIBUTE3 />
    <ATTRIBUTE4 />
    <ATTRIBUTE5 />
    <ATTRIBUTE6 />
    <ATTRIBUTE7 />
    <ATTRIBUTE8 />
    <ATTRIBUTE9 />
    <ATTRIBUTE10 />
    <ATTRIBUTE11 />
    <ATTRIBUTE12 />
    <ATTRIBUTE13 />
    <ATTRIBUTE14 />
    <ATTRIBUTE15 />
    <ATTRIBUTE16 />
    </DFFVENDOR>
    <CUSTOMERNUM />
    </USERAREA>
    <ADDRESS>
    <ADDRLINE index="1">VIS2 address</ADDRLINE>
    <ADDRLINE index="2" />
    <ADDRLINE index="3" />
    <ADDRTYPE />
    <CITY>Reston</CITY>
    <COUNTRY>US</COUNTRY>
    <COUNTY />
    <DESCRIPTN>VIS2/OD88 SITE</DESCRIPTN>
    <FAX index="1" />
    <POSTALCODE />
    <REGION />
    <STATEPROVN>VA</STATEPROVN>
    <TAXJRSDCTN />
    <TELEPHONE index="1" />
    <TELEPHONE index="2" />
    <TELEPHONE index="3" />
    <URL />
    <USERAREA>
    <DFFVENDORSITE>
    <ATTRIBUTE1 />
    <ATTRIBUTE2 />
    <ATTRIBUTE3 />
    <ATTRIBUTE4 />
    <ATTRIBUTE5 />
    <ATTRIBUTE6 />
    <ATTRIBUTE7 />
    <ATTRIBUTE8 />
    <ATTRIBUTE9 />
    <ATTRIBUTE10 />
    <ATTRIBUTE11 />
    <ATTRIBUTE12 />
    <ATTRIBUTE13 />
    <ATTRIBUTE14 />
    <ATTRIBUTE15 />
    <ATTRIBUTE16 />
    </DFFVENDORSITE>
    </USERAREA>
    </ADDRESS>
    <CONTACT>
    <NAME index="1" />
    <EMAIL />
    <FAX index="1" />
    <TELEPHONE index="1">-</TELEPHONE>
    </CONTACT>
    </PARTNER>
    <PARTNER>
    <NAME index="1">Vision Operations</NAME>
    <ONETIME>0</ONETIME>
    <PARTNRID>204</PARTNRID>
    <PARTNRTYPE>SoldTo</PARTNRTYPE>
    <CURRENCY>USD</CURRENCY>
    <DUNSNUMBER />
    <PARTNRIDX />
    <PAYMETHOD />
    <TAXID />
    <TERMID />
    <USERAREA />
    <ADDRESS>
    <ADDRLINE index="1">222 Oracle Way</ADDRLINE>
    <ADDRLINE index="2" />
    <ADDRLINE index="3" />
    <ADDRTYPE />
    <CITY>Reston</CITY>
    <COUNTRY>US</COUNTRY>
    <COUNTY />
    <DESCRIPTN />
    <FAX index="1" />
    <POSTALCODE>20190</POSTALCODE>
    <REGION />
    <STATEPROVN>VA</STATEPROVN>
    <TAXJRSDCTN />
    <TELEPHONE index="1" />
    <TELEPHONE index="2" />
    <TELEPHONE index="3" />
    <URL />
    <USERAREA />
    </ADDRESS>
    <CONTACT>
    <NAME index="1">Ross, Nate</NAME>
    <CONTCTTYPE />
    <DESCRIPTN />
    <EMAIL />
    <FAX index="1" />
    <TELEPHONE index="1" />
    <USERAREA />
    </CONTACT>
    </PARTNER>
    <PARTNER>
    <NAME index="1">Vision Operations</NAME>
    <ONETIME>0</ONETIME>
    <PARTNRID>204</PARTNRID>
    <PARTNRTYPE>BillTo</PARTNRTYPE>
    <CURRENCY />
    <DUNSNUMBER />
    <PARTNRIDX />
    <PAYMETHOD />
    <TERMID />
    <USERAREA />
    <ADDRESS>
    <ADDRLINE index="1">222 Oracle Way</ADDRLINE>
    <ADDRLINE index="2" />
    <ADDRLINE index="3" />
    <ADDRTYPE />
    <CITY>Reston</CITY>
    <COUNTRY>US</COUNTRY>
    <COUNTY />
    <DESCRIPTN />
    <FAX index="1" />
    <POSTALCODE>20190</POSTALCODE>
    <REGION />
    <STATEPROVN>VA</STATEPROVN>
    <TAXJRSDCTN />
    <TELEPHONE index="1" />
    <TELEPHONE index="2" />
    <TELEPHONE index="3" />
    <URL />
    <USERAREA />
    </ADDRESS>
    </PARTNER>
    <PARTNER>
    <NAME index="1">UPS</NAME>
    <ONETIME>0</ONETIME>
    <PARTNRID />
    <PARTNRTYPE>Carrier</PARTNRTYPE>
    <PARTNRIDX>UPS</PARTNRIDX>
    </PARTNER>
    <POTERM>
    <DESCRIPTN>Scheduled for payment 45 days from the invoice date (invoice terms date = system date, goods received date, invoice date or invoice received date). Invoice terms date can default from supplier header, site, PO, system default, etc.</DESCRIPTN>
    <TERMID>45 Net (terms date + 45)</TERMID>
    <DAYSNUM />
    <QUANTITY qualifier="PERCENT">
    <VALUE />
    <NUMOFDEC />
    <SIGN />
    <UOM />
    </QUANTITY>
    <USERAREA />
    </POTERM>
    </POORDERHDR>
    <POORDERLIN>
    <QUANTITY qualifier="ORDERED">
    <VALUE>3</VALUE>
    <NUMOFDEC />
    <SIGN>+</SIGN>
    <UOM>QT</UOM>
    </QUANTITY>
    <OPERAMT qualifier="UNIT" type="T">
    <VALUE>89</VALUE>
    <NUMOFDEC>2</NUMOFDEC>
    <SIGN>+</SIGN>
    <CURRENCY>USD</CURRENCY>
    <UOMVALUE>1</UOMVALUE>
    <UOMNUMDEC>0</UOMNUMDEC>
    <UOM>QT</UOM>
    </OPERAMT>
    <POLINENUM>1</POLINENUM>
    <HAZRDMATL />
    <ITEMRV>0</ITEMRV>
    <ITEMRVX />
    <POLNSTATUS />
    <DESCRIPTN>10-40W Car / Truck Motor Oil</DESCRIPTN>
    <ITEM>10-40W Oil</ITEM>
    <ITEMX />
    <USERAREA>
    <REQUESTOR />
    <CATEGORYID>MISC.MISC</CATEGORYID>
    <CONTRACTNUM />
    <CONTRACTPONUM />
    <CONTRACTPOLINENUM />
    <VENDORQUOTENUM />
    <CONFIGID />
    <LISTPRICE>.89</LISTPRICE>
    <MARKETPRICE />
    <PRICENOTTOEXCEED />
    <NEGPRICE>N</NEGPRICE>
    <TAXABLE>N</TAXABLE>
    <TXNREASONCODE />
    <TYPE1099 />
    <LINEORDERTYPE>Goods</LINEORDERTYPE>
    <HAZRDUNNUM />
    <HAZRDUNDESC />
    <DFFLINE>
    <ATTRIBUTE1 />
    <ATTRIBUTE2 />
    <ATTRIBUTE3 />
    <ATTRIBUTE4 />
    <ATTRIBUTE5 />
    <ATTRIBUTE6 />
    <ATTRIBUTE7 />
    <ATTRIBUTE8 />
    <ATTRIBUTE9 />
    <ATTRIBUTE10 />
    <ATTRIBUTE11 />
    <ATTRIBUTE12 />
    <ATTRIBUTE13 />
    <ATTRIBUTE14 />
    <ATTRIBUTE15 />
    <ATTRIBUTE16 />
    </DFFLINE>
    <DFFITEM>
    <ATTRIBUTE1 />
    <ATTRIBUTE2 />
    <ATTRIBUTE3 />
    <ATTRIBUTE4 />
    <ATTRIBUTE5 />
    <ATTRIBUTE6 />
    <ATTRIBUTE7 />
    <ATTRIBUTE8 />
    <ATTRIBUTE9 />
    <ATTRIBUTE10>Y</ATTRIBUTE10>
    <ATTRIBUTE11 />
    <ATTRIBUTE12 />
    <ATTRIBUTE13 />
    <ATTRIBUTE14 />
    <ATTRIBUTE15 />
    <ATTRIBUTE16 />
    </DFFITEM>
    <KFFITEM>
    <ATTRIBUTE1>MISC</ATTRIBUTE1>
    <ATTRIBUTE2>MISC</ATTRIBUTE2>
    <ATTRIBUTE3 />
    <ATTRIBUTE4 />
    <ATTRIBUTE5 />
    <ATTRIBUTE6 />
    <ATTRIBUTE7 />
    <ATTRIBUTE8 />
    <ATTRIBUTE9 />
    <ATTRIBUTE10 />
    <ATTRIBUTE11 />
    <ATTRIBUTE12 />
    <ATTRIBUTE13 />
    <ATTRIBUTE14 />
    <ATTRIBUTE15 />
    <ATTRIBUTE16 />
    <ATTRIBUTE17 />
    <ATTRIBUTE18 />
    <ATTRIBUTE19 />
    <ATTRIBUTE20 />
    </KFFITEM>
    <GLOBALCONTRACT />
    <GLOBALCONTRACTLIN />
    <JOBTITLE />
    <AMOUNT qualifier="TOTAL" type="T">
    <VALUE />
    <NUMOFDEC />
    <SIGN />
    <CURRENCY />
    <DRCR>C</DRCR>
    </AMOUNT>
    <CONTRACTORFIRSTNAME />
    <CONTRACTORLASTNAME />
    <DATETIME qualifier="ACTSTART" type="T" index="1">
    <YEAR />
    <MONTH />
    <DAY />
    <HOUR />
    <MINUTE />
    <SECOND />
    <SUBSECOND />
    <TIMEZONE />
    </DATETIME>
    <DATETIME qualifier="ACTEND" type="T" index="1">
    <YEAR />
    <MONTH />
    <DAY />
    <HOUR />
    <MINUTE />
    <SECOND />
    <SUBSECOND />
    <TIMEZONE />
    </DATETIME>
    </USERAREA>
    <POLINESCHD>
    <DATETIME qualifier="NEEDDELV" type="T" index="1">
    <YEAR />
    <MONTH />
    <DAY />
    <HOUR />
    <MINUTE />
    <SECOND />
    <SUBSECOND />
    <TIMEZONE />
    </DATETIME>
    <QUANTITY qualifier="ORDERED">
    <VALUE>3</VALUE>
    <NUMOFDEC />
    <SIGN>+</SIGN>
    <UOM>QT</UOM>
    </QUANTITY>
    <DESCRIPTN />
    <PSCLINENUM>1</PSCLINENUM>
    <USERAREA>
    <DATETIME qualifier="PROMSHIP">
    <YEAR>2006</YEAR>
    <MONTH>04</MONTH>
    <DAY>03</DAY>
    <HOUR>00</HOUR>
    <MINUTE>00</MINUTE>
    <SECOND>00</SECOND>
    <SUBSECOND>0000</SUBSECOND>
    <TIMEZONE>+0000</TIMEZONE>
    </DATETIME>
    <DATETIME qualifier="APPROVAL">
    <YEAR>2006</YEAR>
    <MONTH>04</MONTH>
    <DAY>08</DAY>
    <HOUR>00</HOUR>
    <MINUTE>00</MINUTE>
    <SECOND>00</SECOND>
    <SUBSECOND>0000</SUBSECOND>
    <TIMEZONE>+0000</TIMEZONE>
    </DATETIME>
    <OPERAMT qualifier="UNIT" type="T">
    <VALUE>.89</VALUE>
    <NUMOFDEC />
    <SIGN />
    <CURRENCY>USD</CURRENCY>
    <UOMVALUE />
    <UOMNUMDEC />
    <UOM />
    </OPERAMT>
    <PRICEOVRRD />
    <TAXABLE>N</TAXABLE>
    <TAXCODE />
    <PARTNER>
    <NAME index="1">Vision Operations</NAME>
    <ONETIME>0</ONETIME>
    <PARTNRID>204</PARTNRID>
    <PARTNRTYPE>ShipTo</PARTNRTYPE>
    <CURRENCY>USD</CURRENCY>
    <DUNSNUMBER />
    <PARTNRIDX />
    <PAYMETHOD />
    <TERMID />
    <USERAREA />
    <ADDRESS>
    <ADDRLINE index="1" />
    <ADDRLINE index="2" />
    <ADDRLINE index="3" />
    <ADDRTYPE />
    <CITY />
    <COUNTRY />
    <COUNTY />
    <DESCRIPTN />
    <FAX index="1" />
    <POSTALCODE />
    <REGION />
    <STATEPROVN />
    <TAXJRSDCTN />
    <TELEPHONE index="1" />
    <TELEPHONE index="2" />
    <TELEPHONE index="3" />
    <URL />
    <USERAREA />
    </ADDRESS>
    <CONTACT>
    <NAME index="1" />
    <CONTCTTYPE />
    <EMAIL />
    <FAX index="1" />
    <TELEPHONE index="1" />
    </CONTACT>
    </PARTNER>
    <PARTNER>
    <NAME index="1" />
    <ONETIME />
    <PARTNRID />
    <PARTNRTYPE />
    <PARTNRIDX />
    <USERAREA />
    <ADDRESS>
    <ADDRLINE index="1" />
    <ADDRLINE index="2" />
    <ADDRTYPE />
    </ADDRESS>
    <CONTACT>
    <NAME index="1" />
    <CONTCTTYPE />
    <EMAIL />
    <FAX index="1" />
    <TELEPHONE index="1" />
    </CONTACT>
    </PARTNER>
    <DROPSHIPDETAILS>
    <DROPSHIPMENT />
    <DROPSHIPCUSTNAME />
    <SHIPINSTR />
    <PACKINSTR />
    <SHIPMETHOD />
    <CUSTOMERPONUM />
    <CUSTOMERLINENUM />
    <CUSTOMERSHIPNUM />
    <CUSTOMERDESC />
    </DROPSHIPDETAILS>
    <CONSIGNEDINV>N</CONSIGNEDINV>
    <AMOUNT qualifier="TOTAL" type="T">
    <VALUE />
    <NUMOFDEC />
    <SIGN />
    <CURRENCY />
    <DRCR>C</DRCR>
    </AMOUNT>
    </USERAREA>
    </POLINESCHD>
    </POORDERLIN>
    </PROCESS_PO>
    </DATAAREA>
    </ReceiveDocument>
    </part>
    </Invoke_Enqueue_InputVariable>
    Invoke_QUEUE (faulted)
    [2006/04/04 10:03:59] "{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown. less
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="code">
    <code>null</code>
    </part>
    <part name="summary">
    <summary>file:/d01/oraAS/integration/orabpel/domains/default/tmp/.bpel_XML2APPS_1.0.jar/CreatePO.wsdl [ Enqueue_ptt::Enqueue(ReceiveDocument) ] - WSIF JCA Execute of operation 'Enqueue' failed due to: Enqueue failed. Enqueue failed. ; nested exception is: ORABPEL-11947 Enqueue failed. Enqueue failed. Please examine the log file to determine the problem.</summary>
    </part>
    <part name="detail">
    <detail>null</detail>
    </part>
    </remoteFault>
    WS-T Complete
    WS-T Close
    WS-T Fault
    WS-T Cancel
    WS-T Compensate
    </sequence>
    [2006/04/04 10:03:59] "BPELFault" has not been caught by a catch block.
    [2006/04/04 10:03:59] BPEL process instance "18" cancelled
    WS-T Complete
    WS-T Close
    WS-T Fault
    WS-T Cancel
    WS-T Compensate
    </process>
    Does anyone know where I can get help on an error message ORABPEL-11947? I looked everywhere but no success.
    Can someone help me on this?
    Thanks in advance,
    Sook

    You have to integrate apps with BPEL using apps adapter and then from BPEL pass the message to Oracle B2B 11g -
    Oracle B2B 11g <---> Oracle BPEL 11g <--- Oracle Apps Adapter --> Oracle Apps
    As BPEL and B2B both are part of SOA suite 11g hence there is no additional cost and performance remain better.
    Preffered mode of integration would be through XML gateway.
    I could see that 856 outbound EDI map is available from Oracle but not the XML gateway map. If i have to use XML gateway then how i can create the XML gateway map.You may raise your question in apps forum -
    http://forums.oracle.com/forums/category.jspa?categoryID=108
    If you don't get any help there, raise a case with support.
    Regards,
    Anuj
    Edited by: Anuj Dwivedi on Oct 12, 2010 11:58 AM

  • Using FDM to load data from oracle table (Integration Import Script)

    Hi,
    I am using Integration Import Script to load data from oracle table to worktables in FDM.
    i am getting following error while running the script.
    Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done
    Attaching the full error report
    ERROR:
    Code............................................. -2147217887
    Description...................................... Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
    At line: 22
    Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 6260
    IDENTIFICATION:
    User............................................. ******
    Computer Name.................................... *******
    App Name......................................... FDMAPP
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... ORAOLEDB.ORACLE
    Data Server......................................
    Database Name.................................... DBNAME
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... SCRTEST
    Location ID...................................... 750
    Location Seg..................................... 4
    Category......................................... FDM ACTUAL
    Category ID...................................... 13
    Period........................................... Jun - 2011
    Period ID........................................ 6/30/2011
    POV Local........................................ True
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    I am using the following script
    Function ImpScrTest(strLoc, lngCatKey, dblPerKey, strWorkTableName)
    'Oracle Hyperion FDM Integration Import Script:
    'Created By:     Dhananjay
    'Date Created:     1/17/2012 10:29:53 AM
    'Purpose:A test script to import data from Oracle EBS tables
    Dim cnSS 'ADODB.Connection
    Dim strSQL 'SQL string
    Dim rs 'Recordset
    Dim rsAppend 'tTB table append rs object
    'Initialize objects
    Set cnSS = CreateObject("ADODB.Connection")
    Set rs = CreateObject("ADODB.Recordset")
    Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
    'Connect to SQL Server database
    cnss.open "Provider=OraOLEDB.Oracle.1;Data Source= +server+;Initial Catalog= +catalog+;User ID= +uid+;Password= +pass+"
    'Create query string
    strSQL = "Select AMOUNT,DESCRIPTION,ACCOUNT,ENTITY FROM +catalog+.TEST_TMP"
    'Get data
    rs.Open strSQL, cnSS
    'Check for data
    If rs.bof And rs.eof Then
    RES.PlngActionType = 2
    RES.PstrActionValue = "No Records to load!"
    Exit Function
    End If
    'Loop through records and append to tTB table in location’s DB
    If Not rs.bof And Not rs.eof Then
    Do While Not rs.eof
    rsAppend.AddNew
    rsAppend.Fields("PartitionKey") = RES.PlngLocKey
    rsAppend.Fields("CatKey") = RES.PlngCatKey
    rsAppend.Fields("PeriodKey") = RES.PdtePerKey
    rsAppend.Fields("DataView") = "YTD"
    rsAppend.Fields("CalcAcctType") = 9
    rsAppend.Fields("Amount") = rs.fields("Amount").Value
    rsAppend.Fields("Desc1") = rs.fields("Description").Value
    rsAppend.Fields("Account") = rs.fields("Account").Value
    rsAppend.Fields("Entity") = rs.fields("Entity").Value
    rsAppend.Update
    rs.movenext
    Loop
    End If
    'Records loaded
    RES.PlngActionType = 6
    RES.PstrActionValue = "Import successful!"
    'Assign Return value
    SQLIntegration = True
    End Function
    Please help me on this
    Thanks,
    Dhananjay
    Edited by: DBS on Feb 9, 2012 10:21 PM

    Hi,
    I found the problem.It was because of the connection string.The format was different for oracle tables.
    PFB the format
    *cnss.open"Provider=OraOLEDB.Oracle.1;Data Source= servername:port/SID;Database= DB;User Id=aaaa;Password=aaaa;"*
    And thanks *SH* for quick response.
    So closing the thread......
    Thanks,
    Dhananjay

  • Which LKM is to be used for data from oracle to file

    Hi All
    I am new to ODI. Please help me in understanding this tool.
    I want to know Which LKM is to be used for moving data from oracle to a comma seperated file etc.

    Hi John
    Thanks a ton... I was able to move ahead. I executed thinking all params are correct.
    But it did not go thru and gave me this error:-
    936 : 42000 : java.sql.SQLException: ORA-00936: missing expression
    java.sql.SQLException: ORA-00936: missing expression
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:503)
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:965)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:535)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1051)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3026)
         at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)

  • How to migrate data from oracle 9i database to new machine 11gr2 RAC ASM

    Hi Expert
    I need your expertise to advise me what is the best method to move data from oracle 9i database to new machine running oracle 11r2 RAC database with ASM.
    Currently my production server running on HPUX ORACLE 9I database with normal file system. My new server is running SUN SOLARIS SPACR 64 bit ORACLE 11gr2 RAC with ASM. What is best method to move data over so it will be consistent. Any guide can refer.
    Regard
    William

    Hi William,
    See the note in metalink Migration of Oracle Database Instances Across OS Platforms [ID 733205.1] to saw the Endian Format of your OS. If is the same you can use the RMAN to convert the database to another OS, if not the only option is using export/import (Transportable Tablespaces).
    To upgrade from 9i to 11g, see the note 837570.1 - Complete Checklist for Manual Upgrades to 11gR2.
    To migrate your FS to ASM the only way is using RMAN, so see the note - How to move a datafile from a file system to ASM [ID 390274.1].
    Hope this help you.
    Best Regards,
    Ruben Morais

  • How to copy the Data From Oracle Table To SAP Table

    Hi Friends,
    We need to copy the data from Oracle Database Table to SAP Table. The data should be updated simultaneously in both tables . Should I write a program that contains the native sql statement like EXEC SQL PERFORMING WRITE,....
    I appreciate any suggestions regarding this.
    Regards
    CSM Reddy

    Hi,
    since you posted this question in the DB2 forum I assume that you are using a DB2 database for your SAP system.
    To access a table from a legacy ORACLE database you may use the DBSL multiconnect feature. I.e. you open a secondary connecction in the SAP system to your ORALE database. You can then ready the data from the ORACLE database into an ABAP internal table and insert it afterwards into the DB2 table on the main connection.
    Another way to access an ORACLE table from a DB2 database is to use the DB2 federated database feature. This requires a little bit more DB2 skill. With this feature you can make the ORACLE table visible within the DB2 database. To copy data you can then simply use a "INSERT ... SELECT" statement. 
    Regards
             Frank

  • Which CKM is used for moving data from Oracle to delimited file ?

    Hi All
    Please let me know Which CKM is used for moving data from Oracle to delimited file ?
    Also is there need of defining each columns before hand in target datastore. Cant ODI take it from the oracle table itself ?

    Addy,
    A CKM is a Check KM which is used to validate data and log errors. It is not going to assist you in data movement. You will need an LKM SQL to File append as answered in another thread.
    Assuming that you have a one to one mapping, to make things simpler you can duplicate the Oracle based model and create a file based model. This will take all the column definitions from the Oracle based model.
    Alternatively, you can also use an ODI tool odiSQLUnload to dump the data to a file
    HTH

Maybe you are looking for

  • Itunes for multiple family members

    My situation is I've been using iTunes since its inception and built quite a library. I've been through multiple ipods and now on to iphones for multiple family members. All the while using one itunes account on separate devices for multiple family m

  • Unable to save paragraph and character styles

    I noticed an issue popping up for me in CS6 yesterday. I thought it was originally because of Fireworks saved PSD but an effort re-create the file from scratch in PS I'm coming across the same issue. In PS when I have a large amount of text layers an

  • Convert utf-8 to original text in servlet

    Hi guys, For instance, a user enter 路 in a text field then I convert this chinese character to utf-8 using javascript:encodeURIComponent to %E8%B7%AF and pass it as a parameter to the next page where the url will look like example : http://www.google

  • Deleted Wi-fi configuration on my MBA with Mavericks

    Hi I have a problem. I wasn`t able to connect to Wifi. So I was searching in System preferences in network And unfortunately I deleted configuration for Wifi and now I can not add this configuration again. What I can do with this? Thanks for answers

  • Error Message-Not enough Memory

    All was fine with iTunes 7 update and one day (today) I come back to my computer and dock my iPod and iTunes will not start. Error message reads "not enough memory." I have a gig of ram and 13 gigs of free space on my hard drive. What gives? Has anyo