Create a publication item as synonym

Hello
I have a view in schema A that uses a table in the same schema and I have a schema B with a synonym from the table in A.
With Mobile Database WorkBench I am trying to create a publication item for the synonym, but I get an error that says that all base objects must exists in a unique database.
What do I have to do?
Regards

Unless there has been a recent change, oracle lite does not like referencing objects across database links. All of the publication item sql gets generated with explicit references in the form 'select .. from schema.object where ..' and assumes that all objects are in the specified schema (with a cross schema synonym, this is not the case as the synonym is in one schema, the object in another.
a work around is to create a view in the schema you are basing the publication items on for the table in the other schema.
eg: if you want to be able to create a publication item for b.table in the schema a, then create a view in schema a as select * from b.table. This should work as the database link referencing is not done by the oracle lite server, but by the underlying database. for a view based object you need to manage the PK, updates and referential integrity yourself, but for a simple view based on a single table this is pretty simple.

Similar Messages

  • Publication Item on a VIEW

    Hi,
    Here is my problem :
    I have a table A in the schema A.
    In another schema, schema B, I have a view (VIEW B) based on the table A .
    My application schema for Olite is schema C. I want all my CEQ$ and CVR$ and CLG$ ables to be in schema C. I created a synonym on the view B in the schema C. When I create a publication Item based on this synonym, I cannot create a hint on the Publication Item because Olite say to me that the base table and the view must be in the same database.
    After that, I tried to create a publication item base on the VIEW B in the schema B and a publication Item based on Table A in the Schema A On the publication item based on the view, I created a hint to match the primary Key in table A. When I create a publication with these 2 new Publication Items, it works but when i try to instantiate the publication for a user, Olite don't want to instantiate the subscription because He don't find the base table (Table A). Also with that manner the CEQ$ and ohter Olite Tables are created In schema B (for publication Item on the view) and schema A (For publication Item based on the table).
    So my question is : How can I create a publication Item based on a view and have all my CEQ% tables in the same schema (Schema C) when the view, the table and the application Schema are three différent Schema.
    I hope you will understand my question.
    Thanks
    JSET

    You wouldn't be able to do that out-of-the-box. Manually updating the triggers and owners, you may be able to accomplish this. But then there are internal metadata you would have to figure out as well. Could get really ugly if you tried some of this. I would not recommend it.

  • Misplaced publication item query of two different publication itens

    Hi,
    I’m creating a new publication on Oracle Database Lite 10g.
    Almost all of the publication itens are ok, except two of then: when I publicate the “item1” ,the publication item query is rightly displayed on Mobile Manager page and in the administratives tables, as the C$ALL_PUBLICATIONS table. But, when I publicate the “item2”, that is rightly displayed on Mobile Manager site too, the query of the “item1” receives the same value of “item2” query.
    I’ve just checked for wrong synonym creation of the two tables involved , but they are correct.
    Has anybody ever seen something like that?
    An example of my two queries:
    Publication item1 : select field1 , field2 , field3 from table2 where field4 = 1
    Publication item2 :; : select field1, field2 from table1;
    It’s important : I have two different tables above.
    When I synchronize the PDA , with this publication assigned to the user, I receive an error message on Mobile Manager page that some field is misplaced or required . In other words: for publication item2 the application tries to put the data returned from the query of publication item1 .
    Thanks.

    Hi,
    The publication was created successfully and the type is “WCE”. I created it using the “Mobile Manager” page, with an .xml file , compressed in the .jar format.
    Here is the web.xml file:
    <?xml version = '1.0' encoding = 'WINDOWS-1252'?>
    <workspace>
    <application name="WCE_REGRAS">
    <app_info>
    <directory>/WCE_REGRAS</directory>
    <virtualpath>/WCE_REGRAS</virtualpath>
    <defaultpage/>
    <icon/>
    <description>WCE_REGRAS</description>
    <publication/>
    <platform>Oracle Lite PPC2000 ARM;US</platform>
    </app_info>
    <app_db publication="AFV"/>
    <snapshot name="REGIONS" owner="HR" order="1">
    <snaplatform object="TABLE" platform="ORACLE LITE PPC2000 ARM;US" template="SELECT * FROM HR.REGIONS" updatable="Y" conflict="client" refresh="fast" virtualprimname="" virtualprimcolname=""/>
    </snapshot>
    </application>
    </workspace>
    The publication item with weight equals to 1 (default) was deleted . I’m using an Java application to publicate the items an add them to the publication ( in this case, “WCE_REGRAS”)
    Some publication items will have the “conflict rule” set to “Client Wins” and the other ones will be set to “Server Wins”.
    Here is the .xml code that my java application reads to create the publication items that are wrong:
    Publicationitens.xml
    <app>
         <repository>
              <connectionString><!--THE CONNECTION STRING--></connectionString>
              <user><!--THE USER--></user>
              <password><!--THE PASSWORD--></password>
         </repository>
         <remoteDB>
              <connectionString><!--THE CONNECTION STRING--></connectionString>
              <user><!--THE USER--></user>
              <password><!--THE PASSWORD--></password>
         </remoteDB>
         <localDB>
              <connectionString><!--THE CONNECTION STRING--></connectionString>
              <user><!--THE USER--></user>
              <password><!--THE PASSWORD--></password>
         </localDB>
         <publication>     
              <name>15571</name>
              <virtualPath>/WCE_REGRAS</virtualPath>
              <deviceType>WCE</deviceType>
              <!--CLIENT WINS-->
              <item>
                   <type>local</type>
                   <name>RGE_SAFV_ATIVIDADE</name>
                   <owner>SC_PDA</owner>
                   <object>AFV_ATIVIDADE</object>
                   <filter>SELECT "COD_TIP_ATIV","DAT_ATIV","COMENT_ATIV","STATUS_ATIV","COD_ATIV_PRIOR","DSC_ATIV","COD_FUNCIO","COD_FUNCIO_RESP","COD_ATIV_SIEBEL","COD_CLI","COD_ATIV","COD_FUNCIO_ENC" FROM SC_PDA.AFV_ATIVIDADE WHERE COD_FUNCIO_RESP = :COD_FUNCIO AND STATUS_ATIV IN ('A', 'E')</filter>
                   <weight>26</weight>
                   <action>create</action>
              </item>
              <!--SERVER WINS-->
              <item>
                   <type>local</type>
                   <name>RGE_SAFV_ATIVIDADE_PRIO</name>
                   <owner>SC_PDA</owner>
                   <object>AFV_ATIVIDADE_PRIO</object>
                   <filter>SELECT "COD_ATIV_PRIOR","DSC_ATIV_PRIOR" FROM SC_PDA.AFV_ATIVIDADE_PRIO</filter>
                   <weight>8</weight>
                   <action>create</action>
              </item>      
         </publication>     
    </app>
    In this case the connection string, password and user were omitted form the .xml file.
    In my Java application the following code creates and associate the publication itens to the publication :
    Consolidator.createPublicationItem(connSie, item.getName(), item.getOwner(), item.getObject(), "F", item.getFilter(), null, null);
    Consolidator.addPublicationItem(publication.getName(), item.getName(), null, null, "S", null, item.getWeight());
    , where the object “item” is populated with the publicationitens.xml file with a loop statment .
    This code works ok to the others publication items.
    The problem is : in the administrative tables ( like C$ALL_PUBLICATIONS) the publication string (filter – sql statement) is right. But, when I access the “Mobile Manager” page they are misplaced:
    the filter string from “RGE_SAFV_ATIVIDADE” receives the same filter of “RGE_SAFV_ATIVIDADE_PRIO”.
    Curiously when I delete the “RGE_SAFV_ATIVIDADE_PRIO” publication item , the filter string of “RGE_SAFV_ATIVIDADE” publication item appears correctly in the Manager page.
    I ‘ve just deleted the "RGA_SAFV_ATIVIDADE_PRIO" publication item using my Java application , or by database : I dropped tables, views and triggers that are created by “Consolidator” (java .jar) methods. I created this item again , but the same error occurs.
    I think that it may be something with the data integrity in the database.
    The mobile database is 10g, version 10.2.0.2 ;
    Thanks.

  • How to increase the length of a columnin existing publication item

    We need to urgently increase the length of three columns in one of the tables that is sent offline as a publication item. I have searched everywhere to see if there is a procedure to see this. I only found process to add/drop columns but not modify to JUST increase the length.
    Can we just alter the tables on the server and republish the application? Will that cause any data loss on the client end?
    Any help is greatly appreciated.
    Thanks
    Sireesha

    I totally forgot about this method. Metalink had it in the headlines today and remembered your question.
    This should work for you.
    Applies to:
    Oracle Lite - Version: 10.2.0.1.0 to 10.2.0.2.0
    Information in this document applies to any platform.
    Goal
    The Goal of this Document is to show the right steps when it is necessary to increase the Column Size for a table
    which is used for the Synchronization with Oracle Lite 10GR2
    BECAREFULL, it is not supported to change the Column Size or make any Schema Evolution on the Primary key
    as The Synchronization Algorithm is based on Primary key
    Solution
    Create table test_sec (col1 number(10); varchar2(10));
    alter table test_sec add primary key (col1));
    Create Publication: PUB_TEST_SEC
    Create Publication: PI_TEST_SEC: select COL1, COL2 from scott.TEST_SEC fast
    Refresh, server wins, weight = 1 and add it to the Publicatio PUB_TEST_SEC
    Synchronize this PUB_TEST_SEC
    On the Server: increase the col2 WHICH IS NOT A PK, from 10 to 15
    alter Table scott.TEST_SEC modify (col2 (varchar2(15));
    To get the new Column Size on the olite DB, you need to alter the Publication item too using for example this code:
    import java.sql.*;
    import java.io.*;
    import oracle.lite.sync.Consolidator;
    import oracle.lite.sync.ConsolidatorManager;
    import oracle.mobile.admin.*;
    public class PublicationChange {
    public static void main(String argv[]) throws Throwable
    DriverManager.registerDriver ((Driver)Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance());
    ConsolidatorManager consolidatorManager = new ConsolidatorManager();
    consolidatorManager.openConnection("mobileadmin","manager","JDBC:ORACLE:thin:@suppolite1.fr.oracle.com:1521:PROD");
    System.out.println("Connected");
    try
    /*You need to put a Select Statment lightly different from the Publication item,
    if you will use the same select statment, it won't take in Account
    if you used: select * from owner.table to create the Publication Item
    you need to use: select * from owner.table for the alterPublicationItem API
    consolidatorManager.alterPublicationItem("PI_TEST_SEC","SELECT * FROM SCOTT.TEST_SEC");
    System.out.println("Pub Item recreated");
    catch (Throwable e) {
    e.printStackTrace();
    try
    consolidatorManager.closeConnection();
    System.out.println("The installation is done!");
    } catch (Throwable e) {
    Compile and run this java code.
    Synchronize
    Check your table Description on Oracle Lite Database to verify that this Schema Evolution has worked as expected.

  • Unable to create publication item for remote database using db link

    The mobile repository is in instance A.
    I have to access and sync data from a table in remote database instance B.
    I have run the consolidator_rmt.sql script in instance B under schema_B. I have created a private fixed user db link in instance A under schema_A to access schema_B's tables. I then created a synonym test_B for table test_B in schema_B using the DB link.
    While creating publication item for test_B using MDW, the column list for test_B appears blank. Has anyone encountered this problem and what is the solution.
    Thanks for your help.
    Rosa.

    Hello Pruthvi ,
    See these threads
    Uninstalling MaxDB
    Work process Ended.
    Thanks
    Chandran

  • Queue based publication items

    has anyone used these and what for?
    (sort of) managed to get these to work as a replacement for all of our fast refresh publication items, and get real time synchronisation without the MGP process running, but had to put in some serious work arounds to get it to do fast refreshes and getting it set up is complicated
    I would be interested in kowing what other people have done with them to see if there is anything that i have missed

    2 hour compose with the 400+ users was the situation when we went live in August 2006, and whilst not perfect, that was ok. We also never had any problem with mobile blocking users when it started the compose cycle. current situation is upto 12 hour compose cycle with 5 minutes of blocking all users when it starts - this is not acceptable
    Database is however overly generic, and in some cases uses inappropriate structures (example status table looks to be growing at the rate of a million records a month, with only a hundred or so of those records of any interest). We also started using streams for extranet services, and the two do not look to play nicely together.
    no more options for tuning (did everything when we went live), partitioning may help but difficult with the database structures, most of the data is specific to our users, most of the data that could be shared is within complete refresh items to bypass the MGP process already.
    We could (and may still do, as the implementation of the queue based stuff is going to be very complicated) stick with the MGP process and do tricks like create our own logging triggers to stop 'uninteresting' records being logged in the CVR$ tables and C$ALLL_SID_LOGGED_TABLES, and then delete unnecessary data from the CVR$ tables to speed up the process logs phase (sure it is not recommended but it works), use MyCompose to work around the poor execution plans put together by the default compose process, and DML call outs to impove the apply processing, but my fear is we will be back in the same boat in 18 months time.
    As 90%+ of our synchronisations are done unattended between about 7:30 pm and 10pm, a slower but more real time sync option fits in the business model fairly well, and to my mind why pre-prepare data 12 times a day (assuming 2 hour cycle) with all of the continual performance overhead, when they only download it once when noone else is working?
    The queue based stuff is a bit cumbersome and an odd mixture of java, PL/SQL and DDL scripts (plus a few cheats inserting data directly into the repository tables, and updating other things), and the development effort required should not be underestimated.
    anyone considering it needs to be clear about what they are trying to achieve (the examples are very limited to stuff you could do with complete refresh items easier), and needs a good understanding of the internals. Definitely not suitable if synchronisation time is a priority (eg: if using GPRS all of the time). I should be able to get the average sync time down to 3-4 minutes, but compared with the 20-30 seconds currently that is still a big jump

  • Altering / Adding Publication Items

    Hi all,
    I know that there had been similar requests to this in the past and I have read all of these and I still have an issue.
    I have also seen rekounas's code to use the ConsolidatorManager API to add/alter.. the publication items. I have tried to complie this code and recieve the following error:
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at oracle.lite.sync.ConsolidatorManager.<clinit>(Unknown Source)
    at PublicationChange.main(PublicationChange.java:13)
    Caused by: java.util.MissingResourceException: Can't find bundle for base name oracle.lite.sync.ConsErrorMessages, locale en_AU
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:549)
    at oracle.lite.sync.ConsNls.initialize(Unknown Source)
    at oracle.lite.sync.ConsNls.<clinit>(Unknown Source)
    I do not have the same need as rekounas had interms of the large table set but I have an environment which has in previous attempts dropped users upon a republish using the packaging wizard.
    Hence, the reason I would like to use this method to modify the live environment without causing users to be dropped. (Bizzare problem, since I am not able to re-create this occurance in DEV, SIT or UAT environments)
    Version: Oracle lite 10.3.0.1.0
    I would appreciate any help.

    Do not know if this is still the case in 10.3, but there is an issue in 10.2 where you cannot have the same machine set up as a oracle lite client and also install the SDK/MDK.
    It seems that a number of the jar files in the builds have the same names, but different content in terms of method details. I havd a very similar error to this in terms of not being able to find the error message for the locale. The response to a SR from oracle was
    SSUE CLARIFICATION
    ===================
    -- Problem Statement:
    Installed Win32 Client on the same PC as the SDK Environment and now they are encountering errors with Mycompose Classes
    -- Steps To Reproduce:
    Install SDK Environment and confirm bespoke java app runs successfully
    Install the Win32 Client
    -- Business Impact:
    Unable to run bespoke code that has been developed
    ISSUE VERIFICATION
    ==================
    Issue could not be verified due to this being an unsupported confirguration. Clients must be installe
    d on a seperate OS from SDK
    CAUSE DETERMINATION
    ===================
    The Win32 Client Jar files will be picked up on CLASSPATH / PATH before the SDK Versions
    CAUSE JUSTIFICATION
    ===================
    Client Jars are different from the SDK versions
    We do not support running/using a Client in the same PC as the SDK install.
    PROPOSED SOLUTION(S)
    ====================
    1. Run the Client software on a seperate Windows PC from the SDK
    2. Run the Client in a Virtual Machine on the SAME PC as the SDK - Note that you can get trial versions of VMWare online.
    3. Create a Script to set PATH & CLASSPATH for when using the SDK - there is an
    example in $OH\Mobile\Sdk\wtgsdk\bin
    PROPOSED SOLUTION JUSTIFICATION(S)
    ==================================
    Any one of the above solutions will resolve the issue - it really depends on which is most suitable to Customer.
    Using VMWARE is good because you can take snapshots of system states and roll back etc. you can al
    so have multiple VM which gives greater flexibility i.e.
    I have 1 laptop with 3 diff versions of the SDK all in their own VM.
    SOLUTION / ACTION PLAN
    ======================
    -- To implement the solution, please execute the following steps::
    Please see the list of Solutions above and use the most appropriate for you. No
    te that option 3 is only considered a temporary measure as we dont support havin
    g a Client installed on the same machine as the SDK or Mobile Server.
    In my case i re-installed the SDK over the top of the client install and then things worked fine

  • Oracle Lite Default Publications Items List

    Does anyone have a list of default publication items which are created as a part of Out of Box installation?
    Edited by: user6411743 on 02-Jun-2009 14:09

    The default publication items created on install are the 6 seen when a new client is built or complete refresh
    PI_APP_PUB_PROPERTIES - the application/publication
    C$SEQ_CLIENTS_PI - sequences for the client
    C$SCRIPTS - DDL scripts executed on build
    C$RESOURCES - not sure what this is, but i think it is stored procedures etc.
    C$ALL_SEQUENCES - i think this related to auto incremented columns, but never seen it used
    C$ALL_INDEXES_Q - the index definitions for the publication items

  • Unable to create web app items if Proximity Search is Enabled.

    I am using BC API to create web app items because I am getting the data from a third party website and wanted to save the data into web app by using BC API. I have a web app ( Name: "Map Overview" ) and the proximity search is enabled. When I test my script I got 404 bad request error but if I disabled the Proximity Search the item is created.
    Can someone help me on this?
    Thanks

    Let me know the page you are running the API call on, I'll have a look and see what gives.
    Thanks,
    Mihai

  • Create New List Item

    I am getting an error each time I try to run this code and get the error message "There was a problem submitting your answers. Please try again later."I have looked at this for so long now I am not sure if I am missing something or what. I have referenced SPServices and jquery and it is working correctlyI am trying to make a crossword using some code I found online and I followed it andstill get this error. // Create an object to associate each SharePoint column with the class name used for the input and the user's response for that column
    var responses = {
    "oneAcross": {
    "selector": "one-across",
    "column": "OneAcross",
    "answer": ""
    "oneDown": {
    "selector": "one-down",
    "column": "OneDown",
    "answer": ""
    "twoDown": {
    "selector": "two-down",
    "column": "TwoDown",
    "answer": ""
    "threeDown": {
    "selector": "three-down",
    "column": "ThreeDown",
    "answer": ""
    "fourAcross": {
    "selector": "four-across",
    "column": "FourAcross",
    "answer": ""
    // Create the batchCmd variable that will be used to create the new list item
    var batchCmd = '<Batch OnError="Continue"><Method ID="1" Cmd="New">';
    // Concatenate values of each response input by iterating over the object representing the responses
    $.each( responses, function() {
    // Cache the current item in the responses object.
    var $response = this;
    // For each input in the crossword associated with the current response object, get the values and save them in the answer property.
    $( '.' + $response.selector ).each( function() {
    $response.answer += $( this ).val().toLowerCase();
    // Add the response to the batchCmd
    batchCmd += '<Field Name="' + $response.column + '"><![CDATA[' + $response.answer + ']]></Field>';//Create a new list item on the destination list using the batchCmd variable
    $().SPServices({
    operation: "UpdateListItems",
    async: true,
    webURL: "http://operations.home.blah.com/sites/EIS/SEEIS/SSC/Lists/",
    listName: "Crossword",
    updates: batchCmd,
    completefunc: function( xData, Status ) {
    // If the AJAX call could not be completed, alert the user or include your own code to handle errors.
    if ( Status !== "success" ) {
    alert( "There was a problem submitting your answers. Please try again later." );
    else {
    // If there was an error creating the list item, alert the user or include your own code to handle errors.
    if ( $( xData.responseXML ).find( 'ErrorCode' ).text() !== "0x00000000" ) {
    alert( "There was a problem submitting your answers. Please try again later." );
    // if the list item was successfully created, alert the user and navigate to the Source parameter in the URL (or to a URL of your choosing).
    else {
    alert( "Your answers were submitted successfully! Click OK to continue." );
    if ( window.location.href.indexOf( "Source=" ) !== -1 ) {
    var url = window.location.href.split( "Source=" )[1].split( "&" )[0];
    window.location.href = url;
    else {
    window.location.href = "/";

    When I look at the demo on the page it fires the same response as that is part of the error handling because it is a standalone HTML and not on a sharepoint server so I am wondering if something I am missing on the submit.click function or batchcmd. 
    I included the entire code for it to see if maybe you can see something I am not.  My crossword is on a Sharepoint Server
    $( '#crossword-submit' ).click( function( event ) {
    // If you decide to use a hyperlink instead of a button input, this will prevent
    //the hyperlink from actually navigating away from the page or to an anchor.
    event.preventDefault();
    // Disable the button so the user can't click it again and submit the answers more than once.
    $( this ).prop( 'disabled', true );
    // Prevent submission if the crossword isn't completed.
    if ( $( '#crossword' ).find( 'input' ).filter( function() { return $( this ).val() === ""; }).length !== 0 ) {
    alert( "You have left some answers blank. Please complete all answers before submitting." );
    $( this ).removeProp( 'disabled' );
    return false;
    // Confirm that the user wants to submit their answers.
    var confirmResponse = confirm( "Are you sure you are ready to submit your answers? Once submitted they cannot be changed.\n\nClick OK to continue or Cancel to review your answers." );
    if ( confirmResponse === false ) {
    $( this ).removeProp( 'disabled' );
    return false;
    // Create an object to associate each SharePoint column with the class name used for the input and the user's response for that column
    var responses = {
    "oneAcross": {
    "selector": "one-across",
    "column": "OneAcross",
    "answer": ""
    "oneDown": {
    "selector": "one-down",
    "column": "OneDown",
    "answer": ""
    "twoDown": {
    "selector": "two-down",
    "column": "TwoDown",
    "answer": ""
    "threeDown": {
    "selector": "three-down",
    "column": "ThreeDown",
    "answer": ""
    "fiveDown": {
    "selector": "five-down",
    "column": "FiveDown",
    "answer": ""
    "sixDown": {
    "selector": "six-down",
    "column": "SixDown",
    "answer": ""
    "sevenDown": {
    "selector": "seven-down",
    "column": "SevenDown",
    "answer": ""
    "eightDown": {
    "selector": "eight-down",
    "column": "EightDown",
    "answer": ""
    "fourAcross": {
    "selector": "four-across",
    "column": "FourAcross",
    "answer": ""
    "nineAcross": {
    "selector": "nine-across",
    "column": "NineAcross",
    "answer": ""
    "tenAcross": {
    "selector": "ten-across",
    "column": "TenAcross",
    "answer": ""
    "elevenAcross": {
    "selector": "eleven-across",
    "column": "ElevenAcross",
    "answer": ""
    "twelveAcross": {
    "selector": "twelve-across",
    "column": "TwelveAcross",
    "answer": ""
    // Create the batchCmd variable that will be used to create the new list item
    var batchCmd = '<Batch OnError="Continue"><Method ID="1" Cmd="New">';
    // Concatenate values of each response input by iterating over the object representing the responses
    $.each( responses, function() {
    // Cache the current item in the responses object.
    var $response = this;
    // For each input in the crossword associated with the current response object
    //, get the values and save them in the answer property.
    $( '.' + $response.selector ).each( function() {
    $response.answer += $( this ).val().toLowerCase();
    // Add the response to the batchCmd
    batchCmd += '<Field Name="' + $response.column + '"><![CDATA[' + $response.answer + ']]></Field>';
    // Close the batchCmd variable
    batchCmd += '</Method></Batch>';
    // Create a new list item on the destination list using the batchCmd variable
    $().SPServices({
    operation: "UpdateListItems",
    async: true,
    webURL: "http://operations.homestead.abc.com/sites/EIS/SEEIS/SSC/Lists/",
    listName: "Crossword",
    updates: batchCmd,
    completefunc: function( xData, Status ) {
    // If the AJAX call could not be completed, alert the user or include your own code to handle errors.
    if ( Status !== "success" ) {
    alert( "There was a problem submitting your answers. Please try again later." );
    else {
    // If there was an error creating the list item, alert the user or include your own code to handle errors.
    if ( $( xData.responseXML ).find( 'ErrorCode' ).text() !== "0x00000000" ) {
    alert( "There was a problem submitting your answers. Please try again later." );
    // if the list item was successfully created, alert the user and navigate
    //to the Source parameter in the URL (or to a URL of your choosing).
    else {
    alert( "Your answers were submitted successfully! Click OK to continue." );
    if ( window.location.href.indexOf( "Source=" ) !== -1 ) {
    var url = window.location.href.split( "Source=" )[1].split( "&" )[0];
    window.location.href = url;
    else {
    window.location.href = "/";
    </script>

  • Reversal FB08 Creating New OPEN ITEM instead of clearing the open item.

    Dear All,
    My user has an issue whenever he does any reversal  Tcode - FB08 in one of the general ledger  "Cash in Transit"  nature "open item" & "Line item"  instead of clearing the open it it  creates a new open line item.
    I have checked in Table BKPF , the reversal number is being updated but this items are still appearing open item in FBL3N and not appearing in F-04 (all reversals) for clearing.
    Can any one share what can be the reason its creating new open item  and how can i solve the issue for clearing the account.
    Thanks & Regards
    Pravin

    hi
    Please check following cases
    - whether this is happening in all the reversal cases of Cash in transit
    - Whether is user is just using FBRA (Onsly resetting) and not going for reversal
    - Chances would be one or two partial clearing may have taken for single document for the offsetting accounts
    Thanks
    Sandeep

  • Creating a service item

    I'm in the middle of creating a new service and am having a problem with service items. I have designed the service item, created the dictionary added some fields, created an active form and finally created a service. In the plan for the service my first step is to create a service item. Then I call the CPO process which updates the service item and finally I do an update service item.
    My problem is the service item never gets created. I plan on using this service item for subsequent services but can't as it never exists. The CPO process gets called properly and updates the requisition form properly but no service item.
    Can anyone give me some clues as to what I've done wrong? I'm using CIAC 3.0. Haven't yet upgraded to 3.1.
    Ryan
    Sent from Cisco Technical Support iPad App

    Maksim,
    It turns out that in my active form I wasn't creating a value for the Name field and thus it was refusing to save my Service Item. I only discovered this after trying to create a Service Item manually and accidentally leaving the Name field empty. I am not using the Name field in my form so now instead it's set to hidden but I also generate a GUID for it and this now works as expected.
    Just little things to keep us on our toes!
    Ryan

  • How can i create a new item in the app "health"?

    how can i create a new item in the app "health"? I need a field for documentation of "Waist-to-height ratio", exactly for "circumference".
    It's a matter of common knowledge, that the Waist-to-height ratio (WHtR) has more significance then the Body-Mass-Index (BMI).

    If you mean you want to change a color of a calendar category or create a new one, you cannot do that, what is pre-loaded is what you get and cannot be edited.

  • Creating a new item in application Personalize Page

    Hi all,
    I've created a new item from the application's personalize page. There are a few questions I want to ask about this new item I've created.
    1. I know that the page has different regions as there is more than one controller class for that page(visually). If I use oapagecontext.getParameter("Item ID"), will that give me the item's value even if it is in a different controller?
    2. When I create a new item using the application's personalize page, does it automatically update the relevant xml in $FND_TOP/mds repository? Or does it only update it during run time?
    Cheers

    Hi there,
    it still seems unable to do what i want. The code I'm using right now is this
    I've created a new MessageTextInput item from the application and gave it the ID of xxActiveTo. I also made the view attribute of "ActiveTo" and attribute set of /oracle/apps/jtf/resource/attributesets/JtfRsResourceExtns/EndDateActive.
    **code **
    String temp = oapagecontext.getParameter("xxActiveTo");
    if (temp != "22-Aug-2006")
    setforwardurl (xxxxxx);
    When i see the field I enter 22-Aug-2006 and then press the button. However, it always forwards to the url as in setforwardurl.
    I know I'm getting the wrong value but I don't exactly know why
    Please help

  • Creating a New Item In Seeded page

    Hi,
    I am having requirement to create a new field in seeded page.So Please can anyone help me in creating it.
    My Requirement is----->
    Creating a new field to be displayed In CONFORMATION PAGE of "Internet Expense Audit Manager Responsibility".
    The Navigation is :
    Internet Expense Audit Manager Responsibility---------->Conformation Page
    The Field to be displayed is ProjectNumber.
    So please can anyone help in doing this.

    Hi,
    Actually I am using ReviewCashVO . In it i can see ProjectNumber,Justification etc attributes.
    In seeded Page,he had used Justification Field and it showing data.He had not used ProjectNumber.
    so i created a new field and assigned projectnumber as instance attribute ,then its not displaying data.
    But if i use Justification Instance Attribute for newly created field or item then its displaying data.
    So please can u help me in doing personalization on seeded page.
    My Aim is:
    Internet Expense Audit Manager responsibility
    In it
    Conformation Page
    In conformation page i need to add Project Number field.
    Plz can u check it.

Maybe you are looking for

  • Only one computer per account with the new Adobe CC 2014

    Hi guys, i have just upgraded all my apps to the brand new CC 2014, which also means everything is doubled in my application list. It all went fine at my work's computer but when I went back home and launched after effects CC 2014, it asked me for a

  • Sender JDBC Adapter with Mutiple SQL Database Tables.

    Hi All, My requirement is SQL->PI7.0->BI. I have a plan to go with the senario like this : JDBC sender->SAPPI->ABAP Proxy. And also I need fetch the data from more than 10 data tables with different database tables with key fields. Could you please s

  • Alert for orphaned files (.mdf, .ldf & .ndf)

    Hi,  Has anyone got any code that can scan all attached drives/directories for database files and compare them to what the instance says are attached files?  I have some code which works but you have specify the directories to monitor.   I know that

  • To_char year conversion in different languages

    I'm trying to make a to_char conversion that displays the date as words, but I need it to be displayed in different languages, for example: SELECT TO_CHAR(SYSDATE, 'DAY MON DD YEAR','NLS_DATE_LANGUAGE=French') FROM DUAL; but this returns MERCREDI JUI

  • Bug in LabVIEW UDP Read?

    Hello All With a little modified UDP Sender and UDP reader you can see that there is a problem in LabVIEW UDP read. Enclosed, you will find a UDP sender and UDP reader, which you can run simultaneously on one machine (the same over the network). If t