WACK Test Failed for Supported APIs for sqlite3.dll

Hi,
My recent WACK tests get the following error message: The supported APIs test detected the following errors:
API __C_specific_handler in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API __CppXcptFilter in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API __clean_type_info_names_internal in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API __dllonexit in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API _amsg_exit in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API _calloc_crt in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API _initterm in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API _initterm_e in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API _localtime64_s in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API _lock in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API _malloc_crt in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API _msize in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API _onexit in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API _unlock in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API free in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API malloc in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API memcmp in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API memcpy in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API memmove in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API memset in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API qsort in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API realloc in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API strcmp in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
API strncmp in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API. 
The same application package was tested successfully on one machine while on another machine, it fails with the above error message. How could SQLite extension become unsupported APIs? Could this be an issue with the WACK tool itself?
Thanks,

Hi,
I just completed my Windows Store App and when I test it using WACK, it failed and list the following errors:
Error Found: The supported APIs test detected the following errors:
API __CppXcptFilter in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API __clean_type_info_names_internal in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API __dllonexit in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API _amsg_exit in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API _calloc_crt in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API _except1 in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API _except_handler4_common in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API _initterm in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API _initterm_e in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API _localtime64_s in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API _lock in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API _malloc_crt in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API _msize in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API _onexit in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API _unlock in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API free in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API malloc in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API memcpy in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API memmove in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API memset in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API qsort in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API realloc in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
API strncmp in msvcr120_app.dll is not supported for this application type. sqlite3.dll calls this API.
Impact if not fixed:     Using an API that is not part of the Windows SDK for Windows Store apps violates the Windows Store certification requirements.  
Why the SQLite 3.8.x is failed the certification requirement? Would it because of the dependency lib msvcr120_app.dll? Or it is a problem of WACK?
Any solution to this?
Thanks for any help reply in advance!

Similar Messages

  • [svn:cairngorm3:] 21199: Maven Tests failing for unkown reason:

    Revision: 21199
    Revision: 21199
    Author:   [email protected]
    Date:     2011-05-04 01:08:33 -0700 (Wed, 04 May 2011)
    Log Message:
    Maven Tests failing for unkown reason:
    https://bugs.adobe.com/jira/browse/CGM-60
    Ticket Links:
        http://bugs.adobe.com/jira/browse/CGM-60
    Modified Paths:
        cairngorm3/trunk/libraries/NavigationParsley/pom.xml

    Hi Suraj,
    > Since its graphical the blocks will take space, but
    > there is always an adavntage of processing time.
    > Ebven though it may appear bigger, it will take less
    > time as compared with Java code (for the same
    > mapping).
    Could you explain more why the graphical mapping has better performance? I thought the graphical mapping is compiled into a Java class in the runtime anyway.
    > Yes thats there, but same goes with Java mapping too
    > right (if you haven't mentioned it as constants)
    I mainly think about inheritance. If I have to build 10 interfaces and they all have some common behavior, I can create a base interface class to encapsulate the common logic. But with graphical mapping, you have to duplicate them in each interface.
    > Disadvantages of Java mapping:
    > 1. Performance
    Same as above. I just don't see why Java has worse performance. I actually think Java should have better performance. You can optimize the code anyway you want. In some cases, you have to use queue functions in graphical mapping but it's not necessary in Java.
    > 2. All might not be well versed with Java Code(though
    > everyone may know basic java) .
    I am not asking everyone to abandon graphical mapping. I am just wondering which one is better when you have skills for both.
    > 3. Lot of standard functions are available in GM
    > which you can choose, but you have to remember the
    > exact code for those in Java mapping.
    You can create functions in Java too. All you have to do is to remember the function name.
    Kenny

  • LoadLibraryA() in pscompat.dll failed for 'PSORA64.dll': reason=193

    Hi:
    I setup PeopleTools 8.53 on Windows7 64bit with Oracle database 11.2.0 32bit,Oracle Tuxedo 11.1.1.2.0 64bit and Oracle WebLogic Server 10.3.6,after run Data Mover,using psadmin.exe to create Application Server,then select:Create a domain,select:smaill,all of the settings flowing:
    Quick-configure menu -- domain: ps
    Features Settings
    ========== ==========
    1) Pub/Sub Servers : No 16) DBNAME :[ps]
    2) Quick Server : No 17) DBTYPE :[ORACLE]
    3) Query Servers : No 18) UserId :[PS]
    4) Jolt : Yes 19) UserPswd :[PS]
    5) Jolt Relay : No 20) DomainID :[TESTSERV]
    6) WSL : No 21) AddToPATH :[E:\app\Administrator\product\11.2.0\dbhome_1\BIN]
    7) PC Debugger : No 22) ConnectID :[people]
    8) Event Notification: Yes 23) ConnectPswd:[people]
    9) MCF Servers : No 24) ServerName :[]
    10) Perf Collator : No 25) DomainConnectPswd:[]
    11) Analytic Servers : Yes 26) WSL Port :[7000]
    12) Domains Gateway : No 27) JSL Port :[9000]
    28) JRAD Port :[9100]
    when boot the domain,PSAPPSRV cann't boot:
    exec PSAPPSRV -o ".\LOGS\stdout" -e ".\LOGS\stderr" [email protected] -- -D TESTSERV -S PSAPPSRV :
    CMDTUX_CAT:1685: ERROR: Application initialization failure
    In stderr ,only one message:
    LoadLibraryA() in pscompat.dll failed for 'PSORA64.dll': reason=193
    In psft\pt\8.53\appserv\ps\LOGS\APPSRV_0223.LOG :
    PSAPPSRV.6268 (0) [2013-02-23T23:52:14.146](0) PeopleTools Release 8.53 (Windows) starting. Tuxedo server is APPSRV(99)/2
    PSAPPSRV.6268 (0) [2013-02-23T23:52:14.395](0) Cache Directory being used: C:\Users\Administrator\psft\pt\8.53\appserv\ps\CACHE\PSAPPSRV_2\
    PSAPPSRV.6268 (0) [2013-02-23T23:52:14.501](1) GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library PSORA64 (200,0)
    PSAPPSRV.6268 (0) [2013-02-23T23:52:14.532](0) Database Options: override_connection_reset: 0
    PSAPPSRV.6268 (0) [2013-02-23T23:52:14.532](1) GenMessageBox(0, 0, M): Database Signon: Could not sign on to database PS with user PS.
    PSAPPSRV.6268 (0) [2013-02-23T23:52:14.539](0) Server failed to start
    PSADMIN.6068 (0) [2013-02-23T23:52:21.915](0) End boot attempt on domain ps
    In \psft\pt\8.53\appserv\ps\LOGS\TUXLOG.022313:
    235208.USER-PC!tmboot.5644.6920.-2: LIBTUX_CAT:1376: WARN: APPDIR value "C:\Users\Administrator\psft\pt\8.53\appserv\pstest" in environment does not match configuration "C:\Users\Administrator\psft\pt\8.53\appserv\ps"
    235210.USER-PC!tmboot.5644.6920.-2: CMDTUX_CAT:1851: INFO: TM_BOOTTIMEOUT is set to 120 seconds
    235210.USER-PC!tmboot.5644.6920.-2: CMDTUX_CAT:1855: INFO: TM_BOOTPRESUMEDFAIL option is selected
    235211.USER-PC!PSWATCHSRV.3572.6112.-2: 02-23-2013: Tuxedo Version 11.1.1.2.0 with VS2010, 64-bit
    235211.USER-PC!PSWATCHSRV.3572.6112.-2: LIBTUX_CAT:262: INFO: Standard main starting
    235213.USER-PC!PSAPPSRV.6268.6076.0: 02-23-2013: Tuxedo Version 11.1.1.2.0 with VS2010, 64-bit
    235213.USER-PC!PSAPPSRV.6268.6076.0: LIBTUX_CAT:262: INFO: Standard main starting
    235214.USER-PC!PSAPPSRV.6268.6076.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
    235214.USER-PC!tmboot.5644.6920.-2: tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; initiating user error handler
    How can i fix this error? Thanks in advance.

    Please, do not hijack other's thread.
    -- mod. action: this very thread is old and hijacked, locking it --
    Nicolas.

  • Windows App Certification Kit - Test Fails for Validate Desktop App at "Write appropriate Add/Remove Program values"

    Hi,
    I am trying to validate a .Net Framework 4 WinForms application for use in the Microsoft Partner Network portal.
    I am using Windows App Certification Kit 3.4 for Windows 8.1 , and the Validate Desktop App option.
    To build the package I am using InstallShield 2012 SPR Limited Edition (for Visual Studio), and the validation fails
    only with the following error (please also see the attached image):
    Clean reversible install test: Failed to Write appropriate Add/Remove Program values
    Error Found: The registry population test detected the following error: app didn't create the required registry entries.
    A non-optional value 'DisplayName' is missing or invalid (same for 'Publisher', 'ProductVersion')
    Please note that I have filled in all the publisher/product details in the InstallShield project, on the General Information page.
    Also I have tried to use the Microsoft Visual Studio Installer Project for VS2013, and the validation failed with the exact same error.
    (https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d)
    Any help would be very appreciated.
    Thank you.

    You may need to add the necessary info to the app’s Windows Installer package so it can configure Add/Remove Programs in Control Panel correctly. Setting these properties automatically writes the corresponding values into the registry. From the picture,
    you are missing some necessary information about your desktop app.
    Also You need the correct admin permissions to write to the registry.
    Please refer to this thread:
    http://stackoverflow.com/questions/21182856/windows-app-certification-kit-test-result-app-didnt-create-the-require-regist
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Perl unit tests fail for dbxml-2.5.16

    Hi,
    I installed the berkeley db xml version 2.5.16 but while attempting to install perl, I came across the following errors when I run 'make test'
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
    t/btree.t .. 1/35 # Check simple env works with a hash.
    # cursors
    t/btree.t .. ok
    t/dbt.t .... ok
    t/txn.t .... # transaction - commit works
    t/txn.t .... 1/28 # transaction - abort works
    t/txn.t .... ok
    All tests successful.
    Files=3, Tests=73, 1 wallclock secs ( 0.03 usr 0.05 sys + 0.16 cusr 0.17 csys = 0.41 CPU)
    Result: PASS
    make[1]: Leaving directory `/home/emulo/Downloads/install/dbxml-2.5.16/dbxml/src/perl/Db'
    make[1]: Entering directory `/home/emulo/Downloads/install/dbxml-2.5.16/dbxml/src/perl/DbXml'
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
    t/XmlContainerConfig.t ..... 1/28 BDB XML: illegal flag combination specified to DB->open
    XmlException=SCALAR(0x85c0fb4)# Looks like you planned 28 tests but ran 25.
    # Looks like your test exited with 2 just after 25.
    t/XmlContainerConfig.t ..... Dubious, test returned 2 (wstat 512, 0x200)
    Failed 3/28 subtests
    t/XmlDocument.t ............ ok
    t/XmlEvent.t ............... ok
    t/XmlIndexLookup.t ......... ok
    t/XmlIndexSpecification.t .. ok
    t/XmlManager.t ............. 1/92 failed
    Error: The flags DB_READ_UNCOMMITTED and DB_TXN_NOT_DURABLE cannot be used directly, you must set these flags using XmlContainerConfig.setReadUncommitted and XmlContainerConfig.setTransactionNotDurable. in t/XmlManager.t, line 367
    # Looks like you planned 92 tests but ran 53.
    # Looks like your test exited with -1 just after 53.
    t/XmlManager.t ............. Dubious, test returned 255 (wstat 65280, 0xff00)
    Failed 39/92 subtests
    t/XmlQueryContext.t ........ ok
    t/XmlResults.t ............. ok
    t/XmlValue.t ............... ok
    Test Summary Report
    t/XmlContainerConfig.t (Wstat: 512 Tests: 25 Failed: 0)
    Non-zero exit status: 2
    Parse errors: Bad plan. You planned 28 tests but ran 25.
    t/XmlManager.t (Wstat: 65280 Tests: 53 Failed: 0)
    Non-zero exit status: 255
    Parse errors: Bad plan. You planned 92 tests but ran 53.
    Files=9, Tests=535, 5 wallclock secs ( 0.11 usr 0.15 sys + 1.04 cusr 1.51 csys = 2.81 CPU)
    Result: FAIL
    Failed 2/9 test programs. 0/535 subtests failed.
    Any idea what could be causing this?
    Edited by: 902499 on Jul 5, 2012 12:59 AM

    Hi Michael,
    Thanks for the patch! We'll take a look at that and try to improve the Perl installation in the next release.
    John

  • Cache Connectivity Test fails for PI on MSCA

    Hi all,
    I experience the following problem with newly installed PI 7.0 SP12 system on MSCA.
    When I go to RWB and press "Cache Connectivity Test" I got the following error for central adapter engine:
    Attempt to fetch cache data from Integration Directory failed; cache could not be updated
    [Fetch Data]: Unable to find an associated SLD element (source element: SAP_XIIntegrationServer, [CreationClassName, SAP_XIIntegrationServer, string, Name, is.74.sapxi03, string], target element type: SAP_BusinessSystem)
    Tx: SLDCHECK - reports no problems.
    Tx:SLDAPICUST - is set to virtual host name and port.
    Appreciate your help.

    hi,
    here u have to clear the delta cache in SXI_CACHE.
    Open Tcode SXI_CACHE -
    >from menu  XI Runtime cache----->start Delta Cache Refresh(F6     or  CNTRL + F6 )
    reward points  if helpful
    regards
    sreeni

  • Email notification works for one email address fails for another

    Hi,
    I have OEM 10.2.0.3 - one email address works fine, but another fails with message
    [email protected]: Test failed with message: "E-mail Address is invalid: Sending failed; nested exception is: javax.mail.SendFailedException: Invalid Addresses; nested exception is: javax.mail.SendFailedException: 550 5.7.1 Unable to relay"
    Now the weired thing is, that using the same SMTP gateway, I can send emails ok to this address via outlook etc.
    Anyone any ideas ? The xxxxxxxxxx in the address is actually a mobile number, but, as I say, it IS valid.
    Cheers

    Thanks for the reply, however, this is what I dont understand.
    The SMTP server is the same one I use for our email, ie, it is our exchange server, and from outlook, I am able to send email
    to the same address that is failing with EM. I'm not aware I need any authentication, or how it would need authentication only
    for external accounts ?
    you are correct howver, that it is an external account, and the same test fails for any external account. I'm just not sure how to fix this ?
    A manual session connecting to the SMTP server is as follows
    telnet smtp_server_name.com.au 25
    Trying 192.168.6.2...
    Connected to smtp_server_name.com.au (192.168.6.2).
    Escape character is '^]'.
    220 smtp_server_name.com.au Microsoft ESMTP MAIL Service ready at Fri, 5 Sep 2008 15:38:00 +1000
    helo
    250 smtp_server_name.com.au Hello [192.168.6.15]
    mail from: [email protected]
    250 2.1.0 Sender OK
    rcpt to: [email protected]
    550 5.7.1 Unable to relay
    quit
    221 2.0.0 Service closing transmission channel
    Connection closed by foreign host.
    $

  • [WPSL]Windows App Certification Kit Test Fails, binary is built in debug mode

    Hi,
    Windows phone 8.1 App fails Windows App Certification Kit test (WACK Test).
    It is producing below error in Debug configuration test,
    The debug configuration test detected the following errors:
     1)The binary Phone.Controls.dll is built in debug mode.
    Impact if not fixed:  Windows Phone Store doesn’t allow a debug version of an app. 
    How to fix:  Please make sure the app isn't linking to any debug versions of a framework and it is built with the release configuration
    And i got a solution like,
    Universal Apps (And Silverlight 8.1 Apps) have a different certification requirement. You cannot publish assemblies built in debug mode.
    You'll need to contact the NuGet authors of ICSharpCode and ImageTools and have them provide you with a version built in release mode.
    How to proceed with this solution. I'm very help full if any solution provided.
    Thanks and Regards,
    Ranjit.

    Hi Franklin,
    Thanks for your replay. I created my package in 'Release' mode only.
    Actually my project in windows phone 7.1 and i upgraded it to windows phone 8.1. In "Release" mode i created my build, but i'm having this error in WACK(Windows
    App Certification Kit) test.
    I'm able to run my App in windows phone 8.1, but if i submit it to store then will be rejected definitely.
    The debug configuration test detected the following errors:
     1)The binary Phone.Controls.dll is built in debug mode.
    The WACK test fails in debug configuration test, for "Phone.Controls.dll "
    it is built in debug mode.
    There should be a solution like, how to convert .dll to release mode.
    Please help me in this.
    Thanks 
    Ranjit.
    Hi ranjit,
    >>Actually my project in windows phone 7.1 and i upgraded it to windows phone 8.1
    Okay, this may be due to the upgrading process, could you tell us what the detailed version of your Visual Studio is(for example: Visual Studio 2013 Update 4)?
    You may need to create a new Windows Phone 8.1 Silverlight project and try to upload it to Store, if this problem can be resolved, I think this should be related to the upgrading process, you may need to start from scratch by recreating a WP8.1 SL project.
    To exclude environment facts, I would also suggest you retesting it on a new machine with the latest IDE.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Windows App Certification Kit Test Fails, binary is built in debug mode

    Hi,
    Windows phone 8.1 App fails Windows App Certification Kit test (WACK Test).
    It is producing below error in Debug configuration test,
    The debug configuration test detected the following errors:
     1)The binary Phone.Controls.dll is built in debug mode.
    Impact if not fixed:  Windows Phone Store doesn’t allow a debug version of an app. 
    How to fix:  Please make sure the app isn't linking to any debug versions of a framework and it is built with the release configuration
    And i got a solution like,
    Universal Apps (And Silverlight 8.1 Apps) have a different certification requirement. You cannot publish assemblies built in debug mode.
    You'll need to contact the NuGet authors of ICSharpCode and ImageTools and have them provide you with a version built in release mode.
    How to proceed with this solution. I'm very help full if any solution provided.
    Thanks and Regards,
    Ranjit.

    Hi Franklin,
    Thanks for your replay. I created my package in 'Release' mode only.
    Actually my project in windows phone 7.1 and i upgraded it to windows phone 8.1. In "Release" mode i created my build, but i'm having this error in WACK(Windows
    App Certification Kit) test.
    I'm able to run my App in windows phone 8.1, but if i submit it to store then will be rejected definitely.
    The debug configuration test detected the following errors:
     1)The binary Phone.Controls.dll is built in debug mode.
    The WACK test fails in debug configuration test, for "Phone.Controls.dll "
    it is built in debug mode.
    There should be a solution like, how to convert .dll to release mode.
    Please help me in this.
    Thanks 
    Ranjit.

  • Firefox 5.0.1 fails to start with sqlite3.dll missing message

    ff 5.0.1 started losing all my bookmarks. I imported them and the next day they were gone again. I had other strange things happening so I decided to go back to ff 3. I uninstalled ff5.0.1 and removed the ProgramFiles directory. I installed ff3 and it worked ok. I used it to upgrade to I believe 3.0.19 ok. I then upgraded to 3.6. The upgrade appeared ok but it would not start. I got an sqlite3.dll missing message. Nothing I have done has gotten ff to start. I have uninstalled and reinstalled 5.0.1 and still be sqlite3.dll missing message. I searched my C drive for sqlite3.dll and found several stored with other applications. The FF directory had an mozsqlite3.dll but not just sqlite3.dll.
    At this point I can't start FF.

    Try downloading Firefox again, then uninstall Firefox, remove the program directory, and install it all over again.

  • Different performanc​e for handling DLL function

    Hi, all
    I have some question about handling DLL function.
    There is two test cases for the DLL handling for experiment.
    Platform is as following:
    Windows 98, LabWindows/CVI 5.5 (compatiable with Virsual C++), DLL library (built by C++ Builder 960 kbytes).
    Case 1:
    Use the LoadLibrary to load the DLL library (DLL_handle) and use the function (provided by DLL) to handle the COM port (COM_handle). And there have a hardware key for security check. For each command (provided by DLL) take 0.25 second to finish one command to handle the RS232.
    Case 2:
    Use LoadLibrary to load the DLL library (DLL_handle) and use the function (provided by DLL) to handle the COM port (COM_handle). And there
    have a hardware key for security check. There have three threads working (use CreateThread to create with 1MB stack size), and pass the DLL_handle and COM_handle to the static libarty to do the desired job (took 1 second to finish the job for one command). In the static library, there use the DLL_handle to get the pointer of the selected function and use COM_handle to handle the RS232.
    I don't know the reasons between these two cases.
    If you have any suggestion or solution about it , please tell me detail.
    Thanks,
    Lambert Lin
    My email address is [email protected]

    Sir,
    We do not have an exact idea of what your application is doing. However, it looks like the difference between the two cases is the use of multithreading in the second. It is possible that the delay is from the CPU having to "switch" between threads, and having to load and execute calls to the DLL once in the thread. I think you should look carefully into the structure of your applications multithreading to see if there are areas which could be causing delays in the execution of the DLL's functions.

  • WebDynpro for Abap Test failed (System Admin/Support/WD)

    Hello,
    I'm using EP 7.0 and I'm trying to test travel&expenses (Ehp3) WD for Abap from System Admin/Support Desk: Integration of SAP Applications/WebDynpro and we get the following error: Exception in SAP Application Integrator occured: Unable to parse template...the problem occured at position 275. Cannot process expression <IView.PCDUnit.ShortID> because Unable to get PCD Unit com.sap.portal.appintegrator.sap.WebDynpro.
    System contector test is ok. Please, could you help me?
    Thank you

    Hello Michael,
    Ok, I forget system connector and support tests. Web AS parameter are supposed to be ok:
    Web AS Host Name: host.domain:port (from smicm tx)
    Web AS Host Name: /sap/bc/webdynpro/sap/
    Web AS Protocol:     http
    but the SAP Web AS Connection test fails. When trying to execute the iView it works. Does it mean that is it correct? Why WAS connection test fails?
    In the other hand, when iView is displayed, it asks for user and password because the R/3 user is locked. Why R/3 user is locking everytime?
    Thank you&Regards

  • Error while using LiveCycle java APIs with Http servlets:"Remote EJBObject lookup failed for ejb/Inv

    Hi all,
    When i try to run more than one servelt of the Quick Start samples that using Livecycle Java APIs and i get an error of "Remote EJBObject lookup failed for ejb/Invocation provider" from any servelt i run.
    I try some Quick samples which is not servelts (java class) and it works fine, which makes me sure that my connection properties is true.
    Environment:
    The LiveCycle is based on "Websphere v6.1", and i use "Eclipse Platform
    Version: 3.4.1".
    i install "tomcat 5.5.17" to test the servelts in developing time through Eclipse.(only for test in developing time not for deploy on )
    The Jars i added in the classpath:
    adobe-forms-client.jar
    adobe-livecycle-client.jar
    adobe-usermanager-client.jar
    adobe-utilities.jar
    ejb.jar
    j2ee.jar
    ecutlis.jar
    com.ibm.ws.admin.client_6.1.0.jar
    com.ibm.ws.webservices.thinclient_6.1.0.jar
    server.jar
    utlis.jar
    wsexception.jar
    My code is :
    Properties ConnectionProps = new Properties();
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "iiop://localhost:2809");
    ConnectionProps.setProperty ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,ServiceClientFactoryProperties.DSC_ EJB_PROTOCOL);
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE,ServiceClientFa ctoryProperties.DSC_WEBSPHERE_SERVER_TYPE);
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "Administrator");
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
    ConnectionProps.setProperty("java.naming.factory.initial", "com.ibm.ws.naming.util.WsnInitCtxFactory");
    //Create a ServiceClientFactory object
    ServiceClientFactory myFactory = ServiceClientFactory.createInstance(ConnectionProps);
    //Create a FormsServiceClient object
    FormsServiceClient formsClient = new FormsServiceClient(myFactory);
    //Get Form data to pass to the processFormSubmission method
    Document formData = new Document(req.getInputStream());
    //Set run-time options
    RenderOptionsSpec processSpec = new RenderOptionsSpec();
    processSpec.setLocale("en_US");
    //Invoke the processFormSubmission method
    FormsResult formOut = formsClient.processFormSubmission(formData,"CONTENT_TYPE=application/pdf&CONTENT_TYPE=app lication/vnd.adobe.xdp+xml&CONTENT_TYPE=text/xml", "",processSpec);
    List fileAttachments = formOut.getAttachments();
    Iterator iter = fileAttachments.iterator();
    int i = 0 ;
    while (iter.hasNext()) {
    Document file = (Document)iter.next();
    file.copyToFile(new File("C:\\Adobe\\tempFile"+i+".jp i++;
    short processState = formOut.getAction();
    ...... (To the end of the sample)
    My Error was:
    com.adobe.livecycle.formsservice.exception.ProcessFormSubmissionException: ALC-DSC-031-000: com.adobe.idp.dsc.net.DSCNamingException: Remote EJBObject lookup failed for ejb/Invocation provider
    at com.adobe.livecycle.formsservice.client.FormsServiceClient.processFormSubmission(FormsSer viceClient.java:416)
    at HandleData.doPost(HandleData.java:62)
    at HandleData.doGet(HandleData.java:31)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    a

    I assume here that your application is deployed on a different physical machine of where LCES is deployed and running.
    Do the following test:
    - Say that LCES is deployed on machine1 and your application is deployed on machine2. Ping machine1 from machine2 and note the ip address.
    - Ping machine1 from machine1 and note the ip address.
    The two pings should match.
    - Ping machine2 from machine1 and note the ip address.
    - Ping machine2 from machine2 and note the ip address.
    The two pings should match.
    Usually this kind of error would happen if your servers have internal and external ip addresses.

  • Unable to download web test results for failed Availability Monitor request - HTTP 500

    When attempting to download the Web Test results for a failed request in my availability monitor, the server returns HTTP 500.
    The full URL attempting to be accessed is https://stamp2.app.insightsportal.visualstudio.com/api/WebTestResult?fileName=eProd Dx1 Api_2015-02-25T16:58:00.000Z.webtestresult&subscriptionId=REMOVEDFORSECURITYPURPOSES&resourceGroup=eprod-dx1webapi&webTestId=eprod
    dx1 api-eprod-dx1webapi&location=us-ca-sjc-azr&timestamp=1424883480
    I can provide the sub ID as needed.

    Thinking this is an Azure Portal issue. Please move.

  • Process_order api - Validation Failed for Field Bill To

    I am relatively new to the EBS world and I'm having some issues with calling the OE_Order_Pub.Process_order API. When I call this API I am getting a return error of "Validation failed for field - Bill To".
    For a background...I have an APEX application where users can choose parts from a small part master list to add to an existing order. The existing order will not have a status of Closed or Cancelled and there will be atleast 1 line in the order before the new parts are added. The parts will be added as new lines to the order with some of the new line data defaulting to the same information as the first line. I am using EBS version 12.1.3 with a multi-org setup. It seems that the orders under one org (id=3) are working fine, but another org(id=569) they never work and keep getting the error. I am setting the context to the org of the order and initializing the apps user information with the responsibility "Order Management Super User".
    Do you have any idea what could be wrong or how I can debug the error to get a little more detail?
    Here is the procedure I have.
    PROCEDURE TEK_ORD_PROCESS_ORDER(p_order_id IN NUMBER, p_return_code OUT NOCOPY VARCHAR2, p_status OUT NOCOPY VARCHAR2) IS
        CURSOR c_order_parts IS
          SELECT *
            FROM TEK_APEX.TEK_ORD_ORDER_PARTS
           WHERE ORDER_ID = p_order_id;
        TYPE t_parts IS TABLE OF TEK_APEX.TEK_ORD_ORDER_PARTS%ROWTYPE;
        v_order_parts t_parts;
        --Setup variables
        H_Op_Code      VARCHAR2(25) DEFAULT OE_GLOBALS.G_OPR_UPDATE;
        L_Op_Code      VARCHAR2(25) DEFAULT OE_GLOBALS.G_OPR_CREATE;
        v_install_type VARCHAR2(25) := 'PTO';
        v_source_id    NUMBER;
        v_user_id      NUMBER;
        v_resp_id      NUMBER;
        v_app_id       NUMBER;
        v_debug        VARCHAR2(32767);
        v_oracle_order OE_ORDER_HEADERS_ALL%ROWTYPE;
        v_apex_order   TEK_APEX.TEK_ORD_SALES_ORDERS%ROWTYPE;
        p_header_rec                    OE_Order_Pub.Header_Rec_Type;
        p_header_val_rec                OE_Order_Pub.Header_Val_Rec_Type;
        p_Header_Adj_tab                OE_Order_Pub.Header_Adj_Tbl_Type;
        p_Header_Adj_val_tab            OE_Order_Pub.Header_Adj_Val_Tbl_Type;
        p_Header_price_Att_tab          OE_Order_Pub.Header_Price_Att_Tbl_Type;
        p_Header_Adj_Att_tab            OE_Order_Pub.Header_Adj_Att_Tbl_Type;
        p_Header_Adj_Assoc_tab          OE_Order_Pub.Header_Adj_Assoc_Tbl_Type;
        p_Header_Scredit_tab            OE_Order_Pub.Header_Scredit_Tbl_Type;
        p_Header_Scredit_val_tab        OE_Order_Pub.Header_Scredit_Val_Tbl_Type;
        p_line_tab                      OE_Order_Pub.Line_Tbl_Type;
        p_line_val_tab                  OE_Order_Pub.Line_Val_Tbl_Type;
        p_Line_Adj_tab                  OE_Order_Pub.Line_Adj_Tbl_Type;
        p_Line_Adj_val_tab              OE_Order_Pub.Line_Adj_Val_Tbl_Type;
        p_Line_price_Att_tab            OE_Order_Pub.Line_Price_Att_Tbl_Type;
        p_Line_Adj_Att_tab              OE_Order_Pub.Line_Adj_Att_Tbl_Type;
        p_Line_Adj_Assoc_tab            OE_Order_Pub.Line_Adj_Assoc_Tbl_Type;
        p_Line_Scredit_tab              OE_Order_Pub.Line_Scredit_Tbl_Type;
        p_Line_Scredit_val_tab          OE_Order_Pub.Line_Scredit_Val_Tbl_Type;
        p_Lot_Serial_tab                OE_Order_Pub.Lot_Serial_Tbl_Type;
        p_Lot_Serial_val_tab            OE_Order_Pub.Lot_Serial_Val_Tbl_Type;
        p_action_request_tab            OE_Order_pub.Request_Tbl_Type;
        l_header_rec                    OE_Order_Pub.Header_Rec_Type;
        l_header_val_rec                OE_Order_Pub.Header_Val_Rec_Type;
        l_Header_Adj_tab                OE_Order_Pub.Header_Adj_Tbl_Type;
        l_Header_Adj_val_tab            OE_Order_Pub.Header_Adj_Val_Tbl_Type;
        l_Header_price_Att_tab          OE_Order_Pub.Header_Price_Att_Tbl_Type;
        l_Header_Adj_Att_tab            OE_Order_Pub.Header_Adj_Att_Tbl_Type;
        l_Header_Adj_Assoc_tab          OE_Order_Pub.Header_Adj_Assoc_Tbl_Type;
        l_Header_Scredit_tab            OE_Order_Pub.Header_Scredit_Tbl_Type;
        l_Header_Scredit_val_tab        OE_Order_Pub.Header_Scredit_Val_Tbl_Type;
        l_line_tab                      OE_Order_Pub.Line_Tbl_Type;
        l_line_val_tab                  OE_Order_Pub.Line_Val_Tbl_Type;
        l_Line_Adj_tab                  OE_Order_Pub.Line_Adj_Tbl_Type;
        l_Line_Adj_val_tab              OE_Order_Pub.Line_Adj_Val_Tbl_Type;
        l_Line_price_Att_tab            OE_Order_Pub.Line_Price_Att_Tbl_Type;
        l_Line_Adj_Att_tab              OE_Order_Pub.Line_Adj_Att_Tbl_Type;
        l_Line_Adj_Assoc_tab            OE_Order_Pub.Line_Adj_Assoc_Tbl_Type;
        l_Line_Scredit_tab              OE_Order_Pub.Line_Scredit_Tbl_Type;
        l_Line_Scredit_val_tab          OE_Order_Pub.Line_Scredit_Val_Tbl_Type;
        l_Lot_Serial_tab                OE_Order_Pub.Lot_Serial_Tbl_Type;
        l_Lot_Serial_val_tab            OE_Order_Pub.Lot_Serial_Val_Tbl_Type;
        l_ret_status                    VARCHAR2(200);
        l_msg_count                     NUMBER;
        l_msg_data                      VARCHAR2(200);
           --Email information
        v_email_address           varchar2(100);
           v_msg_text                varchar(1000);
           v_subject_text            varchar(1000);
           --Default line information
        v_item_id           NUMBER;
        v_contact_id        NUMBER;
        v_invoice_to_org_id oe_order_lines_all.INVOICE_TO_ORG_ID%TYPE;
        v_ship_to_org_id    oe_order_lines_all.SHIP_TO_ORG_ID%TYPE;
        v_sold_to_org_id    oe_order_lines_all.SOLD_TO_ORG_ID%TYPE;
        v_flow_status_code  oe_order_lines_all.FLOW_STATUS_CODE%TYPE;
        FUNCTION GET_ORACLE_ORDER(p_order_number IN OE_ORDER_HEADERS_ALL.ORDER_NUMBER%TYPE)
          RETURN OE_ORDER_HEADERS_ALL%ROWTYPE IS
          v_order OE_ORDER_HEADERS_ALL%ROWTYPE;
        BEGIN
          SELECT *
            INTO v_order
            FROM APPS.OE_ORDER_HEADERS_ALL
           WHERE ORDER_NUMBER = p_order_number;
          RETURN v_order;
        EXCEPTION
          WHEN OTHERS THEN
            RETURN NULL;
        END GET_ORACLE_ORDER;
        FUNCTION GET_APEX_ORDER(p_order_id IN TEK_APEX.TEK_ORD_SALES_ORDERS.ORDER_ID%TYPE)
          RETURN TEK_APEX.TEK_ORD_SALES_ORDERS%ROWTYPE IS
          v_order TEK_APEX.TEK_ORD_SALES_ORDERS%ROWTYPE;
        BEGIN
          SELECT *
            INTO v_order
            FROM TEK_APEX.TEK_ORD_SALES_ORDERS
           WHERE ORDER_ID = p_order_id;
          RETURN v_order;
        EXCEPTION
          WHEN OTHERS THEN
            RETURN NULL;
        END GET_APEX_ORDER;
        FUNCTION GET_SOURCE_ID(p_source_name IN VARCHAR2)
          RETURN OE_ORDER_SOURCES.ORDER_SOURCE_ID%TYPE IS
          v_source_id OE_ORDER_SOURCES.ORDER_SOURCE_ID%TYPE;
        BEGIN
          SELECT ORDER_SOURCE_ID
            INTO v_source_id
            FROM APPS.OE_ORDER_SOURCES
           WHERE NAME = p_source_name;
          RETURN v_source_id;
        EXCEPTION
          WHEN OTHERS THEN
            RETURN NULL;
        END GET_SOURCE_ID;
        FUNCTION GET_ITEM_ID(p_part_number IN VARCHAR2, p_org_id IN NUMBER)
          RETURN MTL_SYSTEM_ITEMS.INVENTORY_ITEM_ID%TYPE IS
          v_item_id MTL_SYSTEM_ITEMS.INVENTORY_ITEM_ID%TYPE;
        BEGIN
          SELECT INVENTORY_ITEM_ID
            INTO v_item_id
            FROM APPS.MTL_SYSTEM_ITEMS
           WHERE SEGMENT1 = p_part_number
             AND ORGANIZATION_ID = p_org_id;
          RETURN v_item_id;
        EXCEPTION
          WHEN OTHERS THEN
            RETURN NULL;
        END GET_ITEM_ID;
      BEGIN
        apps.mo_global.set_policy_context('S',3);
        apps.mo_global.init('XXTEK');
        BEGIN
          SELECT USER_ID
            INTO v_user_id
            FROM APPS.FND_USER
           WHERE USER_NAME = 'SYSADMIN';
        EXCEPTION
          WHEN OTHERS THEN
            RAISE_APPLICATION_ERROR(-20001, 'Error selecting user');
        END;
        BEGIN
          SELECT RESPONSIBILITY_ID, APPLICATION_ID
            INTO v_resp_id, v_app_id
            FROM TEK_APEX.TEK_RR_ACTIVE_RESP_VW
           WHERE UPPER(RESPONSIBILITY_NAME) = 'ORDER MANAGEMENT SUPER USER';
          --Set current user information
          fnd_global.apps_initialize (user_id      => v_user_id
                                     ,resp_id      => v_resp_id
                                     ,resp_appl_id => v_app_id);
        EXCEPTION
          WHEN OTHERS THEN
            RAISE_APPLICATION_ERROR(-20001, 'Error selecting responsibility');
        END;
        --Get the order information from Oracle and APEX
        v_apex_order := GET_APEX_ORDER(p_order_id);
        IF v_apex_order.ORDER_ID IS NULL THEN
          RAISE_APPLICATION_ERROR(-20001, 'APEX Order ID is invalid: ' || p_order_id);
        END IF;
        v_oracle_order := GET_ORACLE_ORDER(TO_NUMBER(v_apex_order.ORDER_NUMBER));
        IF v_oracle_order.ORDER_NUMBER IS NULL THEN
          RAISE_APPLICATION_ERROR(-20001, 'Order Number not found in Oracle: ' || v_apex_order.ORDER_NUMBER);
        END IF;
        apps.mo_global.set_policy_context('S', v_oracle_order.ORG_ID);
        v_source_id := GET_SOURCE_ID('IMPORT');
        IF v_source_id IS NULL THEN
          RAISE_APPLICATION_ERROR(-20001, 'Source ID not found for IMPORT');
        END IF;
        /* ********** Gather Order Header********** */
        /* ********** Info.              ********** */
        OE_Order_Pub.Get_Order(p_api_version_number    =>      1.0,
                               p_init_msg_list         =>      FND_API.G_TRUE,
                               p_return_values         =>      FND_API.G_TRUE,
                               x_return_status         =>      l_ret_status,
                               x_msg_count             =>      l_msg_count,
                               x_msg_data              =>      l_msg_data,
                               p_header_id             =>      v_oracle_order.HEADER_ID,
                               p_header                =>      NULL,
                               x_header_rec            =>      l_header_rec,
                               x_header_val_rec        =>      l_header_val_rec,
                               x_Header_Adj_tbl        =>      l_Header_Adj_tab,
                               x_Header_Adj_val_tbl    =>      l_Header_Adj_val_tab,
                               x_Header_price_Att_tbl  =>      l_Header_price_Att_tab,
                               x_Header_Adj_Att_tbl    =>      l_Header_Adj_Att_tab,
                               x_Header_Adj_Assoc_tbl  =>      l_Header_Adj_Assoc_tab,
                               x_Header_Scredit_tbl    =>      l_Header_Scredit_tab,
                               x_Header_Scredit_val_tbl=>      l_Header_Scredit_val_tab,
                               x_line_tbl              =>      l_line_tab,
                               x_line_val_tbl          =>      l_line_val_tab,
                               x_Line_Adj_tbl          =>      l_Line_Adj_tab,
                               x_Line_Adj_val_tbl      =>      l_Line_Adj_val_tab,
                               x_Line_price_Att_tbl    =>      l_Line_price_Att_tab,
                               x_Line_Adj_Att_tbl      =>      l_Line_Adj_Att_tab,
                               x_Line_Adj_Assoc_tbl    =>      l_Line_Adj_Assoc_tab,
                               x_Line_Scredit_tbl      =>      l_Line_Scredit_tab,
                               x_Line_Scredit_val_tbl  =>      l_Line_Scredit_val_tab,
                               x_Lot_Serial_tbl        =>      l_Lot_Serial_tab,
                               x_Lot_Serial_val_tbl    =>      l_Lot_Serial_val_tab);
        --Save defaults from first line
        IF l_line_tab.EXISTS(1) THEN
          v_contact_id        := l_line_tab(1).SHIP_TO_CONTACT_ID;
          v_invoice_to_org_id := l_line_tab(1).INVOICE_TO_ORG_ID;
          v_ship_to_org_id    := l_line_tab(1).SHIP_TO_ORG_ID;
          v_sold_to_org_id    := l_line_tab(1).SOLD_TO_ORG_ID;
          v_flow_status_code  := l_line_tab(1).FLOW_STATUS_CODE;
        END IF;
        --Clear out the line array before adding any new parts
        FOR i IN l_line_tab.FIRST..l_line_tab.LAST LOOP
          l_line_tab.DELETE(i);
          l_line_val_tab.DELETE(i);
          l_line_adj_tab.DELETE(i);
          l_line_adj_val_tab.DELETE(i);
          l_line_price_att_tab.DELETE(i);
          l_line_adj_att_tab.DELETE(i);
          l_line_adj_assoc_tab.DELETE(i);
          l_line_scredit_tab.DELETE(i);
          l_line_scredit_val_tab.DELETE(i);
          l_lot_serial_tab.DELETE(i);
          l_lot_serial_val_tab.DELETE(i);
        END LOOP;
        /* ********** Gather Order Lines ********** */
        OPEN c_order_parts;
        FETCH c_order_parts BULK COLLECT INTO v_order_parts;
        CLOSE c_order_parts;
        FOR i IN v_order_parts.FIRST..v_order_parts.LAST LOOP
          v_item_id := GET_ITEM_ID(v_order_parts(i).PART_NUMBER, v_oracle_order.SHIP_FROM_ORG_ID);
          IF v_item_id IS NULL THEN
            RAISE_APPLICATION_ERROR(-20001, 'Error selecting part number ' || v_order_parts(i).PART_NUMBER);
          END IF;
          --Clear line first
          l_line_tab(i)             := OE_Order_Pub.G_Miss_Line_Rec;
             l_line_val_tab(i)         := OE_ORDER_PUB.G_MISS_LINE_VAL_REC;
          l_line_adj_tab(i)             := OE_ORDER_PUB.G_MISS_LINE_ADJ_REC;
          l_line_adj_val_tab(i)     := OE_ORDER_PUB.G_MISS_LINE_ADJ_VAL_REC;
          l_line_price_att_tab(i)      := OE_ORDER_PUB.G_MISS_LINE_PRICE_ATT_REC ;
          l_line_adj_att_tab(i)     := OE_ORDER_PUB.G_MISS_LINE_ADJ_ATT_REC;
          l_line_adj_assoc_tab(i)   := OE_ORDER_PUB.G_MISS_LINE_ADJ_ASSOC_REC;
          l_line_scredit_tab(i)     := OE_ORDER_PUB.G_MISS_LINE_SCREDIT_REC;
          l_line_scredit_val_tab(i) := OE_ORDER_PUB.G_MISS_LINE_SCREDIT_VAL_REC;
          l_lot_serial_tab(i)       := OE_ORDER_PUB.G_MISS_LOT_SERIAL_REC;
          l_lot_serial_val_tab(i)   := OE_ORDER_PUB.G_MISS_LOT_SERIAL_VAL_REC;
          --Set line information
             l_line_tab(i).PRICE_LIST_ID          := v_oracle_order.PRICE_LIST_ID;
          l_line_tab(i).header_id              := v_oracle_order.header_id;
          l_line_tab(i).inventory_item_id      := v_item_id;
          l_line_tab(i).ordered_quantity       := v_order_parts(i).QUANTITY;
          l_line_tab(i).operation              := l_op_code;
          l_line_tab(i).unit_list_price        := 0;
          l_line_tab(i).ship_from_org_id       := v_oracle_order.ship_from_org_id;
          l_line_tab(i).program_id             := fnd_global.conc_program_id ;
          l_line_tab(i).program_application_id := fnd_global.PROG_APPL_ID;
          l_line_tab(i).order_source_id        := v_source_id;
          l_line_tab(i).calculate_price_flag   := 'N' ;
          l_line_tab(i).unit_selling_price     := 0.00 ;
             l_line_tab(i).request_date           := v_apex_order.onsite_date;
             l_line_tab(i).Schedule_ship_date     := v_apex_order.onsite_date;
             l_line_tab(i).promise_date           := null;
          l_line_tab(i).invoice_to_org_id      := v_invoice_to_org_id;
          l_line_tab(i).ship_to_org_id         := v_ship_to_org_id;
          l_line_tab(i).sold_to_org_id         := v_sold_to_org_id;
          l_line_tab(i).ship_to_contact_id     := v_contact_id;
        END LOOP;
    --OE_DEBUG_PUB.DEBUG_ON;
    --OE_DEBUG_PUB.Initialize;
    --OE_DEBUG_PUB.SetDebugLevel(5);
        --Add lines to order
        OE_Order_Pub.Process_order(p_api_version_number            =>      1.0,
                                   p_init_msg_list                 =>      FND_API.G_TRUE,
                                   p_return_values                 =>      FND_API.G_TRUE,
                                   p_action_commit                 =>      FND_API.G_FALSE,
                                   x_return_status                 =>      l_ret_status,
                                   x_msg_count                     =>      l_msg_count,
                                   x_msg_data                      =>      l_msg_data,
                                   p_header_rec                    =>  l_header_rec,
                                   p_old_header_rec                =>  l_header_rec,
                                   p_header_val_rec                =>  l_header_val_rec,
                                   p_old_header_val_rec            =>  l_header_val_rec,
                                   p_Header_Adj_tbl                =>  l_Header_Adj_tab,
                                   p_old_Header_Adj_tbl            =>  l_Header_Adj_tab,
                                   p_Header_Adj_val_tbl            =>  l_Header_Adj_val_tab,
                                   p_old_Header_Adj_val_tbl        =>  l_Header_Adj_val_tab,
                                   p_Header_price_Att_tbl          =>  l_Header_price_Att_tab,
                                   p_old_Header_Price_Att_tbl      =>  l_Header_price_Att_tab,
                                   p_Header_Adj_Att_tbl            =>  l_Header_Adj_Att_tab,
                                   p_old_Header_Adj_Att_tbl        =>  l_Header_Adj_Att_tab,
                                   p_Header_Adj_Assoc_tbl          =>  l_Header_Adj_Assoc_tab,
                                   p_old_Header_Adj_Assoc_tbl      =>  l_Header_Adj_Assoc_tab,
                                   p_Header_Scredit_tbl            =>  l_Header_Scredit_tab,
                                   p_old_Header_Scredit_tbl        =>  l_Header_Scredit_tab,
                                   p_Header_Scredit_val_tbl        =>  l_Header_Scredit_val_tab,
                                   p_old_Header_Scredit_val_tbl    =>  l_Header_Scredit_val_tab,
                                   p_line_tbl                      =>  l_line_tab,
                                   p_line_val_tbl                  =>  l_line_val_tab,
                                   p_Line_Adj_tbl                  =>  l_line_adj_tab,
                                   p_Line_Adj_val_tbl              =>  l_line_adj_val_tab,
                                   p_Line_price_Att_tbl            =>  l_line_price_att_tab,
                                   p_Line_Adj_Att_tbl              =>  l_line_adj_att_tab,
                                   p_Line_Adj_Assoc_tbl            =>  l_line_adj_assoc_tab,
                                   p_Line_Scredit_tbl              =>  l_line_scredit_tab,
                                   p_Line_Scredit_val_tbl          =>  l_line_scredit_val_tab,
                                   p_Lot_Serial_tbl                =>  l_lot_serial_tab,
                                   p_Lot_Serial_val_tbl            =>  l_lot_serial_val_tab,
                                   p_action_request_tbl            =>  OE_ORDER_PUB.G_MISS_REQUEST_TBL,
                                   x_header_rec                    =>      p_header_rec,
                                   x_header_val_rec                =>      p_header_val_rec,
                                   x_Header_Adj_tbl                =>      p_Header_Adj_tab,
                                   x_Header_Adj_val_tbl            =>      p_Header_Adj_val_tab,
                                   x_Header_price_Att_tbl          =>      p_Header_price_Att_tab,
                                   x_Header_Adj_Att_tbl            =>      p_Header_Adj_Att_tab,
                                   x_Header_Adj_Assoc_tbl          =>      p_Header_Adj_Assoc_tab,
                                   x_Header_Scredit_tbl            =>      p_Header_Scredit_tab,
                                   x_Header_Scredit_val_tbl        =>      p_Header_Scredit_val_tab,
                                   x_line_tbl                      =>      p_line_tab,
                                   x_line_val_tbl                  =>      p_line_val_tab,
                                   x_line_adj_tbl                  =>      p_line_adj_tab,
                                   x_line_adj_val_tbl              =>      p_line_adj_val_tab,
                                   x_line_price_att_tbl            =>      p_line_price_att_tab,
                                   x_line_adj_att_tbl              =>      p_line_adj_att_tab,
                                   x_line_adj_assoc_tbl            =>      p_line_adj_assoc_tab,
                                   x_line_scredit_tbl              =>      p_line_scredit_tab,
                                   x_line_scredit_val_tbl          =>      p_line_scredit_val_tab,
                                   x_lot_serial_tbl                =>      p_lot_serial_tab,
                                   x_lot_serial_val_tbl            =>      p_lot_serial_val_tab,
                                   x_action_request_tbl            =>      p_action_request_tab);
    --  OE_DEBUG_PUB.DEBUG_OFF;
        p_return_code := l_ret_status;
        IF l_ret_status != 'S' THEN
          DBMS_OUTPUT.PUT_LINE(l_msg_data);
          IF l_msg_count = 1 THEN
            p_status := OE_Msg_Pub.Get(1,'F');
          ELSE
            FOR i IN 1..l_msg_count LOOP
              p_status := OE_Msg_Pub.Get(i,'F') || '<br />';
            END LOOP;
          END IF;
          p_status := 'Error loading lines<br>' || p_status;
        ELSE
          p_status := 'Order Processed Successfully<br>' || v_order_parts.COUNT || ' Line(s) Loaded';
        END IF;
    --    WHILE OE_DEBUG_PUB.G_DEBUG_INDEX < OE_DEBUG_PUB.CountDebug LOOP
    --      OE_DEBUG_PUB.GetNext(v_debug);
    --      DBMS_OUTPUT.PUT_LINE(v_debug);
    --    END LOOP;
      EXCEPTION
        WHEN OTHERS THEN
          ROLLBACK;
          RAISE;
      END TEK_ORD_PROCESS_ORDER;Thanks!
    Jonathan Hart

    Hello,
    Try the following
    1) Check if any processing constraints are applied to customer/location
    2) Try to create a new customer and associate internal location.
    Create a new order to reproduce the issue
    Thanks
    -Arif

Maybe you are looking for