ODI smart Import using sdk

I am trying smart import using below code
SmartImportServiceImpl impl = new SmartImportServiceImpl(odiInstance);
String xmlfile = "C:/Users/608600862/Desktop/xml/SmartExport";
impl.importFromXml(xmlfile);
giving me following error
I Googled lot but no luck
please help me to solve this error
SmartExport is working fine but SmartImport is giving me above error
exported file is generate using smart export option of odi studio
some where i read that we must be used SAXParser, but how and where not getting.
please help

Re: ODI smart Import using sdk

Similar Messages

  • Importing data from Excel using SDK!

    Hi All,
    Can we do a Goods Receipt and Goods Issue via SDK.
    IF so any code available for the same!Secondly can we
    Import data from Excel using SDK!
    Thnx in advance

    Hi Vinayak
    4 your 2nd issue: you can easily use Excel.Application COM-object. In C# exporting from Excel can be:
    Excel.Application     oXL;
    Excel._Workbook     oWB;
    Excel._Worksheet     oSheet;
    string          strTemplatePath;
    strTemplatePath = Application.StartupPath + "WHRequestList.xlt";
    try
         oXL = new Excel.Application();
         oWB     = (Excel._Workbook)(oXL.Workbooks.Add(strTemplatePath));
         oSheet     = (Excel._Worksheet)oWB.ActiveSheet;
         SAPbouiCOM.Item     edDocNum;
         SAPbouiCOM.IEditText specEdDocNum;
         edDocNum = SBOApp.Forms.Item(FormUID).Items.Item("8");
         specEdDocNum = (SAPbouiCOM.IEditText)edDocNum.Specific;
         SAPbouiCOM.Item     edDocDate;
         SAPbouiCOM.IEditText specEdDocDate;
         edDocDate = SBOApp.Forms.Item(FormUID).Items.Item("10");
         specEdDocDate = (SAPbouiCOM.IEditText)edDocDate.Specific;
         oSheet.Cells[2, "F"] = "¹ " + specEdDocNum.String + " îò " + specEdDocDate.String;
         oXL.Visible = true;
         oXL.UserControl = true;
    BTW, don't forget to add Excel object in ProjectReferences
    For sure, importing  (reading) from Excel is the same
    HTH

  • Creating smart collections using Import Smart Collection settings

    Does anybody know if I can create smart collections using Import Smart collection settings? Where can I find any information on this other than Photo collections? In particular, I am interested in what to do with the ID.

    I'll try to explain the best I can. I am trying to improve my workflow.
    I have been a little lazy with my workflow, I don't rate by images for 2 reasons: 1) I haven't found a rating system I am comfortable with (we might have discussed this on another thread), and 2) I am not very good at critically assessing my own photo graphic work. This means I have very often jumped to the develop module to adjust an image without ever bother to rate them (almost 20% of my catalog).
    I have also rated some images and never touched them.
    So I have a need to find images I have rated and adjusted, images I have rated and not adjusted, and images I have adjusted and not rated.
    Now, my photographers vision and knowledge have both changed substantially over the past 5 years. So to make the task more manageable I am trying to divide my catalog into 3 collections per year:
    1 - Rated and adjusted
    2 - Rated and not adjusted
    3 - Adjusted and not rated
    The assumption is that this is the bit of the catalog worth looking at and re-organise first. I know that anything I edited last year would have been more proficiently edited that anything I edited in 2010.
    Does it make some sense?

  • ODI-14070: Import failed

    Hi All ,
    I have one ODI procedure(xml file) which belongs to our deployment script. For the very first time,this procedure was made in ODI and since then it has been exported and kept in our deployment scripts .This procedure is used by a number of people who import this procedure to their own project and use it .For the very first time this procedure gets successfully imported by setting the IMPORT TYPE to Duplication Mode . The reason being that every object ,in my case,every procedure in ODI has an ID of the project associated with it .In my case the object to be imported has a parent id of 82799(the original project id) associated with it .The moment I try importing this in duplicate mode , ODI implicitly reassigns the parent id with the ID of the project within which I am importing my procedure and things work fine .
    The challenge arises when I try to import the procedure in Insert mode and get the below error.
    "com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-14070: Import failed. The parent object was not found in the repository"When I searched my deployment scripts ,I found that my procedure (please refer the below line ) has an id associated with it .This is the ID which is referred to as the parent object in the error ODI-14070.
    <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[82799]]></Field>This error is very troublesome and is a hindrance in migrating an enhanced version of the procedure into my existing projects .Is there any way out through which we can escape this error during insert mode /insert-update mode ?
    Thanks as always ,
    Rahul

    Hi Tina and Sandeep,
    I found the following error in the log file:
    Failed to invoke startup class "JRF Startup Class", java.lang.ClassNotFoundException: oracle.jrf.wls.JRFStartup java.lang.ClassNotFoundException: oracle.jrf.wls.JRFStartup at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:305) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:246) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:262) at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54) at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:214) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClassDeployment(ClassDeploymentManager.java:246) at weblogic.management.deploy.classdeployment.ClassDeploymentManager.runStartupsBeforeAppDeployments(ClassDeploymentManager.java:149) at weblogic.management.deploy.classdeployment.ClassDeploymentService.start(ClassDeploymentService.java:21) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    I have edited the commEnv.cmd file by adding $MW_HOME\modules\oracle.jrf_11.1.1\jrf.jar to WEBLOGIC_CLASSPATH but still got the same error.
    Question: Is WEBLOGIC_CLASSPATH in commEnv.cmd file the right place to setup?
    Thanks,
    Jeffrey

  • ODI topology import error

    Hi All,
    I am facing the following error when trying to import topology objects using :
    $START_COMMAND OdiImportObject -FILE_NAME=CONN_XML_FILE0.xml -WORK_REP_NAME=work -IMPORT_MODE=SYNONYM_INSERT_UPDATE
    java.lang.RuntimeException: oracle.odi.oditools.OdiToolException: Error while running ODI Tool OdiImportObject
    at oracle.odi.oditools.OdiAbstractToolRunner$4.doAction(OdiAbstractToolRunner.java:216)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:183)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeConnectedCoreTool(OdiAbstractToolRunner.java:203)
    at oracle.odi.oditools.OdiAbstractToolRunner.access$0(OdiAbstractToolRunner.java:178)
    at oracle.odi.oditools.OdiAbstractToolRunner$2.doInTransactionWithoutResult(OdiAbstractToolRunner.java:146)
    at oracle.odi.core.persistence.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:21)
    at oracle.odi.core.persistence.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:99)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeCoreTool(OdiAbstractToolRunner.java:142)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeTool(OdiAbstractToolRunner.java:47)
    at oracle.odi.ToolRunner.main(ToolRunner.java:75)
    Caused by: oracle.odi.oditools.OdiToolException: Error while running ODI Tool OdiImportObject
    at oracle.odi.oditools.OdiAbstractToolRunner.executeTool(OdiAbstractToolRunner.java:174)
    at oracle.odi.oditools.OdiAbstractToolRunner.access$1(OdiAbstractToolRunner.java:166)
    at oracle.odi.oditools.OdiAbstractToolRunner$4.doAction(OdiAbstractToolRunner.java:212)
    ... 9 more
    Caused by: com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-10036: Importing object SNP_CONNECT : XML_FILE0 failed.
    at com.sunopsis.dwg.DwgDuplicationTools.importOtherObjects(DwgDuplicationTools.java:2660)
    at com.sunopsis.dwg.DwgDuplicationTools.synonymImport(DwgDuplicationTools.java:2130)
    at com.sunopsis.dwg.DwgObject.importFromObjectLst(DwgObject.java:6509)
    at com.sunopsis.dwg.DwgObject.doImport(DwgObject.java:6011)
    at com.sunopsis.dwg.DwgObject.importFromXml(DwgObject.java:5650)
    at com.sunopsis.dwg.DwgObject.importFromXmlWithCommit(DwgObject.java:5695)
    at com.sunopsis.dwg.DwgObject.importFromXmlWithCommit(DwgObject.java:5663)
    at com.sunopsis.dwg.tools.ImportObject.actionExecute(ImportObject.java:123)
    at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java:162)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeTool(OdiAbstractToolRunner.java:170)
    ... 11 more
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
    at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java:585)
    at com.sunopsis.dwg.dbobj.SnpConnect.checkNameUniqueness(SnpConnect.java:904)
    at com.sunopsis.dwg.dbobj.SnpConnect.insertBeforeAction(SnpConnect.java:836)
    at com.sunopsis.dwg.DwgObject.insertForDuplication(DwgObject.java:3436)
    at com.sunopsis.dwg.DwgDuplicationTools.importOtherObjects(DwgDuplicationTools.java:2616)
    ... 20 more
    However , the import goes through fine when done from dataintegrator UI (topology manager > import > toplology)
    Please let me know what could be causing the issue.
    Thanks and Regards
    raj

    Below is the extract of the header of the SmartExport.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <SunopsisExport>
    <Admin IsSmartExportFile="true" RepositoryVersion="04.03.04.02" OdiVersion="11.1.1.6.0 - 19/12/2011" OriginMasterRepositoryID="100" OriginWorkRepositoryID="100" Created="2013-08-06 12:08:44 -0700" />
    <SmartExportList materializeShortcut="false">
       <Include><![CDATA[SnpPop#165100]]></Include>
    </SmartExportList>
    <Object class="com.sunopsis.dwg.dbobj.SnpConnect"> ...
    </Object>
    </SunopsisExport>
    When provided the same xml to the OdiImportScen from command line the import worked fine. Could you pls check if I'm missing anything in this.

  • Promote webi doc fron dev to  qual environnement using SDK

    Hi all,
    I'd like to know if Crystal SDK (.NET ? ...) provide solutions to promote a webi document, for example from Dev to qualification environnement.
    I know I can use Import Wizard for this but "I'd prefer not to"...
    I had a look to APIs available in my BO XI environnement (Windows / 3.1 sp3) like "ExportSDK.dll" or "ExportBIAR" but I couldn't do anything...
    If anyone can tell me :
      1. if it's possible
      2. if yes, little advice to implement the solution
    I would be very grateful !
    Thank's
    David
    Edited by: David Caputo on Jan 5, 2011 10:45 AM

    you can use BIAR APIs ( available in Java only). They can import a BIAR file into a destination BO or export a bunch of documents from a source BO into a BIAR file. So if you must use SDK, you need to first export the webi documents into a BIAR and them import the BIAR into the destination environment.
    Here is a link to sample java code to importexport BIAR:
    Export
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/8029fd09-b866-2b10-01a0-e75361290984
    Import
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/40d99c86-b866-2b10-5384-8b321e48979b
    Alternately you can use biarengine.jar, a command line tool to perform the same thing.

  • Smart Import Error

    Hi All,
    I am getting the following error, when trying to do a smart import.
    oracle.odi.impexp.smartie.OdiSmartImportException:
    java.lang.NoSuchMethodException:
    java.lang.Object.getIMaster()
    Please help on how to fix this. Thank you.

    Hi,
    I am facing a similar error while importing objects into TST from DEV.
    Please let me know if and how you have resolved this issue..?
    Thanks!
    Ruby

  • [svn] 4421: * Implemented signature sorting for imports, use namespaces,

    Revision: 4421
    Author: [email protected]
    Date: 2009-01-07 09:50:25 -0800 (Wed, 07 Jan 2009)
    Log Message:
    * Implemented signature sorting for imports, use namespaces,
    variables, functions, classes and interfaces, plus associated
    metadata. This should speed up compile times when the items listed
    above are moved around.
    * Implemented human readable option with signature generation. Human
    readable is only on when keepGeneratedSignatures is true. When it's
    off, only essential info is added to the signature and abbreviations
    are used for keywords. This should speed up compile times and
    reduce compiler memory use.
    tests Passed: checkintests, compilerperformance (the four failing
    invalidation tests should be removed)
    Needs QA: YES
    Needs DOC: NO
    Bug fixes: SDK-18480
    API Change: NO
    Reviewer: Gaurav
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18480
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SignatureEvaluator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SignatureExtension.java

    onearm wrote:
    Svn revision 442 doesn't compile on Arch64:
    [ 4%] [ 5%] Building CXX object src/CMakeFiles/guayadeque.dir/AlListBox.o
    Building CXX object src/CMakeFiles/guayadeque.dir/ArListBox.o
    In file included from /tmp/yaourt-tmp-gianluca/aur-guayadeque-svn/guayadeque-svn/src/guayadeque/Trunk/src/LastFMPanel.h:25,
    from /tmp/yaourt-tmp-gianluca/aur-guayadeque-svn/guayadeque-svn/src/guayadeque/Trunk/src/MainFrame.h:27,
    from /tmp/yaourt-tmp-gianluca/aur-guayadeque-svn/guayadeque-svn/src/guayadeque/Trunk/src/AlListBox.cpp:27:
    /tmp/yaourt-tmp-gianluca/aur-guayadeque-svn/guayadeque-svn/src/guayadeque/Trunk/src/PlayerPanel.h:25:28: error: AutoScrollText.h: No such file or directory
    [ 7%] Building CXX object src/CMakeFiles/guayadeque.dir/ArrayStringArray.o
    [ 8%] Building CXX object src/CMakeFiles/guayadeque.dir/AudioScrobble.o
    make[2]: *** [src/CMakeFiles/guayadeque.dir/AlListBox.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[1]: *** [src/CMakeFiles/guayadeque.dir/all] Error 2
    make: *** [all] Error 2
    Thanks for the bug report. It was a test i was doing but finally decided to not include it but left this line by error.
    It have been fixed in svn 443.
    Thanks again

  • 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

  • IPhoto suddenly doesn't seem to recognize my camera, and essentially freezes. The only thing that makes sense is that another person in my house imported using a different camera and that changed things somehow. Ideas?

    iPhoto suddenly doesn't seem to recognize my camera, and essentially freezes. The only thing that makes sense is that another person in my house imported using a different camera and that changed things somehow. Ideas?

    Hi There!
    The camera is a Panasonic Lumix. I don't have a USB card reader. I did try and different port although not a different cable.
    I did remember one additional thing. I plugged my camera in at work to a PC. It was after that, when I came home, that the iPhoto wasn't working when I connected my camera to our iMac/iPhoto at home. I think this may have caused the problem.
    Cheers!

  • 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.

  • How to show screen design in .srf (from Screen Painter) using SDK?

    How to show screen design in .srf (from Screen Painter) using SDK?

    You need to use the LoadBatchActions method of the Application object to load .SRF files.
    John.

  • How can i design a smart antenna using labview?? plzz

    i have my final year project. I am student of Beng in Telecommunications. How can i design a smart antenna using switched beam algorithm on lab view??

    You can hardly use LabVIEW to design antenna, but definitely can use LabVIEW for Characterization, Optimization, and Test your antenna design.
    Hope you got the point here.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • How do I do validation using SDK.

    How do I do validation using SDK.
    We have created different warehouses for the client business operations.
    For eg:
    1. Inspection Stores
    2. Rejection Stores
    3. Main Stores
    In Goods Return & A/P Credit Memo, other than RejectionStores is
    selected, we want to generate a warning message.
    How do I do this through SDK.
    I need the code sample for the following activity:
    1. Reading the data available at each row of the current form (Goods
    Return/ A/P Credit memo)
    2. Validate the data with a paricular warehouse
    3. Generate warning message.
    I could not find any samples related to this.

    There is a method called MessageBox for the Application object. Have a look at
    the documentation, everything is there.

  • Error on creating Draft Purchase Quotation by using SDK

    Hi,
    I have encountered an error while trying to create a Draft Purchase Quaotation by using SDK.
    I am trying on SAP Business One 8.81 PL02
    My Code:
    Dim objPQ As SAPbobsCOM.Documents = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDrafts)
    objPQ.DocObjectCode = SAPbobsCOM.BoObjectTypes.oPurchaseQuotations
    Error on code:
    objPQ.DocObjectCode = SAPbobsCOM.BoObjectTypes.oPurchaseQuotations
    Error message:
    '540000006' is not a valid value for property 'DocObjectCode'. The valid values are: '15' - 'Delivery',  '16' - 'Returns',  '203' - 'A/R Down Payment',  '13' - 'A/R Invoice',  '14' - 'A/R Credit Memo',  '132' - 'Correction Invoice',  '20' - 'Goods Receipt',  '21' - 'Goods Return',  '204' - 'A/P Down Payment',  '18' - 'A/P Invoice',  '19' - 'A/P Credit Memo',  '17' - 'Sales Order',  '22' - 'Purchase Order',  '23' - 'Sales Quotation',  '67' - 'Inventory Transfers',  '59' - 'Goods Receipt',  '60' - 'Goods Issue',  '163' - 'A/P Correction Invoice',  '164' - 'A/P Correction Invoice Reversal',  '165' - 'A/R Correction Invoice',  '166' - 'A/R Correction Invoice Reversal'
    Thank you.

    Hey Simon,
    Have you solved this case?
    Im using 8.81 (8.81.316) PL:08, but oPurchaseQuotation does not appear in SAPbobsCOM.BoObjectTypes.
    Dim objPQ As SAPbobsCOM.Documents = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDrafts)
    objPQ.DocObjectCode = SAPbobsCOM.BoObjectTypes.oPurchaseQuotations
    Somebody knows what is wrong?.

Maybe you are looking for