Closing PO using API

Hello.
I've seen that through the PO Open Interface it is possible to create/modify/cancel a PO but I cannot figure out how to CLOSE a PO.
Do you know if it is possible and how?
Thanks a lot for your precious help,
Rosanna.

I do not believe there is an API available to close a PO. You may open an SR to confirm.
MOS Doc 356473.1 - Is there a Mass PO Close API
All public APIs in 11i are published at http://irep.oracle.com
For R12, use the "Integration Repository" responsibility in your instance.
HTH
Srini

Similar Messages

  • Barcode using api

    Hi,
    I'm trying to solve problem with showing barcodes when generating html or pdf documents using api. I have function in db which generates barcodes 128b with correct start, control and stop chars, I've tested it notepad, using font AdvC128b, printed, scanned and everything is correct. The problem is obviously in word template in which I add field like <?BARCODE?> and set font for the field AdvC128b upload template to bi publisher. Using api I generate html and I do get barcode on page but it's not correct it cannot be scanned, on view source I can see that it creates page like this:
    .c0 {line-height: 27.744pt;margin-top: 0.0pt;margin-bottom: 0.0pt;margin-left: 6.35pt;margin-right: 6.049pt;}
    .c1 {font-family: 'AdvC128b';font-size: 24.0pt;color: #000000;}
    <p class="c0"><span class="c1">Ě90902qÎ </span><a name="page-total-master0" id="page-total-master0"></a><a name="page-total" id="page-total"></a></p>In pdf document I cannot see barcode I can only see Ě90902qÎ Do I need to put some fonts in my java runtime like I did put Albany fonts for special characters?
    This is quite urgent, what are my options? What needs to be done to show correct barcodes in html and pdf documents using api and word templates,
    any suggestions are more than welcome,
    thanks in advance,
    Tomislav.

    this is my config
    <?xml version="1.0" encoding="UTF-8"?>
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/"><!-- Properties -->
    <properties>
    <!-- System level properties    -->
    <property name="system-temp-dir">c:\tmp</property>
    <!-- PDF compression
    <property name="pdf-compression">true</property>     -->
    <!-- PDF Security
    <property name="pdf-security">true</property>
    <property name="pdf-open-password">user</property>
    <property name="pdf-permissions-password">owner</property>
    <property name="pdf-no-printing">true</property>
    <property name="pdf-no-changing-the-document">true</property>     -->
    </properties>
    <!-- Font setting -->
    <fonts>
    <!-- Font setting (for FO to PDF etc...) -->
    <font family="Arial" style="normal" weight="normal">
    <truetype path="/fonts/Arial.ttf"/>
    </font>
    <font family="Default" style="normal" weight="normal">
    <truetype path="/fonts/ALBANWTJ.ttf"/>
    </font>
    <font family="advc128b" style="normal" weight="normal">
    <truetype path="C:\Program Files\Java\jre1.6.0_06\lib\fonts\advc128b.ttf"/>
    </font>
    <!--Font substitute setting (for PDFForm filling etc...) -->
    <font-substitute name="MSGothic">
    <truetype path="/fonts/msgothic.ttc" ttcno="0"/>
    </font-substitute>
    </fonts>
    </config>and this is my complete log, sorry for posting it whole but I think it will be more useful to you:
    [100609_074839647][][STATEMENT] Logger.init(): *** DEBUG MODE IS ON. ***
    [100609_074839648][][STATEMENT] Logger.init(): LogDir=C:/tmp
    [100609_074839891][][STATEMENT] [ PDF GENERATOR ]---------------------------------------------
    [100609_074839892][][STATEMENT] XDO version   = Oracle BI Publisher 10.1.3.4.1
    [100609_074839892][][STATEMENT] java.home     = C:\Program Files\Java\jre1.6.0_06
    [100609_074839892][][STATEMENT] XDO_TOP       = null
    [100609_074839893][][STATEMENT] Config Path   = null
    [100609_074839893][][STATEMENT] Debug Cfg Path= C:\Program Files\Java\jre1.6.0_06\lib\xdodebug.cfg
    [100609_074839893][][STATEMENT] Font dir      = C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\
    [100609_074839894][][STATEMENT] Locale        = en-us
    [100609_074839894][][STATEMENT] Fallback font = truetype./fonts/ALBANWTJ.ttf
    [100609_074839894][][STATEMENT] [ PDF GENERATOR PROPERTIES ]----------------------------------
    [100609_074839896][][STATEMENT] digit-substitution=null(not set)
    [100609_074839896][][STATEMENT] font.ADVC128B.normal.normal=truetype.C:\Program Files\Java\jre1.6.0_06\lib\fonts\advc128b.ttf
    [100609_074839898][][STATEMENT] font.ALBANY WT J.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTJ.ttf
    [100609_074839899][][STATEMENT] font.ALBANY WT K.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTK.ttf
    [100609_074839899][][STATEMENT] font.ALBANY WT SC.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTS.ttf
    [100609_074839899][][STATEMENT] font.ALBANY WT TC.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTT.ttf
    [100609_074839900][][STATEMENT] font.ALBANY WT.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANYWT.ttf
    [100609_074839900][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOJB.ttf
    [100609_074839901][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOJ.ttf
    [100609_074839901][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOKB.ttf
    [100609_074839901][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOK.ttf
    [100609_074839902][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOSCB.ttf
    [100609_074839902][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOSC.ttf
    [100609_074839903][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOTCB.ttf
    [100609_074839903][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOTC.ttf
    [100609_074839903][][STATEMENT] font.ANDALE DUOSPACE WT.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOB.ttf
    [100609_074839904][][STATEMENT] font.ANDALE DUOSPACE WT.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUO.ttf
    [100609_074839904][][STATEMENT] font.ARIAL.normal.normal=truetype./fonts/Arial.ttf
    [100609_074839904][][STATEMENT] font.CG TIMES.italic.bold=type1.Times-BoldItalic
    [100609_074839905][][STATEMENT] font.CG TIMES.italic.normal=type1.Times-Italic
    [100609_074839905][][STATEMENT] font.CG TIMES.normal.bold=type1.Times-Bold
    [100609_074839905][][STATEMENT] font.CG TIMES.normal.normal=type1.Times-Roman
    [100609_074839906][][STATEMENT] font.COURIER NEW.italic.bold=type1.Courier-BoldOblique
    [100609_074839906][][STATEMENT] font.COURIER NEW.italic.normal=type1.Courier-Oblique
    [100609_074839906][][STATEMENT] font.COURIER NEW.normal.bold=type1.Courier-Bold
    [100609_074839907][][STATEMENT] font.COURIER NEW.normal.normal=type1.Courier
    [100609_074839907][][STATEMENT] font.COURIER.italic.bold=type1.Courier-BoldOblique
    [100609_074839907][][STATEMENT] font.COURIER.italic.normal=type1.Courier-Oblique
    [100609_074839908][][STATEMENT] font.COURIER.normal.bold=type1.Courier-Bold
    [100609_074839908][][STATEMENT] font.COURIER.normal.normal=type1.Courier
    [100609_074839908][][STATEMENT] font.DEFAULT.italic.bold=type1.Helvetica-BoldOblique
    [100609_074839909][][STATEMENT] font.DEFAULT.italic.normal=type1.Helvetica-Oblique
    [100609_074839909][][STATEMENT] font.DEFAULT.normal.bold=type1.Helvetica-Bold
    [100609_074839909][][STATEMENT] font.DEFAULT.normal.normal=truetype./fonts/ALBANWTJ.ttf
    [100609_074839910][][STATEMENT] font.GLFALLBACK.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTJ.ttf
    [100609_074839910][][STATEMENT] font.HELVETICA.italic.bold=type1.Helvetica-BoldOblique
    [100609_074839910][][STATEMENT] font.HELVETICA.italic.normal=type1.Helvetica-Oblique
    [100609_074839910][][STATEMENT] font.HELVETICA.normal.bold=type1.Helvetica-Bold
    [100609_074839911][][STATEMENT] font.HELVETICA.normal.normal=type1.Helvetica
    [100609_074839911][][STATEMENT] font.MONOSPACE.italic.bold=type1.Courier-BoldOblique
    [100609_074839911][][STATEMENT] font.MONOSPACE.italic.normal=type1.Courier-Oblique
    [100609_074839912][][STATEMENT] font.MONOSPACE.normal.bold=type1.Courier-Bold
    [100609_074839912][][STATEMENT] font.MONOSPACE.normal.normal=type1.Courier
    [100609_074839912][][STATEMENT] font.SANS-SERIF.italic.bold=type1.Helvetica-BoldOblique
    [100609_074839913][][STATEMENT] font.SANS-SERIF.italic.normal=type1.Helvetica-Oblique
    [100609_074839913][][STATEMENT] font.SANS-SERIF.normal.bold=type1.Helvetica-Bold
    [100609_074839913][][STATEMENT] font.SANS-SERIF.normal.normal=type1.Helvetica
    [100609_074839914][][STATEMENT] font.SERIF.italic.bold=type1.Times-BoldItalic
    [100609_074839914][][STATEMENT] font.SERIF.italic.normal=type1.Times-Italic
    [100609_074839914][][STATEMENT] font.SERIF.normal.bold=type1.Times-Bold
    [100609_074839915][][STATEMENT] font.SERIF.normal.normal=type1.Times-Roman
    [100609_074839915][][STATEMENT] font.SYMBOL.normal.normal=type1.Symbol
    [100609_074839915][][STATEMENT] font.TIMES NEW ROMAN.italic.bold=type1.Times-BoldItalic
    [100609_074839916][][STATEMENT] font.TIMES NEW ROMAN.italic.normal=type1.Times-Italic
    [100609_074839916][][STATEMENT] font.TIMES NEW ROMAN.normal.bold=type1.Times-Bold
    [100609_074839916][][STATEMENT] font.TIMES NEW ROMAN.normal.normal=type1.Times-Roman
    [100609_074839917][][STATEMENT] font.TIMES.italic.bold=type1.Times-BoldItalic
    [100609_074839917][][STATEMENT] font.TIMES.italic.normal=type1.Times-Italic
    [100609_074839917][][STATEMENT] font.TIMES.normal.bold=type1.Times-Bold
    [100609_074839918][][STATEMENT] font.TIMES.normal.normal=type1.Times-Roman
    [100609_074839918][][STATEMENT] font.ZAPFDINGBATS.normal.normal=type1.ZapfDingbats
    [100609_074839918][][STATEMENT] pdf-changes-allowed=0
    [100609_074839919][][STATEMENT] pdf-compression=true
    [100609_074839919][][STATEMENT] pdf-enable-accessibility=true
    [100609_074839920][][STATEMENT] pdf-enable-copying=false
    [100609_074839920][][STATEMENT] pdf-encryption-level=0
    [100609_074839920][][STATEMENT] pdf-font-embedding=true
    [100609_074839920][][STATEMENT] pdf-hide-menubar=false
    [100609_074839921][][STATEMENT] pdf-hide-toolbar=false
    [100609_074839921][][STATEMENT] pdf-no-accff=false
    [100609_074839922][][STATEMENT] pdf-no-cceda=false
    [100609_074839922][][STATEMENT] pdf-no-changing-the-document=false
    [100609_074839923][][STATEMENT] pdf-no-printing=false
    [100609_074839923][][STATEMENT] pdf-open-password=
    [100609_074839923][][STATEMENT] pdf-permissions=0
    [100609_074839924][][STATEMENT] pdf-permissions-password=
    [100609_074839924][][STATEMENT] pdf-printing-allowed=0
    [100609_074839925][][STATEMENT] pdf-replace-smartquotes=true
    [100609_074839925][][STATEMENT] pdf-security=false
    [100609_074839926][][STATEMENT] ------------------------------------------------------
    [100609_074840004][oracle.apps.xdo.template.rtf.field.RTFFieldResult][STATEMENT] stylename=Normal
    [100609_074840030][oracle.apps.xdo.common.font.FontFactory$FontDef][ERROR] Failed to open TrueType font: /fonts/ALBANWTJ.ttf(0)
    [100609_074840031][oracle.apps.xdo.common.font.FontFactory$FontDef][ERROR] Failed to open Type3 font (SVG embedded): null
    [100609_074840031][][EXCEPTION] Default.normal.normal is invalid. Set it to Helvetica
    [100609_074840033][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] TrueType font created: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTJ.ttf(0)
    [100609_074840034][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] TrueType font created: C:\Program Files\Java\jre1.6.0_06\lib\fonts\advc128b.ttf(0)
    [100609_074840041][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica
    [100609_074840047][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [100609_074840048][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [100609_074840049][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [100609_074840052][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [100609_074840052][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [100609_074840058][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [100609_074840059][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
    [100609_074840070][oracle.apps.xdo.template.rtf.RTF2XSLParser][STATEMENT] Time spent: 185
    [100609_074840072][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica closed.
    [100609_074840072][oracle.apps.xdo.common.font.FontFactory][STATEMENT] truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTJ.ttf closed.
    [100609_074840073][oracle.apps.xdo.common.font.FontFactory][STATEMENT] truetype.C:\Program Files\Java\jre1.6.0_06\lib\fonts\advc128b.ttf closed.
    [100609_074840097][][STATEMENT] Logger.init(): *** DEBUG MODE IS ON. ***
    [100609_074840097][][STATEMENT] Logger.init(): LogDir=C:/tmp
    [100609_074840098][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor constructor is called.
    [100609_074840174][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor has been initialized without default config.
    [100609_074840174][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setData(String) is called with 'C:\Users\RIFnet\Downloads\04_Ispis_prijevoznog_lista.xml'.
    [100609_074840176][][STATEMENT] Logger.init(): *** DEBUG MODE IS ON. ***
    [100609_074840176][][STATEMENT] Logger.init(): LogDir=C:/tmp
    [100609_074840176][oracle.apps.xdo.template.FOProcessor][STATEMENT]    Log file 'xdo_100609_074840176_fo_data_11.xml' is created.
    [100609_074840178][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setTemplate(String) is called with 'C:\Users\RIFnet\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\tmp\tmp.xsl'.
    [100609_074840180][oracle.apps.xdo.template.FOProcessor][STATEMENT]    Log file 'xdo_100609_074840176_fo_data_12.xsl' is created.
    [100609_074840182][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setOutput(String)is called with 'C:\Users\RIFnet\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\tmp\581254851319596out.pdf'.
    [100609_074840208][oracle.apps.xdo.template.FOProcessor][STATEMENT]    Log file 'xdo_100609_074840176_fo_out3.out' is created.
    [100609_074840209][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setLocale is called with 'en-us'.
    [100609_074840209][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setOutputFormat(byte)is called with ID=1.
    [100609_074840210][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setConfig(String) is called with 'C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdo.cfg'.
    [100609_074840212][oracle.apps.xdo.template.FOProcessor][STATEMENT] Start Memory: max=254MB, total=6MB, free=1MB
    [100609_074840212][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.generate() called.
    [100609_074840216][oracle.apps.xdo.template.FOProcessor][STATEMENT] createFO(Object, Object) is called.
    [100609_074840409][oracle.apps.xdo.common.xml.XSLT10gR1][STATEMENT] Oracle XML Developers Kit 10.1.0.5.0 - Production
    [100609_074840410][oracle.apps.xdo.common.xml.XSLT10gR1][STATEMENT] Scalable Feature Disabled
    [100609_074840590][oracle.apps.xdo.template.FOProcessor][STATEMENT]    Log file 'xdo_100609_074840176_fo_fo_14.fo' is created.
    [100609_074840592][][STATEMENT] XSL-T time used: 329
    [100609_074840592][oracle.apps.xdo.template.fo.FOProcessingEngine][STATEMENT] Using proxy for PDF Generator
    [100609_074840598][oracle.apps.xdo.template.FOProcessor][STATEMENT] Calling FOProcessingEngine.process()
    [100609_074840599][][STATEMENT] Using optimized xslt
    [100609_074840614][][STATEMENT] [ PDF GENERATOR ]---------------------------------------------
    [100609_074840615][][STATEMENT] XDO version   = Oracle BI Publisher 10.1.3.4.1
    [100609_074840615][][STATEMENT] java.home     = C:\Program Files\Java\jre1.6.0_06
    [100609_074840615][][STATEMENT] XDO_TOP       = null
    [100609_074840615][][STATEMENT] Config Path   = null
    [100609_074840616][][STATEMENT] Debug Cfg Path= C:\Program Files\Java\jre1.6.0_06\lib\xdodebug.cfg
    [100609_074840616][][STATEMENT] Font dir      = C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\
    [100609_074840616][][STATEMENT] Locale        = en-us
    [100609_074840616][][STATEMENT] Fallback font = truetype./fonts/ALBANWTJ.ttf
    [100609_074840617][][STATEMENT] [ PDF GENERATOR PROPERTIES ]----------------------------------
    [100609_074840618][][STATEMENT] digit-substitution=null(not set)
    [100609_074840620][][STATEMENT] font.ADVC128B.normal.normal=truetype.C:\Program Files\Java\jre1.6.0_06\lib\fonts\advc128b.ttf
    [100609_074840620][][STATEMENT] font.ALBANY WT J.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTJ.ttf
    [100609_074840620][][STATEMENT] font.ALBANY WT K.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTK.ttf
    [100609_074840621][][STATEMENT] font.ALBANY WT SC.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTS.ttf
    [100609_074840621][][STATEMENT] font.ALBANY WT TC.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTT.ttf
    [100609_074840621][][STATEMENT] font.ALBANY WT.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANYWT.ttf
    [100609_074840622][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOJB.ttf
    [100609_074840622][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOJ.ttf
    [100609_074840622][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOKB.ttf
    [100609_074840623][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOK.ttf
    [100609_074840623][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOSCB.ttf
    [100609_074840623][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOSC.ttf
    [100609_074840624][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOTCB.ttf
    [100609_074840624][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOTC.ttf
    [100609_074840624][][STATEMENT] font.ANDALE DUOSPACE WT.normal.bold=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUOB.ttf
    [100609_074840624][][STATEMENT] font.ANDALE DUOSPACE WT.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ADUO.ttf
    [100609_074840625][][STATEMENT] font.ARIAL.normal.normal=truetype./fonts/Arial.ttf
    [100609_074840625][][STATEMENT] font.CG TIMES.italic.bold=type1.Times-BoldItalic
    [100609_074840625][][STATEMENT] font.CG TIMES.italic.normal=type1.Times-Italic
    [100609_074840625][][STATEMENT] font.CG TIMES.normal.bold=type1.Times-Bold
    [100609_074840626][][STATEMENT] font.CG TIMES.normal.normal=type1.Times-Roman
    [100609_074840626][][STATEMENT] font.COURIER NEW.italic.bold=type1.Courier-BoldOblique
    [100609_074840626][][STATEMENT] font.COURIER NEW.italic.normal=type1.Courier-Oblique
    [100609_074840627][][STATEMENT] font.COURIER NEW.normal.bold=type1.Courier-Bold
    [100609_074840627][][STATEMENT] font.COURIER NEW.normal.normal=type1.Courier
    [100609_074840627][][STATEMENT] font.COURIER.italic.bold=type1.Courier-BoldOblique
    [100609_074840627][][STATEMENT] font.COURIER.italic.normal=type1.Courier-Oblique
    [100609_074840628][][STATEMENT] font.COURIER.normal.bold=type1.Courier-Bold
    [100609_074840628][][STATEMENT] font.COURIER.normal.normal=type1.Courier
    [100609_074840628][][STATEMENT] font.DEFAULT.italic.bold=type1.Helvetica-BoldOblique
    [100609_074840629][][STATEMENT] font.DEFAULT.italic.normal=type1.Helvetica-Oblique
    [100609_074840629][][STATEMENT] font.DEFAULT.normal.bold=type1.Helvetica-Bold
    [100609_074840629][][STATEMENT] font.DEFAULT.normal.normal=truetype./fonts/ALBANWTJ.ttf
    [100609_074840629][][STATEMENT] font.GLFALLBACK.normal.normal=truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTJ.ttf
    [100609_074840630][][STATEMENT] font.HELVETICA.italic.bold=type1.Helvetica-BoldOblique
    [100609_074840630][][STATEMENT] font.HELVETICA.italic.normal=type1.Helvetica-Oblique
    [100609_074840630][][STATEMENT] font.HELVETICA.normal.bold=type1.Helvetica-Bold
    [100609_074840631][][STATEMENT] font.HELVETICA.normal.normal=type1.Helvetica
    [100609_074840631][][STATEMENT] font.MONOSPACE.italic.bold=type1.Courier-BoldOblique
    [100609_074840631][][STATEMENT] font.MONOSPACE.italic.normal=type1.Courier-Oblique
    [100609_074840631][][STATEMENT] font.MONOSPACE.normal.bold=type1.Courier-Bold
    [100609_074840632][][STATEMENT] font.MONOSPACE.normal.normal=type1.Courier
    [100609_074840632][][STATEMENT] font.SANS-SERIF.italic.bold=type1.Helvetica-BoldOblique
    [100609_074840633][][STATEMENT] font.SANS-SERIF.italic.normal=type1.Helvetica-Oblique
    [100609_074840633][][STATEMENT] font.SANS-SERIF.normal.bold=type1.Helvetica-Bold
    [100609_074840633][][STATEMENT] font.SANS-SERIF.normal.normal=type1.Helvetica
    [100609_074840634][][STATEMENT] font.SERIF.italic.bold=type1.Times-BoldItalic
    [100609_074840634][][STATEMENT] font.SERIF.italic.normal=type1.Times-Italic
    [100609_074840635][][STATEMENT] font.SERIF.normal.bold=type1.Times-Bold
    [100609_074840635][][STATEMENT] font.SERIF.normal.normal=type1.Times-Roman
    [100609_074840635][][STATEMENT] font.SYMBOL.normal.normal=type1.Symbol
    [100609_074840636][][STATEMENT] font.TIMES NEW ROMAN.italic.bold=type1.Times-BoldItalic
    [100609_074840636][][STATEMENT] font.TIMES NEW ROMAN.italic.normal=type1.Times-Italic
    [100609_074840636][][STATEMENT] font.TIMES NEW ROMAN.normal.bold=type1.Times-Bold
    [100609_074840637][][STATEMENT] font.TIMES NEW ROMAN.normal.normal=type1.Times-Roman
    [100609_074840637][][STATEMENT] font.TIMES.italic.bold=type1.Times-BoldItalic
    [100609_074840637][][STATEMENT] font.TIMES.italic.normal=type1.Times-Italic
    [100609_074840638][][STATEMENT] font.TIMES.normal.bold=type1.Times-Bold
    [100609_074840638][][STATEMENT] font.TIMES.normal.normal=type1.Times-Roman
    [100609_074840639][][STATEMENT] font.ZAPFDINGBATS.normal.normal=type1.ZapfDingbats
    [100609_074840639][][STATEMENT] pdf-changes-allowed=0
    [100609_074840639][][STATEMENT] pdf-compression=true
    [100609_074840640][][STATEMENT] pdf-enable-accessibility=true
    [100609_074840640][][STATEMENT] pdf-enable-copying=false
    [100609_074840640][][STATEMENT] pdf-encryption-level=0
    [100609_074840641][][STATEMENT] pdf-font-embedding=true
    [100609_074840641][][STATEMENT] pdf-hide-menubar=false
    [100609_074840642][][STATEMENT] pdf-hide-toolbar=false
    [100609_074840642][][STATEMENT] pdf-no-accff=false
    [100609_074840642][][STATEMENT] pdf-no-cceda=false
    [100609_074840643][][STATEMENT] pdf-no-changing-the-document=false
    [100609_074840643][][STATEMENT] pdf-no-printing=false
    [100609_074840643][][STATEMENT] pdf-open-password=
    [100609_074840643][][STATEMENT] pdf-permissions=0
    [100609_074840644][][STATEMENT] pdf-permissions-password=
    [100609_074840644][][STATEMENT] pdf-printing-allowed=0
    [100609_074840645][][STATEMENT] pdf-replace-smartquotes=true
    [100609_074840645][][STATEMENT] pdf-security=false
    [100609_074840645][][STATEMENT] ------------------------------------------------------
    [100609_074840672][][STATEMENT]  Rendering page [1]
    [100609_074840679][oracle.apps.xdo.common.font.FontFactory$FontDef][ERROR] Failed to open TrueType font: /fonts/ALBANWTJ.ttf(0)
    [100609_074840680][oracle.apps.xdo.common.font.FontFactory$FontDef][ERROR] Failed to open Type3 font (SVG embedded): null
    [100609_074840680][][EXCEPTION] Default.normal.normal is invalid. Set it to Helvetica
    [100609_074840681][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] TrueType font created: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTJ.ttf(0)
    [100609_074840681][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] TrueType font created: C:\Program Files\Java\jre1.6.0_06\lib\fonts\advc128b.ttf(0)
    [100609_074840692][][STATEMENT] Phase2 time used: 42ms
    [100609_074840692][][STATEMENT]  Continue rendering page [1]
    [100609_074840693][][STATEMENT]  Generating page [1]
    [100609_074840703][][STATEMENT] Phase2 time used: 11ms
    [100609_074840704][][STATEMENT] Total time used: 102ms for processing XSL-FO
    [100609_074840719][oracle.apps.xdo.common.font.FontFactory][STATEMENT] truetype.C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts\ALBANWTJ.ttf closed.
    [100609_074840719][oracle.apps.xdo.common.font.FontFactory][STATEMENT] truetype.C:\Program Files\Java\jre1.6.0_06\lib\fonts\advc128b.ttf closed.
    [100609_074840720][][STATEMENT] FO+Gen time used: 121 msecs
    [100609_074840720][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) is called.
    [100609_074840721][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) done. All inputs are cleared.
    [100609_074840723][oracle.apps.xdo.template.FOProcessor][STATEMENT] End Memory: max=254MB, total=7MB, free=0MB

  • Error while signing a document using API

    Hello. I'm using API functions to add a digital signature to a PDF document. While signing this document, I receive an error which looks like:
    com.adobe.livecycle.signatures.client.types.exceptions.PDFOperationException: ALC-DSS-303-001 Could not sign Signature Field MyField (in the operation : sign)
    Caused By: ALC-DSS-303-014 Subject name and the subject alt name missing. (in the operation : getSignerName)
    My source code is a straight copy/paste from the SDK Help. I can successfully add an unsigned signature field using API call, but I can't sign it. I can also sign my document manually from Adobe Acrobat Professional using the same certificate.
    I'm new in LiveCycle and digital signatures, so it might be some obvious reason that I just can't detect now.
    Could anyone help me, please?

    you can mail me directly to [email protected], and I'll try to help.
    no guarenty :-)
    Tal
    [email protected]

  • Creation of a Request in OIM 11G using API's

    Hi Friends,
    I am trying to create a request using OIM 11g API's.
    I am trying to do this for EBS Responsibility resource and this resource has a request dataset has EBS-IT-Resource-Instance, application name, responsibility name, start date and security group. Please note application name, responsibility name, start date and security group are in child form.
    I am trying to populate the request dataset using the below code.
    List<RequestBeneficiaryEntityAttribute> entityAttrList;
    RequestBeneficiaryEntity entity = null;
    entityAttrList = new ArrayList<RequestBeneficiaryEntityAttribute>();
    entity = new RequestBeneficiaryEntity();
    tcITResourceInstanceOperationsIntf tcITResourceIntf = Platform.getService(tcITResourceInstanceOperationsIntf.class);
    HashMap searchcriteria = new HashMap<String, String>();
    searchcriteria.put("IT Resources.Name", "EBSHF-APPS12");
    tcResultSet resultSet = tcITResourceIntf.findITResourceInstances(searchcriteria);
    long itResourceKey=resultSet.getLongValue("IT Resources.Key");
    entityAttrList.add(this.getAttrLong("eBusiness Suite Instance Name",itResourceKey));
    entityAttrList.add(this.getAttr("Application Name","3~300"));
    entityAttrList.add(this.getAttr("Responsibility Name", "3~300~52281"));
    entityAttrList.add(this.getAttr("Security Group", "3~0"));
    entity.setEntityKey(getResourceKey("Oracle eBusiness Responsibility"));
    entity.setEntityType(RequestConstants.RESOURCE);
    entity.setEntitySubType("Oracle eBusiness Responsibility");
    entity.setEntityData(entityAttrList);
    private RequestBeneficiaryEntityAttribute getAttr(String name, String value)
    RequestBeneficiaryEntityAttribute attr = null;
    attr = new RequestBeneficiaryEntityAttribute(name, value, RequestBeneficiaryEntityAttribute.TYPE.String);
    return attr;
    private RequestBeneficiaryEntityAttribute getAttrLong(String name, long value)
    RequestBeneficiaryEntityAttribute attr = null;
    attr = new RequestBeneficiaryEntityAttribute(name, value, RequestBeneficiaryEntityAttribute.TYPE.Long);
    return attr;
    My code is working fine and a request is getting created. But when I try to open the request dataset(object form) for the newly created request, I am getting null exceptions.
    If I did not populate the fields that are in the child form application name, responsibility name and security group which are highlighted above, then I am able to view the form with the correct IT-Resource-Instance name after request creation.
    So, I am thinking I am doing something wrong while populating child form data in the request dataset.
    Can you please provide me some code snippet to populate the child using 11G API'S?

    Hi Bikash,
    After referring your code, i made changes in mine. Here is my updated code.
    RequestBeneficiaryEntityAttribute parantAttr=null;
    List<RequestBeneficiaryEntityAttribute> entityAttrList;
    RequestBeneficiaryEntity entity = null;
    entity = new RequestBeneficiaryEntity();
    parantAttr=this.getAttrLong("eBusiness Suite Instance Name", itResourceKey);
    RequestBeneficiaryEntityAttribute mid1 = new RequestBeneficiaryEntityAttribute();
    List <RequestBeneficiaryEntityAttribute> childAttributesList = new ArrayList<RequestBeneficiaryEntityAttribute>();
    childAttributesList.add(this.getAttr("Application Name", "3~555"));
    childAttributesList.add(this.getAttr("Responsibility Name", "3~555~22862"));
    childAttributesList.add(this.getAttr("Security Group", "3~0"));
    mid1.setChildAttributes(childAttributesList);
    mid1.setAction(RequestBeneficiaryEntityAttribute.ACTION.Add);
    entityAttrList = new ArrayList<RequestBeneficiaryEntityAttribute>();
    entityAttrList.add(parantAttr);
    entityAttrList.add(mid1);
    But when I try to run this, it is getting failed saying "RequestServiceException: IAM-2050033:Invalid attribute name null. No corresponding reference was found in the data set ProvisionResourceOracle eBusiness Responsibility".
    Here is my request data set for your reference.
    <AttributeReference name="eBusiness Suite Instance Name" attr-ref="eBusiness Suite Instance Name" type="Long" length="50" widget="itresource-lookup" required="true" available-in-bulk="true" itresource-type="eBusiness Suite UM"/>
    <AttributeReference available-in-bulk="true" length="10" widget="text" type="String" attr-ref="UD_EBH_RSCP" name="EBS HR Foundation User Responsibilities">
    <AttributeReference name="Application Name" attr-ref="Application Name" type="String" length="256" widget="lookup-query" available-in-bulk="true" required="true">
    <lookupQuery lookup-query="select lkv_encoded as Value,lkv_decoded as Description from lkv lkv, lku lku where lkv.lku_key=lku.lku_key and lku_type_string_key='Lookup.EBS.Application' and lkv_encoded like concat('$Form data.eBusiness Suite Instance Name', '~%')" display-field="Description" save-field="Value"/>
    </AttributeReference>
    <AttributeReference name="Responsibility Name" attr-ref="Responsibility Name" type="String" length="256" widget="lookup-query" available-in-bulk="true" required="true" primary="true">
    <lookupQuery lookup-query="select lkv_encoded as Value,lkv_decoded as Description from lkv lkv,lku lku where lkv.lku_key=lku.lku_key and lku_type_string_key='Lookup.EBS.Responsibility' and lkv_encoded like concat('$Form data.Application Name','~%')" display-field="Description" save-field="Value"/>
    </AttributeReference>
    <AttributeReference name="Security Group" attr-ref="Security Group" type="String" length="256" widget="lookup-query" available-in-bulk="true" required="true">
    <lookupQuery lookup-query="select lkv_encoded as Value,lkv_decoded as Description from lkv lkv, lku lku where lkv.lku_key=lku.lku_key and lku_type_string_key='Lookup.EBS.SecurityGroup' and lkv_encoded like concat('$Form data.eBusiness Suite Instance Name', '~%')" display-field="Description" save-field="Value"/>
    </AttributeReference>
    I am not sure why it is not referencing to the attribute. In your blog, it is saying your code is to set process form. But i am trying to create a request using API's. so, I need some code snippet to populate request dataset. Do you think, this will serve both?
    Thanks for your help.

  • AP Payment Upload Using API or Interface

    Hi ,
    I had requirement to upload the AP payment information using API or Interface. I have the below code. But is showing some "Unexpected" error.
    declare
    p_num_printed_docs NUMBER;
    p_payment_id NUMBER;
    p_paper_doc_num NUMBER;
    p_pmt_ref_num NUMBER;
    p_return_status VARCHAR2(200);
    p_error_ids_tab IBY_DISBURSE_SINGLE_PMT_PKG.trxnErrorIdsTab;
    p_msg_count NUMBER;
    p_msg_data VARCHAR2(200);
    begin
    MO_GLOBAL.SET_POLICY_CONTEXT('S',84); --- Apps intialize
    fnd_global.apps_initialize(1823,20639,200); --- Apps intialize
    IBY_DISBURSE_SINGLE_PMT_PKG.SUBMIT_SINGLE_PAYMENT(
    p_api_version => 1.0,
    p_init_msg_list => fnd_api.g_false,
    p_calling_app_id => 200,
    p_calling_app_payreq_cd => '13011',
    p_is_manual_payment_flag => 'Y',
    p_payment_function => 'PAYABLES_DISB',
    p_internal_bank_account_id => 10000, -----12001,
    p_pay_process_profile_id => 161,
    p_payment_method_cd => 'CLEARING',
    p_legal_entity_id => 23324,
    p_organization_id => 84,
    p_organization_type => '',
    p_payment_date => sysdate,
    p_payment_amount => 111,
    p_payment_currency => 'USD',
    p_payee_party_id => 91678,
    p_payee_party_site_id => 45272,
    p_supplier_site_id => '',
    p_payee_bank_account_id => '',
    p_override_pmt_complete_pt => 'N',
    p_bill_payable_flag => 'N',
    p_anticipated_value_date => '',
    P_MATURITY_DATE => '',
    p_payment_document_id => 1,
    p_paper_document_number => '',
    p_printer_name => '',
    p_print_immediate_flag => '',
    p_transmit_immediate_flag => '',
    x_num_printed_docs => p_num_printed_docs,
    x_payment_id => p_payment_id,
    x_paper_doc_num => p_paper_doc_num,
    x_pmt_ref_num => p_pmt_ref_num,
    x_return_status => p_return_status,
    x_error_ids_tab => p_error_ids_tab,
    x_msg_count => p_msg_count,
    x_msg_data => p_msg_data
    commit;
    DBMS_OUTPUT.put_line ( p_return_status || '---''---' || p_msg_data || '--''--' || p_msg_count );
    IF p_msg_count = 1 THEN
    DBMS_OUTPUT.put_line ( p_return_status || '---''---' || p_msg_data || '--''--' || p_msg_count );
    ELSIF p_msg_count > 1 THEN
    FOR i IN 1..p_msg_count LOOP
    DBMS_OUTPUT.put_line ( i||'. ' || fnd_msg_pub.get (p_encoded => fnd_api.g_false) );
    END LOOP;
    ELSE
    DBMS_OUTPUT.put_line (p_return_status);
    END IF;
    end;
    If anyone knows the solution please respond quickly. This is quite urgent requirement. If I am not using right API then please suggest as well. This requirement for Oracle Apps R12
    Regards,
    Prakash

    Hi,
    Can you please advise if you had a response for your message.
    Regards,
    Sunil

  • How to get administrations of distribution list using api?

    I want get all administrations of a distribution list using api, how to do that?
    anybody knows? Thank you very much!!

    there is a standard function in mdm wd component
    https://help.sap.com/saphelp_nwmdm71/helpdata/en/loio30bf76947bb64c48a2e835fda42c5183_30bf76947bb64c48a2e835fda42c5183/4…
    "Note The Compare to Original button on the Items Detail component opens a Compare component enabling a user to compare a checked out record with an original record (if the user has authorization for the checked out group).
    If the checked out record is a result of a merge action, then the Compare view displays all the original records prior to the merge. When a merge action is executed on a number of checked out records, the merged record is also checked out."

  • Can't add Shared Member using API

    I would like to create a lot of shared members.Using API I do it as following according to documentation: ESS_MBRINFO_T MbrInfo; memset(&MbrInfo, '\0', sizeof(MbrInfo)); strcpy(MbrInfo.szMember, (char*)mbrName); MbrInfo.usShare = ESS_SHARE_SHARE; sts = EssOtlAddMember(getOutline(), &MbrInfo, ESS_NULL, hMbr, &hNewMember); When I try to add shared member, then sts = 1060051.So I have to change names and after correct them manually.Using HAB API I can't add shared member too.Regards,Georgy

    Hi and Welcome to the Forums!
    To really help, you should come and create an account on these forums...there are many unanswered questions from your initial inquiry...come here, create an account, and open a thread so that it all can be resolved:
    http://supportforums.blackberry.com/rim/
    Cheers!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Error occurred while finding users using API with custom field

    Hi All,
    I am getting the following error while searching user using API with custom attribute. Did anybody faced the same problem before ?
    Hashtable<Object,Object> env = new Hashtable<Object,Object>();
    env.put("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory");
    env.put(OIMClient.JAVA_NAMING_PROVIDER_URL, "t3://localhost:14000");
    System.setProperty("java.security.auth.login.config","C:\\Oracle\\Middleware\\Oracle_IDM1\\designconsole\\config\\authwl.conf");
    System.setProperty("OIM.AppServerType", "wls");
    System.setProperty("APPSERVER_TYPE", "wls");
    tcUtilityFactory ioUtilityFactory = new tcUtilityFactory(env, "xelsysadm", "Weblogic123$");
    OIMClient client = new OIMClient(env);
    client.login("xelsysadm", "Weblogic123$".toCharArray());
    SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
    tcUserOperationsIntf moUserUtility = (tcUserOperationsIntf)ioUtilityFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
    Hashtable mhSearchCriteria = new Hashtable();
    mhSearchCriteria.put("USR_UDF_ACTUALSTARTDATE",formatter.format(date));
    tcResultSet moResultSet = moUserUtility.findAllUsers(mhSearchCriteria);
    printTcResultSet(moResultSet,"abcd");
    log4j:WARN No appenders could be found for logger (org.springframework.jndi.JndiTemplate).
    log4j:WARN Please initialize the log4j system properly.
    Exception in thread "main" Thor.API.Exceptions.tcAPIException: Error occurred while finding users.
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl_1036_WLStub.findAllUsersx(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    at com.sun.proxy.$Proxy2.findAllUsersx(Unknown Source)
    at Thor.API.Operations.tcUserOperationsIntfDelegate.findAllUsers(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
    at com.sun.proxy.$Proxy3.findAllUsers(Unknown Source)
    at oim.standalone.code.OIMAPIConnection.usersearch(OIMAPIConnection.java:209)
    at oim.standalone.code.OIMAPIConnection.main(OIMAPIConnection.java:342)
    Caused by: Thor.API.Exceptions.tcAPIException: Error occurred while finding users.
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.findAllUsers(tcUserOperationsBean.java:4604)
    at Thor.API.Operations.tcUserOperationsIntfEJB.findAllUsersx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor1614.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at com.sun.proxy.$Proxy347.findAllUsersx(Unknown Source)
    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl.findAllUsersx(Unknown Source)
    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Thank you

    Hi J,
    Thanks for the reply. But the code is working fine for OOTB attributes and  for 11g API i am getting permission exception
    Exception in thread "main" oracle.iam.platform.authz.exception.AccessDeniedException: You do not have permission to search the following user attributes: USR_UDF_ACTUALSTARTDATE.
    at oracle.iam.identity.usermgmt.impl.UserManagerImpl.search(UserManagerImpl.java:1465)
    at sun.reflect.GeneratedMethodAccessor1034.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at com.sun.proxy.$Proxy366.search(Unknown Source)
    at oracle.iam.identity.usermgmt.api.UserManagerEJB.searchx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor1449.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at com.sun.proxy.$Proxy365.searchx(Unknown Source)
    at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl.searchx(Unknown Source)
    at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: oracle.iam.identity.exception.SearchAttributeAccessDeniedException: You do not have permission to search the following user attributes: USR_UDF_ACTUALSTARTDATE.
    at oracle.iam.identity.usermgmt.impl.UserManagerImpl.search(UserManagerImpl.java:1462)
    ... 44 more

  • Apply credit memo to invoice using API

    Dear All ,
    my question is how to apply a credit memo to invoice .
    I want to make a credit memo then apply invoice to this credit memo , you can check this in the transaction form by creating a credit memo then check application from action menu then apply the invoice.
    So i want to simulate this process using API.
    i searche and f ound there is API called Ar_cm_application_pub.activity_application but it is not clear to me .
    So if anyone know this API and how to use it and any example for it .
    thanx in advance .

    No Answer??!!!!

  • Trying to create Organization in OIM 11g R2 using API

    Hi All,
    I am trying to create Organization in OIM 11g R2 using API's. I able to create a organization with attributes Organization Name and Organization Customer Type but when i am trying to add Parent Organization Name it is throwing me the following error
    Caused by: oracle.iam.platform.entitymgr.UnknownAttributeException: Organization : [Parent Organization Name]
    any help in this regard will be helpful....
    Thanks

    Yes i do have the org with act_key 27
    I have done that changes...still it is throwing the same error
    Exception in thread "main" oracle.iam.identity.exception.OrganizationCreateException: IAM-3056148:act_createby is a System Attribute and cannot be set through API.:act_createby
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at oracle.iam.identity.orgmgmt.api.OrganizationManager_874ar_OrganizationManagerRemoteImpl_1036_WLStub.createx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
         at $Proxy2.createx(Unknown Source)
         at oracle.iam.identity.orgmgmt.api.OrganizationManagerDelegate.create(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.security.Security.runAs(Security.java:41)
         at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
         at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
         at $Proxy3.create(Unknown Source)
         at oracle.iam.ui.custom.Class1.main(Class1.java:108)
    Caused by: oracle.iam.identity.exception.OrganizationCreateException: IAM-3056148:act_createby is a System Attribute and cannot be set through API.:act_createby
         at oracle.iam.identity.orgmgmt.impl.OrganizationManagerImpl.create(OrganizationManagerImpl.java:318)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy333.create(Unknown Source)
         at oracle.iam.identity.orgmgmt.api.OrganizationManagerEJB.createx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy331.createx(Unknown Source)
         at oracle.iam.identity.orgmgmt.api.OrganizationManager_874ar_OrganizationManagerRemoteImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
         at oracle.iam.identity.orgmgmt.api.OrganizationManager_874ar_OrganizationManagerRemoteImpl.createx(Unknown Source)
         at oracle.iam.identity.orgmgmt.api.OrganizationManager_874ar_OrganizationManagerRemoteImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: oracle.iam.platform.kernel.ValidationFailedException: IAM-3056148:act_createby is a System Attribute and cannot be set through API.:act_createby
         at oracle.iam.identity.usermgmt.utils.UserManagerUtils.createValidationFailedException(UserManagerUtils.java:337)
         at oracle.iam.identity.usermgmt.utils.UserManagerUtils.createValidationFailedException(UserManagerUtils.java:372)
         at oracle.iam.identity.utils.Utils.checkAllowedAttributes(Utils.java:2523)
         at oracle.iam.identity.orgmgmt.impl.handlers.create.CreateOrganizationValidationHandler.validate(CreateOrganizationValidationHandler.java:102)
         at oracle.iam.platform.kernel.impl.OrchProcessData.validate(OrchProcessData.java:258)
         at oracle.iam.platform.kernel.impl.OrchProcessData.runValidationEvents(OrchProcessData.java:203)
         at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.validate(OrchestrationEngineImpl.java:699)
         at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.process(OrchestrationEngineImpl.java:547)
         at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:485)
         at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:403)
         at sun.reflect.GeneratedMethodAccessor1171.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy251.orchestrate(Unknown Source)
         at oracle.iam.identity.orgmgmt.impl.OrganizationManagerImpl.create(OrganizationManagerImpl.java:306)
         ... 46 more

  • Direct provisioing using API in OIM 11g

    Hi Experts,
    I am facing couple of issues.
    *1)* I am trying to provision a resource direcly using API's in OIM 11g. Here I do not have any object form for this resource but I have a process form with some pre-population adapters.
    And I am trying to use the below code for direct provisioining.
    Hashtable objectHash = new Hashtable();
    objectHash.put("Objects.Name", objectName);
    tcResultSet objectResultSet = objIntf.findObjects(objectHash);
    long objectKey = objectResultSet.getLongValue("Objects.Key");
    com.thortech.xl.vo.ResourceData data = userIntf.provisionResource(userKey, objectKey);
    long userObjectInstanceKey = Long.parseLong(data.getOiuKey());
    long objectInstanceKey = Long.parseLong(data.getObiKey());
    And I am getting nulls for the attributes userObjectInstanceKey & objectInstanceKey .
    Please let me know how to provision a resource which has no object form but has some pre-population adapters using API .
    *2)* I am trying to provision a resource direcly using API's in OIM 11g. Here I do have an object form for this resource which has one of the attribute as of type lookup.
    ResourceData data = userIntf.provisionResource(userKey, resourceKey);
    long userObjectInstanceKey = Long.parseLong(data.getOiuKey());
    long objectInstanceKey = Long.parseLong(data.getObiKey());
    Hashtable objectHash = new Hashtable();
    objectHash.put("UD_ADGROUP_NAME",groupName);
    In this case I am getting objectInstanceKey properly but it is not seeting lookup field value but it is setting all other fields on the object form correctly.
    How to set a field of type lookup on the object form while provisioing a resource directly using API's.
    Thanks a lot for your help.

    947670 wrote:
    Hi Pallavi,
    I am not populating any object form. I am trying for direct provisioning a resource thru OIM API's.
    Hence, I need populate all of the process form fields inorder to skip the approval flow. So, I was using setProcessFormData method.
    Here is what happening.
    1) My resource has a request dataset which has only one field called "Group Name".
    2) My resource has a process form with the fields name UD_GROUP_NAME, UD_GROUP_DESCRIPTION, UD_GROUP_OWNER.
    3) When I use the below code, I was able to populate the fields UD_GROUP_DESCRIPTION, UD_GROUP_OWNER (Because pre-populate adapters are getting invoked) as they did not exist on the request data.
    tcFormInstanceOperationsIntf formInstanceOps=Platform.getService(tcFormInstanceOperationsIntf.class);
    ResourceData data = userIntf.provisionResource(userKey, resourceKey);
    long userObjectInstanceKey = Long.parseLong(data.getOiuKey());
    long objectInstanceKey = Long.parseLong(data.getObiKey());
    Hashtable objectHash = new Hashtable();
    objectHash.put("*UD_ADGROUP_NAME*",groupName);
    formInstanceOps.setProcessFormData(objectInstanceKey, objectHash);
    4) I am having this issue only with the fields that are exist on the request dataset. Since, UD_GROUP_NAME exist on the request dataset, even if I try to set some value in the process form, it is not taking.
    Using API's, I am not able to populate any of the attributes on the process form that are exist on the request dataset.
    How to solve this issue.1. Check the process form field name.
    2. Use tcUserOperationsIntfAPI Method provisionObject(userKey,ObjectKey)
    userIntf.provisionObject(userKey, objectKey);
    3. Get the process-instance key.
    tcResultSet objResultSet = userIntf.getObjects(userKey);
                   int objCount = objResultSet.getRowCount();
                   for (int count = 0; count < objCount; count++) {
                        objResultSet.goToRow(count);
                        if (objResultSet.getStringValue("Objects.Name").equalsIgnoreCase(resourceObjectName)){
                             processInstanceKey = objResultSet.getLongValue("Process Instance.Key");
    4. Use tcFormInstanceOperationsIntf API method setProcesFormData(processInstanceKey,dataMap)
    Hope this helps you.

  • How to obtain Role name in OIM 11g using API's

    Hello,
    I have a scenario in which I create Role/Group in OIM 11g & it gets provisioned in AD [=works fine] & other part is when i delete role in OIM 11g then it should
    get deleted from AD.I have written postprocess event handler to achieve this.
    In role creation part i get all parameters using "orchestration.getParameters();" , but when i delete role then "orchestration.getParameters();" is empty,so i am
    not able to get role name.
    Is there a way to get role name while deleting roles using API ?
    Thanks,
    Rahul Shah

    Hi Raghav,
    Following is my code :
    tcRODetails = orgOpInterface.getObjects(organizationKey);
    for(int i = 0;i < tcRODetails.getRowCount();i++){
    tcRODetails.goToRow(i);
    // resourceName=AD Group
    if(resourceName.equalsIgnoreCase(tcRODetails.getStringValue("Objects.Name"))&&
    tcRODetails.getStringValue("Objects.Object Status.Status").equalsIgnoreCase("Provisioned")||
    tcRODetails.getStringValue("Objects.Object Status.Status").equalsIgnoreCase("Enabled")) {
    System.out.println("<<<FOUND>>>");
    processKey = tcRODetails.getLongValue("Process Instance.Key");
    provisionObjectKey = tcRODetails.getLongValue("Objects.Key");
    tcProcessSet = oimFormUtility.getProcessFormData(processKey);
    for(int j=0;j<tcProcessSet.getRowCount();j++){
    tcProcessSet.goToRow(j);
    if(grpName.equalsIgnoreCase(tcProcessSet.getStringValue("UD_ADGRP_NAME"))){
    System.out.println("MATCH FOUND!!!!!");
    orgOpInterface.removeObjectAllowed(organizationKey,provisionObjectKey);
    break;
    & i get following error :
    <Mar 22, 2012 1:54:43 PM IST> <Error> <XELLERATE.APIS> <BEA-000000> <Class/Method: tcOrganizationOperationsBean/removeObjectAllowed encounter some problems: Object with key=7 is not already set as an allowed object for Organization with key=1>
    Thanks
    Rahul Shah

  • Access KM using API as predefined user

    Hello, dear experts!
    Currently I am going to use KM as file storage for my application. I want to prevent direct access to KM content for all users and allow them to upload and download files only using my application.
    The problem is:
    I use not context of current user but some user found in UME.
    IUser user = UMFactory.getUserFactory().getUserByLogonID("Administrator");
    com.sapportals.portal.security.usermanagement.IUser ep5User = portalUserFactory.getEP5User(user);
    context = new ResourceContext(ep5User);
    When I try to operate KM (for instance create new folder) I get error: "User <Administrator> is not authenticated"
    But user "Administrator" has all rights to access KM.
    Is it possible to access KM using API as different user? Or is there another way to solve the problem?
    Best regards,
    Anton.

    Hi, Praveen!
    Thank you for your answer. Your code works fine!
    But when I created my own service user "service_user" under Content Management  -> Utilities -> System Principals I cannot get resource context even after restarting servlet engine.
    I get an exception java.security.PrivilegedActionException: com.sapportals.wcm.repository.ResourceException: User management exception: Could not get service user "service_user".
    This user has the same permissions as "cmadmin_service".
    Also user with the same name was created in UME.
    May be I should execute some additional administrating task?
    Best regards,
    Anton.

  • How to create Custom WEB ADI using API Only for both Dowload/Upload process

    I am able to create custom WEB ADI using API for upload process. I have written the following code to create custom WEB ADI using API for upload process.
    DECLARE
    v_application_id NUMBER:= 20003;
    v_object_code VARCHAR2(255):='WEBADI_API_DEM_17';
    v_int_user_name VARCHAR2(255):='WEBADI_API_DEM_17';
    v_language VARCHAR2(255):='US';
    v_source_lang VARCHAR2(255):='US';
    v_user_id NUMBER :=1345;
    v_integrator_code VARCHAR2(255);--:='WEBADI_API_DEM_17_INTG';
    v_param_list_code VARCHAR2(255);
    --v_interface_code  VARCHAR2(255);
    v_interface_code VARCHAR2(255);--:='WEBADI_API_DEM_17_INTF';
    p_layout_code VARCHAR2(255):='WEBADI_API_DEM_17_LAYOUT';
    V_MAPPING_CODE VARCHAR2(255);
    BEGIN
    BNE_INTEGRATOR_UTILS.CREATE_INTEGRATOR(P_APPLICATION_ID =>v_application_id,
    P_OBJECT_CODE =>v_object_code,
    P_INTEGRATOR_USER_NAME =>v_int_user_name,
    P_LANGUAGE =>v_language,
    P_SOURCE_LANGUAGE =>v_source_lang,
    P_USER_ID =>v_user_id,
    P_INTEGRATOR_CODE =>v_integrator_code);
    BNE_INTEGRATOR_UTILS.CREATE_INTERFACE_FOR_API (P_APPLICATION_ID =>v_application_id,
    P_OBJECT_CODE =>v_object_code,
    P_INTEGRATOR_CODE =>v_integrator_code,
    P_API_PACKAGE_NAME =>'XXDH_PRICE_LIST_POC_PKG',
    P_API_PROCEDURE_NAME =>'CREATE_PRICE_LIST',
    P_INTERFACE_USER_NAME =>'WEBADI_API_DEM_17',
    P_PARAM_LIST_NAME =>'WEBADI_API_DEM_17',
    P_API_TYPE =>'PROCEDURE',
    P_API_RETURN_TYPE =>NULL,
    P_UPLOAD_TYPE =>2,
    P_LANGUAGE =>v_language,
    P_SOURCE_LANG =>v_source_lang,
    P_USER_ID =>v_user_id,
    P_PARAM_LIST_CODE =>v_param_list_code,
    P_INTERFACE_CODE =>v_interface_code);
    BNE_INTEGRATOR_UTILS.CREATE_DEFAULT_LAYOUT
    (P_APPLICATION_ID =>v_application_id,
    P_OBJECT_CODE =>v_object_code,
    P_INTEGRATOR_CODE =>v_integrator_code,
    P_INTERFACE_CODE =>v_interface_code,
    P_USER_ID =>v_user_id,
    P_FORCE =>FALSE,
    P_ALL_COLUMNS =>TRUE,
    P_LAYOUT_CODE =>p_layout_code);
    BNE_CONTENT_UTILS.CREATE_CONTENT_COLS_FROM_VIEW (P_APPLICATION_ID =>v_application_id,
    P_CONTENT_CODE =>'WEBADI_API_DEM_17'||'_CNT',
    P_VIEW_NAME =>'XXDH_PRICE_LIST_POC_V',
    P_LANGUAGE =>v_language,
    P_SOURCE_LANGUAGE =>v_source_lang,
    P_USER_ID =>v_user_id);
    BNE_CONTENT_UTILS.CREATE_CONTENT_TO_API_MAP (P_APPLICATION_ID =>v_application_id,
    P_OBJECT_CODE =>v_object_code,
    P_INTEGRATOR_CODE =>v_integrator_code,
    P_CONTENT_CODE =>'WEBADI_API_DEM_17'||'_CNT',
    P_INTERFACE_CODE =>v_interface_code,
    P_LANGUAGE =>v_language,
    P_SOURCE_LANGUAGE =>v_source_lang,
    P_USER_ID =>v_user_id,
    P_MAPPING_CODE =>V_MAPPING_CODE);
    END;
    I need to know what are API we can use to create download+upload ADI? anyone has already prepared script....please share it it me. My email id - [email protected]
    Thanks

    Use FNDLOAD, it's the only way.
    There are 2 seperate scripts, 1 for the Integrator and 1 for Layout.
    FNDLOAD apps/<pw> 0 Y DOWNLOAD $BNE_TOP/patch/115/import/bneintegrator.lct <your name>.ldt BNE_INTEGRATORS INTEGRATOR_ASN="XXX" INTEGRATOR_CODE="<your code>"
    FNDLOAD apps/<pw> 0 Y DOWNLOAD $BNE_TOP/patch/115/import/bnelay.lct <your name>.ldt BNE_LAYOUTS LAYOUT_ASN="XXX" LAYOUT_CODE="<your code>"
    Cheers
    Jeroen

  • InitiateTask using API

    Hi all,
    I need start my process using BPEL API. I found initiateTask method of ITaskService interface but I don't understand how use it. Can you help me please?
    My process name is "Test". Input parameters are 2 string: param1 and param2.
    If I use BPEL console or webservice, I start my process without problems, but I want start it using API
    Thanks in advance
    LS

    Seems Org context is not properly set.
    1) Set the org context as follows:
    Use the following queries to find responsibility id and user id:
    a. Query to find responsibility id
    select responsibility_id,responsibility_name
    from fnd_responsibility_vl
    where application_id = 222
    and responsibility_name like '%&responsibility_name%';
    b. Query to find user id
    select user_id,user_name
    from fnd_user
    where user_name = '&user_name';
    For example:
    if resp_id = 50627 and user_id = 1253, then execute the following:
    fnd_global.apps_initialize(user_id => 1253, resp_id => 50627, resp_appl_id => 222 );
    mo_global.set_policy_context('S',<your_org_id>);
    2) Run the API.
    => Refer note 437119.1 for additional details
    Edited by: Srinivas Velumuri on May 17, 2011 5:21 AM

Maybe you are looking for

  • Second monitor has a 50Hz refresh rate; my mac's lowest output is 60. What can I do?

    I'm trying to get my 13" Late-2011 macbook pro to work with either of two second monitors so I can use logic more easily. One's a DELL thing with a screen res of 1280x1024 (though does work on some higher res') which I had working yesterday till I ac

  • TS4185 Face Time in Mac Mini

    When I turn on Face Time in my Mac Mini with 10.7.5, it works fine except when I try to put it in landscape mode in the View menu.  The command is there but in non-functional light gray.  I have a Samsung monitor and logitech cam which work fine with

  • Vista 64 bit and Adobe flash

    Does anyone know when adobe flash will be able to work on vista 64 bit without having to change the settings to 32 bit?

  • DDNS Lack of Options. Only DynDNS and TZO (which are now the same thing)

    DDNS is an open standard. Why not let us put in any URL for a DDNS server we want?  Or at least expand the list of them to the many many other DDNS providers out there. The buy in/bait and switch is:  those two free options went to one free option we

  • What is TLS and how can it go away?

    Any idea how to fix a problem? After I updated my security for this eMac, my Opera webmail kept saying "TLS not supported by server" anytime I try to send or reply to an email. How do I fix this? Is this an apple issue, an opera issue(my browser), a