XML not updating

Sometimes when updating my XML, the changes are not reflected
in my application. I'm sure this has something to do with the
browser cache and the XML document being stored locally somewhere
and not being downloaded again. How can I make sure that the newest
XML document is being used? Or is there a method to refresh the XML
and make the new one be downloaded?

Hi Jayson,
You should probably be using a POST request rather than a GET
request. Have a look at this discussion:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=585&threadid=1225341
Tim

Similar Messages

  • Recovering iTunes Song List (iTunes Library.xml not updated)

    How do I recover the iTunes library song list? My computer recently crashed, so I had to get this new one. The old hard drive is working fine. I just need the song list to be able to identify the songs that I have yet to copy unto my iPod (I arrange the library by 'Date Added'). Since my music files are located in a variety of places, it would be very difficult for me to locate each without being guided by the list.
    For some weird reason, the iTunes Library.xml is not updated. It's still dated 2009, so that fix goes out the window, I guess.
    Thanks in advance.

    try if the suggestions in this thread help: http://discussions.apple.com/thread.jspa?threadID=2168081&tstart=0.
    JGG

  • ITunes Music Library.xml not updating when adding new songs

    I have about 150.000 music tracks on my iMac and iTunes didnt have any difficulty with it. When using the songs in DJ program Native Instruments Traktor Pro, this program checked the latest update of the iTunes Music Library.xml file and everything went ok. Whenever I changed a smart playlist or added songs, my Traktor looked at the updated .xml file and Traktor updated it's own files.
    SUDDENLY, and I dont know why, this iTunes Music Library.xml file did not update anymore. Whenever I change a song or add a song, the 'update date' in my finder next to the iTunes Music Library.xml file stays the same (1 May 2010) This means my DJ software does not show the updated/added songs...
    Plse help... what should I do... I am a professional DJ and I especially bought this iMac for the purpose of DJ'ing. Because of this issue, I can't use it anymore...

    try if the suggestions in this thread help: http://discussions.apple.com/thread.jspa?threadID=2168081&tstart=0.
    JGG

  • Databound XML not updating

    I have an XML variable that is populating controls.  The XML is populating the controls as it should, however when I make a change to the data in the control, shouldn't the XML be updating automatically?  Or, is there some extra setting up required so that when a user updates a field, it automatically updates the XML?

    It is rather simple XML, and it populates the controls.
    <?xml version="1.0"?>
    <recData>
         <WEIGHT_UOM>1</WEIGHT_UOM>
         <OUT_NAME></OUT_NAME>
         <PREFIX></PREFIX>
         <MIDDLE>D</MIDDLE>
         <ED_COMMENT></ED_COMMENT>
         <MED_ALERT></MED_ALERT>
         <CUR_UNIT></CUR_UNIT>
         <EMP_PHONE></EMP_PHONE>
         <ACT_DIS></ACT_DIS>
         <DOB>05/06/1932</DOB>
    </recData>

  • Incopy link will not update in InDesign and XML Story files

    So I have a couple of questions.
    I work for a publisher and we have a standard InDesign to Incopy workflow. Recently we have started having issues with InCopy links. First some basic info would probably be helpful. We use Windows XP =(, and we are using InDesign and Incopy CS3. All of our files are on a server. When I or people on my team sometimes attempt to update Incopy links, they will simply not update. Then when we check the link it says that it is zero k in size and is pretty much fried, cannot open in Icopy or InDesign. Why this is so nasty is because if the file cannot be updated all the work in the story that was done in InCopy is lost. Then to make matters worse, if we unlink the incopy file sometimes when we go to save indesign completely crashes. Is this a permissions issue as our IT department is fairly ignorant about design workflows on servers and has been inconsistent about the permissions. Also these .xml files seem to be populating the folder where we keep our InDesign files, when we open them they have basic information on the story links. I have attempted to find out more info on these files but have had very little luck.
    Any info would be helpful.
    Thanks!

    I cannot import video files.
    Mylenium

  • XML MAPPING - swf not updating

    When I make a change to the xml file it is not picking up the change in my published swf file.  When I open the project in CX and refresh the mapping updates.
    So it is connected but when I click on "refresh" on the sxf it is not updating.
    I have xml maps, added in the data connection manager, with a refresh button tied to the xml connection.  I also have the refresh on load checked in the connection manager.
    Need help.
    Thanks
    Mark

    Shamim my scenario was that I wanted the SWF on a network so that a call center employee could access the file from a mapped drive, open the file direct on her/his client machine.  My problem was that I developed the file on the server machine and mapped the data connection path to the XML initially from the server, not the scenario of a client machine's path looking for the file. (not sure if cache is the right term)
    Initial Path from server development..  D:\Datafiles\data.xml
    The client machine(s) network path, mapped drive was Z: for example.  In the excelsius model you need to bind the data path to the excel model and hardcode the Path that the client machines will go thru to access the data.  This solved my issue perfectly.  Z or name of the mapped drive mapped to the server.
    Z:\Datafiles\data.xml
    So now if your on the server machine and try to open the file from the swf you will incur the error message that correlates to the swf not being able to find the data.  From the clients works fine but not from the server machine as the path has to be exact for the swf to find the data file.
    Hope this helps.
    I have a question for trying to deploy this same example on th server embedded into a swf movie player to the web.  Might have been my path issue, cross domain policy file... But I could not get it to be deployed in a website, live.  If you are familiar with this please explain to me.
    Regards,
    Mark

  • Update Retriever - HelloLevel_8_07_00.xml not existing in SSClientCommon folder

    Hello,
    Yesterday I installed a clean installation of the latest Update Retriever (updateretriever402-2011-07-27.exe) on our server and configured the latest System Update client (systemupdate401-2011-07-25.exe) to connect to it for automatic update retrieval.
    This worked out fine yesterday, client connecting to the internal server and retrieving the updates.
    This morning this does no longer worked, checked the tvsu_log file on the client reveals that this seems to be caused by the a file named HelloLevel_8_07_00.xml not existing in the SSClientCommon folder on the internal update retriever server. 
    Checking the content of the target dir on the internal server does indeed show that that file is not present, others are.
    Please advice as to what the reason and solution can be.
    Thanks.
    *** Partial content of the clients' tvsu_log file ***
    Info 2011-08-17 , 11:44:16
     at Tvsu.Engine.Process.HelloProcess.Start()
     Message: HelloProcess Started
    Info 2011-08-17 , 11:44:16
     at Tvsu.Engine.Process.HelloProcess.Start()
     Message: Client level: HelloLevel_8_07_00
    Info 2011-08-17 , 11:44:16
     at Tvsu.Engine.Process.HelloProcess.DownloadUDF(String helloClientLevel)
     Message: The UDF will be downloaded from: S:\Lenovo\TVSU_Repository\SSClientCommon/HelloLevel_8_07_00.xml
    Info 2011-08-17 , 11:44:16
     at Tvsu.Engine.Process.HelloProcess.DownloadUDF(String helloClientLevel)
     Message: The UDF will be downloaded to-> C:\Program Files (x86)\Lenovo\System Update\session\system\SSClientCommon\HelloLevel_8_07_00.xml
    Info 2011-08-17 , 11:44:16
     at Tvsu.Gui.CustomComponents.Step.set_Image(StepImage value)
     Message: Setting PROCESSING status.
    Info 2011-08-17 , 11:44:16
     at Tvsu.FileDownloader.LocalDownload.Init(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
     Message: Failed to find the file from server: S:\Lenovo\TVSU_Repository\SSClientCommon/HelloLevel_8_07_00.xml
    Info 2011-08-17 , 11:44:16
     at Tvsu.FileDownloader.LocalDownload.Init(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
     Message: some error were found in LocalDownload.Init function
     Exception:
      Message: the file does not exist int the server path
      Type: System.Exception
         at Tvsu.FileDownloader.LocalDownload.Init(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
    *** Content of the SSClientCommon folder on the internal update retriever server ***
    26/04/2011  10:29                97 HelloLevel_8_00_00.xml
    11/08/2011  15:37             1.267 HelloLevel_8_00_00L.xml
    26/04/2011  10:29                97 HelloLevel_8_00_01.xml
    11/08/2011  15:37             1.266 HelloLevel_8_00_02.xml
    11/08/2011  15:37             1.266 HelloLevel_8_00_03.xml
    11/08/2011  15:37             1.266 HelloLevel_8_00_04.xml
    11/08/2011  15:37             1.266 HelloLevel_8_00_05.xml
    11/08/2011  15:37             1.266 HelloLevel_8_00_06.xml
    11/08/2011  15:39             1.266 HelloLevel_8_01_00.xml
    11/08/2011  15:39             1.125 HelloLevel_8_02_03.xml
    11/08/2011  15:39             1.125 HelloLevel_8_02_04.xml
    11/08/2011  15:39             1.125 HelloLevel_8_03_01.xml
    11/08/2011  15:39             1.125 HelloLevel_8_04_00.xml
    11/08/2011  15:39             1.125 HelloLevel_8_04_01.xml
    11/08/2011  15:39             1.126 HelloLevel_8_04_01D.xml
    11/08/2011  15:39             1.126 HelloLevel_8_04_01L.xml
    11/08/2011  15:39             1.125 HelloLevel_8_04_02.xml
    11/08/2011  15:41             1.125 HelloLevel_8_05_00.xml
    11/08/2011  15:41             1.126 HelloLevel_8_05_00A.xml
    11/08/2011  15:41             1.126 HelloLevel_8_05_00R.xml
    11/08/2011  15:41             1.125 HelloLevel_8_05_10.xml
    11/08/2011  15:41             1.125 HelloLevel_8_05_20.xml
    11/08/2011  15:41             1.125 HelloLevel_8_05_40.xml
    11/08/2011  15:41             1.125 HelloLevel_8_05_50.xml
    11/08/2011  15:41             1.125 HelloLevel_8_05_60.xml
    11/08/2011  15:41             1.125 HelloLevel_8_05_70.xml
    11/08/2011  15:41             1.127 HelloLevel_8_05_80.xml
    11/08/2011  15:43             1.129 HelloLevel_8_05_80_314.xml
    11/08/2011  15:44             1.127 HelloLevel_8_05_81.xml
    11/08/2011  15:44             1.127 HelloLevel_8_05_90.xml
    11/08/2011  15:42             1.127 HelloLevel_8_05_91.xml
    11/08/2011  15:45             1.319 SSClientCommon_7_00_0.xml
    11/08/2011  15:45             1.319 SSClientCommon_7_00_1.xml
    11/08/2011  15:45             1.321 SSClientCommon_7_00_10.xml
    11/08/2011  15:45             1.321 SSClientCommon_7_00_11.xml
    11/08/2011  15:45             1.319 SSClientCommon_7_00_5.xml
    11/08/2011  15:45             1.319 SSClientCommon_7_00_6.xml

    Hi ,
    Does your issue been fixed? if not, maybe you can post the full log so that  I can have a look to see if I can provide some advises,thanks.

  • The attached VI works when I run it initially creating the XML file, but when run after the XML file is created, it's not updated. What am I doing wrong?

    The attached VI works when I run it initially creating the XML file, but when I change data and run after the XML file is created, it's not updated with new data. What am I doing wrong?
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    Attractive Force XML.vi ‏23 KB

    That looks like the logic which was written into the VI
    Inner true/ false case:
    (file exists : false) write to XML file, unflatten for display
    (file exists : true) read from XML file, unflatten for display
    At no time when the file exists (true case) is the XML file updated...

  • Publish cloud service fails from Visual Studio 2013 Update 4: Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.

    I have a cloud service project with two roles (service and worker). In Visual Studio 2013 Update 4 when I choose "Publish..." from the "Solution Explorer",  it opens "Microsoft Azure Activity Log" and quickly terminates.
    Here the log:
    9:43:47 AM - Applying Diagnostics extension.
    9:44:09 AM - Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    All works fine when uploading the package and updating from https://manage.windowsazure.com/. It only fails from within Visual Studio.
    What can I do to get it working?

    I have the same problem with our Azure project. Two web roles (service and worker). Just updated from SDK2.2 to SDK2.5 and Visual Studio 2013 Update 2 to Update 4. The main reason behind this was to move from log4net to WAD and in doing so, of course directly
    move to the new diagnostics version.
    Now, I get the same error message in Visual Studio:
    11:45:24 - Checking for Remote Desktop certificate...
    11:45:25 - Applying Diagnostics extension.
    11:45:45 - Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    With my small testing project - also two roles (service and worker) - everything is fine. However, I'm looking for a solution to make by existing production service working.
    Also the test project shows no Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml,
    but this is no problem - so what's the meaning of or solution to this error messages?
    What I found so far:
    I deployed the Azure project from the same development environment to another Azure test service: Deployment
    showed no errors and the service is running fine! So the problem is not with the source, the development environment, library dependencies etc.
    Trying Azure cmdlets for PowerShell also work fine for the new service and fails for the production service with almost the same error message:
    Following http://blogs.msdn.com/b/kwill/archive/2014/12/02/windows-azure-diagnostics-upgrading-from-azure-sdk-2-4-to-azure-sdk-2-5.aspx
    I tried:
    PS C:\> Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -DiagnosticsConfigurationPath $public_config -ServiceName $service_name -Slot 'Staging' -Role $role_name
    VERBOSE: Setting PaaSDiagnostics configuration for MyWebRole.
    Set-AzureServiceDiagnosticsExtension : BadRequest : Published Asset Entry for Image
    Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    At line:1 char:1
    + Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -Diagnostic ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Set-AzureServiceDiagnosticsExtension], CloudException
        + FullyQualifiedErrorId : Microsoft.WindowsAzure.CloudException,Microsoft.WindowsAzure.Commands.ServiceManagement.
       Extensions.SetAzureServiceDiagnosticsExtensionCommand
    The problem seems to be related to those service configuration parts in the cloud which are not replaced
    by a new deployment... So what are possible reasons or fixes for this behaviour?
    Best regards,
     Andreas

  • Workflow: XML Container not updated

    Hallo Gurus!
    I am starting a new workflow with SWW_WI_START_SIMPLE. After that i change some container values with following code:
    *Workflow starten
      CALL FUNCTION 'SWW_WI_START_SIMPLE'
        EXPORTING
    *   CREATOR                            = ' '
    *   PRIORITY                           = SWFCO_NO_PRIO
          task                               = wa_ess_prozess-prozess_task
    *   CALLED_IN_BACKGROUND               = ' '
    *   DEADLINE_DATA                      = ' '
    *   NO_DEADLINE_PARAMETERS             = ' '
      IMPORTING
    *   WI_ID                              =
    *   WI_HEADER                          =
    *   RETURN                             =
    *   WI_RESULT                          =
        swf_return                         = lwa_swf_return
        TABLES
          agents                             = it_swhactor
    *   DEADLINE_AGENTS                    =
    *   DESIRED_END_AGENTS                 =
    *   LATEST_START_AGENTS                =
    *   EXCLUDED_AGENTS                    =
    *   NOTIFICATION_AGENTS                =
    *   SECONDARY_METHODS                  =
    *    wi_container                       = i_event_cont
    CHANGING
       wi_container_handle                =  lc_container
      EXCEPTIONS
       id_not_created                     = 1
       read_failed                        = 2
       immediate_start_not_possible       = 3
       execution_failed                   = 4
       invalid_status                     = 5
       OTHERS                             = 6
      TRY.
          CALL METHOD lc_container->if_swf_cnt_element_access_1~element_set_value "if_swf_ifs_parameter_container~set
            EXPORTING
              name       = 'Vorgesetzter'
              qname      = 'Vorgesetzter'
              value      =  m_vorg
    *                  unit       =
    *                IMPORTING
    *                  returncode =
        CATCH cx_swf_cnt_cont_access_denied .
        CATCH cx_swf_cnt_elem_access_denied .
        CATCH cx_swf_cnt_elem_not_found .
        CATCH cx_swf_cnt_elem_type_conflict .
        CATCH cx_swf_cnt_unit_type_conflict .
        CATCH cx_swf_cnt_elem_def_invalid .
        CATCH cx_swf_cnt_container .
      ENDTRY.
    COMMIT WORK.
    No excpetions are raised, but the container is not updated! Did i make something wrong?
    Please help!
    Thanks in advance.
    Alex

    Hallo Mike.
    I think i should explain my requirements in more detail. I'm working on different Employee Self Service Scenarios. The User Interface is a Webdynpro which can be called form the Portal. In Background a Workflow is trigger and all following steps can be executed through the UWL.
    For each Scenario it is possible to enter different date by the user. As the data is used in the workfow i would like to set it into the container by an generic Function Module for all scenarios. Each Process has a unique name and i made a table where the related information (Workflow task...) is stored.
    But i think I already found a solution:
    CREATE OBJECT cnt TYPE  cl_swf_cnt_container .
      TRY.
          CALL METHOD cnt->if_swf_cnt_element_access_1~element_set_value
            EXPORTING
              name  = 'Vorgesetzter'
              value = m_vorg.
    *    unit       =
    *  IMPORTING
    *    returncode =
          CALL METHOD cnt->if_swf_cnt_element_access_1~element_set_value
            EXPORTING
              name  = 'Prozessdaten'
              value = <wa_proc_struc>.
    *    unit       =
    *  IMPORTING
    *    returncode =
          CALL METHOD cnt->if_swf_cnt_element_access_1~element_set_value
            EXPORTING
              name  = 'ESS_KEY'
              value = lwa_ess_key.
    *    unit       =
    *  IMPORTING
    *    returncode =
          CALL METHOD cnt->if_swf_cnt_element_access_1~element_set_value
            EXPORTING
              name  = 'PROCESS_NAME'
              value = i_ess_process.
    *    unit       =
    *  IMPORTING
    *    returncode =
        CATCH cx_root .
      ENDTRY.
      CALL METHOD cl_swf_ifs_conversion_base=>to_ifs_xml
        EXPORTING
          source_container    = cnt
          import_param        = 'X'
          export_param        = 'X'
          local_elements      = 'X'
          no_system_elements  = ' '
          no_initial_elements = ' '
    *      id                  = l_key-task
        IMPORTING
          ifs_xml_stream      = ifs_xml_container
          error_handle        = lv_excp.
      IF lv_excp IS NOT INITIAL.
        CALL METHOD lv_excp->if_message~get_text
          RECEIVING
            result = lwa_swf_return-message.
        e_return-type = 'E'.
        e_return-id   = 'ZESS'.
        e_return-number = lwa_swf_return-message.
        e_return-message  = lwa_swf_return-text.
        e_rc = 1.
        ROLLBACK WORK.
        EXIT.
      ENDIF.
    *Workflow starten
      CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
        EXPORTING
          task                      = lwa_ess_prozess-prozess_task
    *   LANGUAGE                  = SY-LANGU
          do_commit                 = ''
    *   USER                      = SY-UNAME
    *   START_ASYNCHRONOUS        = ' '
    *   DESIRED_START_DATE        =
    *   DESIRED_START_TIME        =
    *   DESIRED_START_ZONLO       = SY-ZONLO
         ifs_xml_container         = ifs_xml_container
    IMPORTING
       return_code               = l_subrc
    *   WORKITEM_ID               =
    *   NEW_STATUS                =
    TABLES
    *       input_container           = i_event_cont
       message_lines             = lit_messag
       message_struct            = lit_messstruc
       agents                    = it_swhactor
    With this technique i am now able to set dynamic structures (e.g. <wa_proc_struc>) to the Container.
    Thanks.
    Alex

  • Data in server is not updated

    i have modify the data STREET to "ANG MO KIO"
    http://i192.photobucket.com/albums/z231/yzme/d1.gif
    but the data in server still "HEAVEN ST"
    http://i192.photobucket.com/albums/z231/yzme/d2.gif
    I am using Time2Way T01, if it is when i sync the data will be uploaded, or do i need to configure somewhere to get the data upload ?
    if the data in client and middleware is different, when i sync , the data from the middleware will again download to the client replace the modified values
    OR
    the data in the client will uploaded to the middleware and trigger the MODIFY bapi wrappers ?
    <b>
    when i check my MEREP_MON, and MEREP_LOG there is no data inside this meaning after i changed the values and perform the sync, Inbox and Outbox still remain the previous data as well as inside the MEREP_LOG,
    is it the bapi wrapper not call by the client ?
    </b>
    and i find out that my bapi not get called, what additional code should i add instead of the code below.
    DO I NEED TO IMPLEMENT SOME CODE FOR UPLOADER ??
    do i have to change the reqDirectSync="true", if yes, how do i changed, just change inside the editor, or there is somewhere to configure in sapgui
    after i changed the data , i try to sync, and i check on merep_mon
    what specific or additional steps i need to configure, on uploader / receiver or synchronizer
    <b>i do not implement any syncBoDelta or global reset ?</b>Can someone explain the term "delta" to me and its activities?
    if i have upload something, and sync, the Inbox should have something right ??
    i just put add this code to modify my records
    public String modifyRecord(String eventName,boolean didNavigate){
                             String syncBoName="ZCON";
                             String syncKey="0001230297";
                             tableViewBean.setString(syncBoName +" "+syncKey);
                             System.out.println("SyncBoName: " +syncBoName + " syncKey: " +syncKey);
                             tcp = TableContentProvider.instance(syncBoName);
                             tcp.modifyTable(syncBoName,syncKey);                                   return JSP_DETAIL_SYNCBOINSTANCE;
    public void modifyRecord(String syncBoName,String syncKey){
    SyncBoDescriptor sbd=null;
    sbd=descriptorFacade.getSyncBoDescriptor(syncBoName);
    SyncBo sb=null;
    try{
    System.out.println("bp 2");
    sb=dataFacade.getSyncBo(sbd,syncKey);
    }catch(PersistenceException pex){
    System.out.println("Exception in modifyRecordLoc:" +pex.getMessage());
    SmartSyncTransactionManager transactionManager;
    try{  transactionManager=dataFacade.getSmartSyncTransactionManager();
    if(!transactionManager.isTransactionStarted()){
    transactionManager.beginTransaction();
    boolean b8=false;
    b8=setHeaderFieldValue2(sb,"STREET","ANG MO KIO");
    transactionManager.commit();
    SetSendType();
    listAllOutDelta();
    checkInboxConflict();
    }catch(Exception e){
    System.out.println("Exception in modifyRecordAmt2:" +e.getMessage());
    public void checkInboxConflict(){
              ErrorConflictInbox errorConflictInbox= SmartSyncRuntime.getInstance().getInboxNotifier().getErrorConflictInbox();
              MeIterator iter;
              SyncBoResponse resp;
              try {
              iter= errorConflictInbox.getAllSyncBoResponses();
              while(iter.hasNext()){
              resp= (SyncBoResponse)iter.next();
              String bo=resp.getSyncBoDescriptor().getSyncBoName();//SyncBo Name
              String state=resp.getSyncBoResponseState().toString();
              String res=resp.getResponseType().toString();//Get the SyncBo response type (conflict or ERROR)
              String msg=resp.getText();// This will return the exact message from the server
              System.out.println("bo:" +bo +" state: " +state +" res: " +res +" msg:" +msg);
              System.out.println("state:" +resp.getSyncBoResponseState().toString());
              if(resp.getSyncBoResponseState().equals(SyncBoResponseState.INITIAL)){
                   String a=resp.getSyncBoResponseState().toString();
                   resp.acceptClientSyncBo();
                   String b=resp.getSyncBoResponseState().toString();
                   resp.delete();
                   System.out.println("state1: " +a +"state2: " +b);
              boolean syncStatusComplete= SmartSyncRuntime.getInstance().getInboxNotifier().isSyncStatusComplete();
              System.out.println("syncStatus:" +syncStatusComplete);
              }catch (Exception e) {
              e.printStackTrace();
    public void listAllOutDelta(){
              SyncBoOutDeltaFacade deltFac=SmartSyncRuntime.getInstance().getSyncBoOutDeltaFacade();
              MeIterator allDelta;
              try {
                   allDelta = deltFac.getAllDelta();
                   while(allDelta.hasNext()){
                             SyncBoOutDelta outDelta=(SyncBoOutDelta)allDelta.next();
                             System.out.println("SyncKey:" +outDelta.getSyncKey() +" Action:" +outDelta.getAction()
                                       +" State:" +outDelta.getStateId() +" SendType:"+outDelta.getSendType());
              } catch (SmartSyncException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (PersistenceException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    public void SetSendType(){
              SmartSyncRuntime ssRuntime = SmartSyncRuntime.getInstance();
              SyncBoOutDeltaFacade boDeltaFacade = ssRuntime.getSyncBoOutDeltaFacade();
              SyncBoDescriptorFacade descF = ssRuntime.getSyncBoDescriptorFacade();
              SyncBoDescriptor myBO = descF.getSyncBoDescriptor("ZCON");
              boDeltaFacade.setSendType(myBO, SyncBoOutDeltaSendType.SEND_DIRECT);
    //SyncManager.getInstance().synchronizeWithBackend(VisibilityType.USER_SHARED);
         public boolean setHeaderFieldValue2(
              SyncBo sb,
              String headerFieldName,
              Object value) {
              SyncBoDescriptor sbd = sb.getSyncBoDescriptor();
              //RowDescriptor trd = sbd.getTopRowDescriptor();
              System.out.println("bp 10");
              RowDescriptor trd=sbd.getRowDescriptor("010");
              System.out.println("bp 11");
              FieldDescriptor fd = trd.getFieldDescriptor(headerFieldName);
              System.out.println("fd:" +fd.getFieldName());
              if (fd != null) {
              BasisFieldType bft = fd.getFieldType();
              //Row header = sb.getTopRow();
              System.out.println("bp 12");
              //Row header = null;
              Row[] header=null;
              //try {
                   //header = sb.getRow("0001211181");
                   //header=sb.getTopRow();
                   header=getItemInstances(sb,"010");
                   if(header==null){
                        System.out.println("is null");
                   }else{
                        System.out.println("not null");
              //} catch (PersistenceException e1) {
                   // TODO Auto-generated catch block
              //     System.out.println("Exception getRow:" +e1.getMessage());
              //     e1.printStackTrace();
              System.out.println("bp 13");
              try {
    //             Integer operator
              if (bft == BasisFieldType.N) {
                   System.out.println("Numeric");
              NumericField nf = header[0].getNumericField(fd);
              if (nf != null) {
              BigInteger ii = new BigInteger(value.toString());
              nf.setValue(ii);
              return true;
              } else {
              return false;
    //             Character operator
              if (bft == BasisFieldType.C) {
                   System.out.println("Character");
              CharacterField cf = header[0].getCharacterField(fd);
              if (cf != null) {
              cf.setValue(value.toString());
              return true;
              } else {
              return false;
    //             Decimal operator
              if (bft == BasisFieldType.P) {
                   System.out.println("Decimal");
              DecimalField df = header[0].getDecimalField(fd);
              System.out.println("bp 1.1");
              if (df != null) {
                   System.out.println("bp 1.2");
              BigDecimal bd = new BigDecimal(value.toString());
              System.out.println("bp 1.3");
              df.setValue(bd);
              System.out.println("bp 1.4");
              return true;
              } else {
                   System.out.println("bp 1.5");
              return false;
    //             Similar operation for time and date operator fields
              if (bft == BasisFieldType.D) {
                   System.out.println("Date");
              DateField df = header[0].getDateField(fd);
              if (df != null) {
              if (value.toString().equals("0")) {
              Date dat = Date.valueOf("0000-00-00");
              df.setValue(dat);
              } else if (!value.toString().equals("")) {
              Date dat = Date.valueOf(value.toString());
              df.setValue(dat);
              } else {
              Calendar cal = Calendar.getInstance();
              java.sql.Date bd =
              new java.sql.Date(cal.getTime().getTime());
              df.setValue(bd);
              return true;
              } else {
              return false;
    //             Similar operation for time and date operator fields
              } catch (SmartSyncException ex) {
              System.out.println(ex.getMessage());
              } catch (PersistenceException e) {
              System.out.println(e.getMessage());
              return false;
    SyncType: T01 Wrapper: GetList,GetDetail,Modify
      <?xml version="1.0" encoding="utf-8" ?>
    - <MeRepApplication schemaVersion="1.1" id="ZCON" version="01">
      <Property name="CLIENT.BUILDNUMBER" />
      <Property name="C_APPLRESOLVE" />
      <Property name="DATA_VISIBLE_SHARED">X</Property>
      <Property name="E_APPLRESOLVE" />
      <Property name="FACADE_C_CLIENT">X</Property>
      <Property name="FACADE_E_CLIENT">X</Property>
      <Property name="HOMEPAGE.INVISIBLE" />
      <Property name="INITVALUE" />
      <Property name="RUNTIME">JSP</Property>
      <Property name="TYPE">APPLICATION</Property>
    - <SyncBO id="ZCON" version="1" type="timedTwoWay" allowCreate="false" allowModify="true" allowDelete="false" reqDirectSync="false" downloadOrder="1">
    - <TopStructure name="TOP">
    - <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
      <Input type="create">false</Input>
      <Input type="modify">false</Input>
      </Field>
    - <Field name="PERSNUMBER" type="N" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <ChildStructure name="010">
    - <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
      <Input type="create">false</Input>
      <Input type="modify">false</Input>
      </Field>
    - <Field name="PERSNUMBER" type="N" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="CITY1" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="CITY2" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="STREET" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="HOUSE_NUM" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="REGION" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
      </ChildStructure>
      </TopStructure>
      </SyncBO>
      </MeRepApplication>
    Message was edited by:
            yzme yzme

    <u>my intention is very simple, i just need to  update a field in a row and update to the middleware so that the backend will reflect the changes. </u>
    >2 if i set the conflict/error handling to application, then i should have to implement some code for it, right ?
    >3) List syncbooutdelta
    <b>SyncKey:0001233035 Action:M SendType:SEND</b>
    doesnt it mean that when i sync , the uploader will pick up this data and do a modification ??
    i have change the metadata like this
    <SyncBO id="ZCON" version="1" type="timedTwoWay" allowCreate="false" allowModify="true" allowDelete="false" reqDirectSync=<b>"true" </b>downloadOrder="1">
    1) i try to sync the application and check the worklist monitor, there is nothing in the inbox ? how come ?
    2)if i test using emulator, i try to modify a value and execute, i am getting the following error.
    <u>
    Header action from mobile="MOD", R/3 action="ADD"
    Return code 1 (DOWNLOADER)
    </u>
    i try to modify not "Add"
    3) I am using Time 2 Way , how to check it is synchronous or asynchronous ? in merep_sbuilder, the default asyn. is checked, meaning async ??
    the type is T01 , ASYNC
    4)
    public void checkInboxConflict(){
              ErrorConflictInbox errorConflictInbox= SmartSyncRuntime.getInstance().getInboxNotifier().getErrorConflictInbox();
              MeIterator iter;
              SyncBoResponse resp;
              try {
              iter= errorConflictInbox.getAllSyncBoResponses();
              while(iter.hasNext()){
              resp= (SyncBoResponse)iter.next();
              String bo=resp.getSyncBoDescriptor().getSyncBoName();//SyncBo Name
              String state=resp.getSyncBoResponseState().toString();
              String res=resp.getResponseType().toString();//Get the SyncBo response type (conflict or ERROR)
              String msg=resp.getText();// This will return the exact message from the server
              System.out.println("bo:" +bo +" state: " +state +" res: " +res +" msg:" +mtext);
              boolean syncStatusComplete= SmartSyncRuntime.getInstance().getInboxNotifier().isSyncStatusComplete();
              System.out.println("syncStatus:" +syncStatusComplete);
              }catch (Exception e) {
              e.printStackTrace();
    <u>bo:ZCON state: INITIAL res: CONFLICT msg:Conflict: R/3 = delete, device = modify
    SyncStatus=true (complete)
    </u>
    5) after that i change my code to this
    while(iter.hasNext()){
      if(resp.getSyncBoResponseState().equals(SyncBoResponseState.INITIAL)){
        String a=resp.getSyncBoResponseState().toString();
        String a1=syncBO.getSyncState().toString();
        resp.acceptClientSyncBo();   //No transaction stated to commit
        resp.delete();
    String b=resp.getSyncBoResponseState().toString();
    String b2=syncBO.getSyncState().toString();
    System.out.println("state1: " +a +"state2: " +b);
    System.out.println("SyncState1: " +a1 +"SyncState2: " +b1);
    <u>state1: INITIAL state2: RESOLVED </u>
    <u>SyncStatus1:QUANRANTINE SyncStatus2: INCONSISTENT</u>
    and i try to sync ...no data in worklist
    6)i try to list out all the delta to be uploaded
    ListAllOutDelta to be upload
    <u>SyncKey:0001233349 Action:I State:99925F8E24DFFE49A4563C5E018E9B61 SendType:SEND
    </u>
    i am modifying the rows, not Insert a new row, the Action:'I' instead of 'M',  pls clarify on this.
    after i sync, i found out that there is 2 record with different syncKey but same primary key and all attributes appear to be same except the attribute that i changing.
    <u>SYNCKEY    PERSNUMBER CITY STREET HOUSENO</u>
    0001230298 000000000  HELL <u>ANG MO KIO</u> 0123456789 (modified record)
    0001230299 000000000  HELL <u>HEAVEN ST</u>  0123456789(old record)
    i check the application and found out that the previous record that i modify have its value changing locally but not updated into the backend, after sync, there is another record downloaded into this application which is the old record before i modify with different syncKey.
    but when i check the backend table, there is only 1 record inside, because i dont implement the 'Create' Bapi.
    does it make sense ?
    7) when i check my client , the data is persisted with modified value , but the changes is not reflected in the server, how come the data in client is not uploaded to the server.
    acceptClientSyncBo will make the client wins how come the data is not get updated in server ?
    Re: Regarding modifying Sync BO
    According to him, can anyone translate the things highlighted below
    for modifying one sync bo instance , there is no need to use createUnlinkedCopy()..
    just use like this..
    sb = dataFacade.getSyncBo(sbd,key);
    SmartSyncTransactionManager transactionManager;
    transactionManager = dataFacade.getSmartSyncTransactionManager();
    transactionManager.beginTransaction();
    setHeaderFieldValue(sb,"PERSNUMBER","9866321467");
    setHeaderFieldValue(sb,"FIRSTNAME","RajaSekhar");
    setHeaderFieldValue(sb,"LASTNAME","Varigonda");
    setHeaderFieldValue(sb,"PROFESSION","Technical Specialist");
    setHeaderFieldValue(sb,"***","MALE");
    setHeaderFieldValue(sb,"BIRTHDAY","1977-09-28");
    setHeaderFieldValue(sb,"HEIGHT","165");
    setHeaderFieldValue(sb,"WEIGHT","75");
    // Commit the transaction
    transactionManager.commit();
    setHeaderFieldValue - can be used to set value in new sync bo instance , or modify the instance.
    <b>
    But one main think here have to consider is , if you have created one Sync Bo instance , not synchronized with back end and u have modified that, then thats just like a creation .So during sync this will call Create Bapi Wrapper.
    </b>
    But after synchronization , is u are modifying that instance , then it is a modification(will call MODIFY Wrapper in back end during synchronization). u must have the right to modify this instance in the client side.
    hope u got it.
    u can debug MI Applications in NWDS.
    refer this blog written by Arun
    /people/arunkumar.ravi/blog/2006/02/22/execute-debug-your-mi-code-from-nwds
    let me know , if u have doubts
    Regards
    Kishor Gopinathan
    pls comment...

  • ADF master-detail master selection not updating detail tables properly

    Hi All,
    I am using JDev version : 11.1.2.0.0
    I created new Fusion Web Application Module. In that module I created a master-detail data model and added them to a page fragment with a query panel. When I run it as a separate module, It works perfectly and Master selection correctly updates detail tables.
    But when I integrate that module to another Fusion Application(Add application jar file to the Master Application libraries), Master-details master selection not updating detail tables properly. This problem occurred sequentially.
    The problem is that.
    After the page load, first selection of the Master Table works correctly and detail tables update correctly.
    But second selection doesn't work, means detail table doesn't get update according to the Master table.
    And again in the third selection works correctly.
    This happens in a sequential manner. I monitor the behavior using Firebug. Observations are as follows,
    When running correctly, Response of the Post Definition is
    <?xml version="1.0" ?> <partial-response><changes><update id="pt1:t1"><![CDATA[<div tabindex="0" id="pt1:t1" class="xpa xpi" _leafColClientIds="['pt1:t1:c1','pt1:t1:c2','pt1:t1:c3','pt1:t1:c4','pt1:t1:c5','pt1:t1:c6','pt1:t1:c7','pt1:t1:c8','pt1:t1:c9','pt1:t1:c10','pt1:t1:c11','pt1:t1:c12','pt1:t1:c13']"><div id="pt1:t1::ch" style="overflow:hidden;position:relative;width:1365px;" _afrColCount="13" class="xz4"><table class="xz6" summary="This table contains column headers corresponding to the data body table below" id="pt1:t1::ch::t" style="position:relative;table-layout:fixed;width:1365px" cellspacing="0"><tr><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th></tr><tr><th id="pt1:t1:c1" _d_index="0" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c1::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">DateFormat</div></th><th id="pt1:t1:c2" _d_index="1" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c2::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">DefinisionId</div></th><th id="pt1:t1:c3" _d_index="2" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c3::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldId</div></th><th id="pt1:t1:c4" _d_index="3" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c4::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldLabel</div></th><th id="pt1:t1:c5" _d_index="4" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c5::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldLength</div></th><th id="pt1:t1:c6" _d_index="5" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c6::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldOffset</div></th><th id="pt1:t1:c7" _d_index="6" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c7::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldOrder</div></th><th id="pt1:t1:c8" _d_index="7" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c8::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldStatus</div></th><th id="pt1:t1:c9" _d_index="8" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c9::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldType</div></th><th id="pt1:t1:c10" _d_index="9" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c10::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldTypeLen</div></th><th id="pt1:t1:c11" _d_index="10" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c11::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">IgnoreField</div></th><th id="pt1:t1:c12" _d_index="11" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c12::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">IsMandatory</div></th><th id="pt1:t1:c13" _d_index="12" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c13::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">RecordType</div></th></tr></table></div><div id="pt1:t1::db" class="xyx" style="position:relative;width:100%;overflow:hidden" _afrColCount="13"></div><div id="pt1:t1::sm" class="xzt" style="position:absolute;display:none"></div><div id="pt1:t1::ri" class="xyz" style="position:absolute;display:none;overflow:hidden"></div><div id="pt1:t1::dataW" style="display:none"></div></div>]]></update><update id="f1::postscript"><![CDATA[<span id="f1::postscript"><span id="f1::postscript:st"><input type="hidden" name="javax.faces.ViewState" value="!-75cc188st"></span></span>]]></update><update id="d1::iconC"><![CDATA[<span id="d1::iconC" style="display:none"><span id="af_table::disclosed-icon"></span><span id="af_table::undisclosed-icon"></span></span>]]></update><update id="javax.faces.ViewState"><![CDATA[!-75cc188st]]></update><eval><![CDATA[AdfPage.PAGE.__handleRichResponseAction('/MillenniumCSD-ViewController-context-root/faces/FileDefinition?_adf.ctrl-state=cmpl0ptfg_7');]]></eval><eval><![CDATA[AdfPage.PAGE.sendStreamingRequest("pt1:t1");]]></eval><extension id="adf-script-library">/MillenniumCSD-ViewController-context-root/afr/partition/gecko/default/opt/dnd-SHERMAN-1147.js</extension><extension id="adf-script-library">/MillenniumCSD-ViewController-context-root/afr/partition/gecko/default/opt/nav-SHERMAN-1147.js</extension><extension id="adf-script-library">/MillenniumCSD-ViewController-context-root/afr/partition/gecko/default/opt/menu-SHERMAN-1147.js</extension><extension id="adf-script-library">/MillenniumCSD-ViewController-context-root/afr/partition/gecko/default/opt/table-SHERMAN-1147.js</extension><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/JarLoaderPages/jquery-1.7.1.min.js');</eval><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/JarLoaderPages/dis_contx.js');</eval><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/js/floating_bar_bottom.js');</eval><eval>if(self.window.name != "MillenniumDepository"){   self.location = "mcsd.html";   }</eval><eval><![CDATA[AdfDhtmlLookAndFeel.addSkinProperties({"af|table-tr-column-scroll-animation-duration":"300","af|table-tr-column-reorder-animation-duration":"600","af|table-tr-hover-highlight-row":"true"});AdfPage.PAGE.addComponents(new AdfRichTable('pt1:t1',{'rowSelection':'single','rowBandingInterval':0,'editingMode':'none','afrSelListener':true}),new AdfRichColumn('pt1:t1:c1',{'sortProperty':'DateFormat','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c2',{'sortProperty':'DefinisionId','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c3',{'sortProperty':'FieldId','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c4',{'sortProperty':'FieldLabel','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c5',{'sortProperty':'FieldLength','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c6',{'sortProperty':'FieldOffset','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c7',{'sortProperty':'FieldOrder','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c8',{'sortProperty':'FieldStatus','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c9',{'sortProperty':'FieldType','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c10',{'sortProperty':'FieldTypeLen','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c11',{'sortProperty':'IgnoreField','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c12',{'sortProperty':'IsMandatory','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c13',{'sortProperty':'RecordType','sortable':true,'minimumWidth':12,'rowHeader':false}));AdfPage.PAGE.__recordSessionTimeout(1800000, 120000, "http://127.0.0.1:7101/MillenniumCSD-ViewController-context-root/faces/FileDefinition");AdfPage.PAGE.__initPollingTimeout(600000);AdfPage.PAGE.clearMessages();AdfPage.PAGE.clearSubtreeMessages('pt1:t1');AdfPage.PAGE.clearSubtreeMessages('pt1:resId1');]]></eval></changes></partial-response>
    When not running correctly, Response of the Post Definition is
    <?xml version="1.0" ?> <partial-response><changes><update id="f1::postscript"><![CDATA[<span id="f1::postscript"><span id="f1::postscript:st"><input type="hidden" name="javax.faces.ViewState" value="!-75cc188st"></span></span>]]></update><update id="javax.faces.ViewState"><![CDATA[!-75cc188st]]></update><eval><![CDATA[AdfPage.PAGE.__handleRichResponseAction('/MillenniumCSD-ViewController-context-root/faces/FileDefinition?_adf.ctrl-state=cmpl0ptfg_7');]]></eval><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/JarLoaderPages/jquery-1.7.1.min.js');</eval><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/JarLoaderPages/dis_contx.js');</eval><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/js/floating_bar_bottom.js');</eval><eval>if(self.window.name != "MillenniumDepository"){   self.location = "mcsd.html";   }</eval><eval><![CDATA[AdfPage.PAGE.__recordSessionTimeout(1800000, 120000, "http://127.0.0.1:7101/MillenniumCSD-ViewController-context-root/faces/FileDefinition");AdfPage.PAGE.__initPollingTimeout(600000);AdfPage.PAGE.clearMessages();AdfPage.PAGE.clearSubtreeMessages('pt1:t1');AdfPage.PAGE.clearSubtreeMessages('pt1:resId1');]]></eval></changes></partial-response>
    I could not figure out what went wrong when integrating to another module.
    Can you please help me to rectify this problem.
    Thanks
    dk

    Hi,
    sound to be an implementation specific issue that is hard to comment on without knowing how to reproduce it. If you have a rerooducible test case based on the Oracle HR schema using JDeveloper 11.1.1.6, zip it up, rename the "zip "extension to "unzip" and sent it to the mail address you find in my OTN profile. If you don't have that test case, explain how this can be reproduced
    Frank

  • Issue with my podcast not updating to subscribers

    Hi,
    I recently took over podcast duties for our podcast.  And around a month before I took over (mid-march)  I began recieving complaints that the podcast wasn't updating to subscribers.  It seems to be mostly from people using the IOS podcast ap.  I am using it myself, and I can search for the podcast and find it, but as a subscriber the podcast will not update automatcially, or aknowledge that a new podcast has been uploaded.  I am aware that it can take a few days to update from my feed, but it still should alert subscribers when a new podcast is uploaded.
    my page https://itunes.apple.com/us/podcast/branches-a-christian-church/id512745759?mt=2
    Thanks in advance for the help!

    Your feed is at http://www.themim.com/podcasts/branches_podcasts.xml
    The latest episode in it is 29 April, and this shows in the Store and when subscribing in iTunes on a Mac, so all this is normal.
    I don't have an iOS device so I'm not in a position to check if there are any problems there. Your server does handle the required 'byte ramge requests' so it ought to work OK, but if it doesn't I can only advise asking in the iPhone forum - everything in the feed seems to be correct.

  • Why is my iMessage app not updating?

    I have used (and LOVE) the iMessage app on my Macbook Pro.  Has worked perfectly, even through iOS7 upgrades, and the Mavericks update, as well.
    However over the past few days, it will not update correctly.  I can send messages from it, but it does not show the incoming messages most of the time.  They come through just fine to my phone and iPad, but not on my Mac...  any thoughts as to why this is occurring?

    Turns out that Feedburner was overruling the code in my XML with their "Smartcast" settings, which I have now disabled. Weird!

  • Error: Can't Add a New Sales Order: -10  Exchange rate not updated,

    Hi,
    I'm trying to add several Sales Orders contained in a XML document, whose root element corresponds to the Sales Person created that XML. Anyway, after I fill a Sales Order Document Object with the info in the XML and try to add it the following error appears: "Exchange rate not updated  [RDR1.U_Desc4][line: 2] , 'USD'" Which is strange because this company handles most of its transactions in MXP Currency. I will post the piece of Code that fills the object hoping it helps:
    For Each xndSalesOrder In xmlSalesOrder.Item("SalesMan").ChildNodes
                    oSalesOrder = Me.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
                    oSalesOrder.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
                    With xndSalesOrder.Item("HEADER")
                        oSalesOrder.CardCode = .Item("Deudor").InnerText
                        oSalesOrder.DocDate = DateTime.Parse(.Item("FechaCont").InnerText, Nothing)
                        oSalesOrder.DocDueDate = DateTime.Parse(.Item("FechaEnt").InnerText, Nothing)
                        oSalesOrder.Comments = .Item("Observaciones").InnerText
                        oSalesOrder.DocRate = 11
                        oSalesOrder.DocCurrency = "MXP"
                        'oSalesOrder.ContactPersonCode = .Item("Contacto").InnerText
                        'User Fields
                        oSalesOrder.UserFields.Fields.Item("U_RefOV").Value = _
                            xndSalesOrder.Attributes.Item(0).InnerText
                        oSalesOrder.UserFields.Fields.Item("U_Referencia2").Value = .Item("Referencia").InnerText
                        oSalesOrder.UserFields.Fields.Item("U_FechaReferencia").Value = _
                            DateTime.Parse(.Item("FechaReferencia").InnerText, Nothing)
                    End With
                    With xndSalesOrder.Item("LINEAS")
                        For Each xndLinea In .ChildNodes
                            If intContLineas >= 1 Then                             oSalesOrder.Lines.Add()
                            End If
                            oSalesOrder.Lines.ItemCode = xndLinea.Item("Articulo").InnerText
                            oSalesOrder.Lines.Quantity = CDbl(xndLinea.Item("Cantidad").InnerText)
                            oSalesOrder.Lines.Price = CDbl(xndLinea.Item("Precio").InnerText)
                            oSalesOrder.Lines.TaxCode = xndLinea.Item("Impuesto").InnerText
                            oSalesOrder.Lines.DiscountPercent = CDbl(xndLinea.Item("DescuentoTotal").InnerText)
                            oSalesOrder.Lines.SalesPersonCode = xmlSalesOrder.Item("SalesMan").Attributes.Item(0).InnerText
                            oSalesOrder.Lines.Currency = "MXP"
                            'User Fields
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Promocion").Value = _
                                xndLinea.Item("AplicaProm").InnerText 'Valores posibles: Si, No
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Desc1").Value = _
                                CInt(xndLinea.Item("Descuento1").InnerText)
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Desc2").Value = _
                                CInt(xndLinea.Item("Descuento2").InnerText)
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Desc3").Value = _
                                CInt(xndLinea.Item("Descuento3").InnerText)
                            'If xndLinea.Item("AplicaProm").InnerText = "Si" Then
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Desc4").Value = _
                                CInt(xndLinea.Item("Descuento4").InnerText) 'This is the UDF that's giving me problems!!!
                            'End If
                            intContLineas += 1
                        Next
                       If oSalesOrder.Add() <> 0 Then
                            Me.Company.GetLastError(intErrorAdd, sErrMsgAdd)
                            If (0 <> intErrorAdd) Then
                                FillLog("Sales Order Error: " & CStr(intErrorAdd) & "," & sErrMsgAdd)
                            End If
                            xmlLogSalesOrder.Item
                        End If
                    End With
                Next
    If you look at the code I've even tried the solution of hardcoding the DocRate and the Currency as seen in a similar post about the DTW.
    Sorry if code is in Spanglish, its quite late around here. I hope you can help me because it's kind of an urgent matter and I can't seem to find a solution for it.
    Other useful data: SAP BO 2005 Patch 4.
    Thanks in advance...
    Alfredo Gargari

    Hi Alfredo,
    Have you tried to add the same salesorder by hand, I think you wil first get a form with exchange rates.
    I think you should add a check to your program to check for an update currency rate (the sbobob function GetCurrencyRate does this for you).
    GetCurrencyRate MethodDescription
    Returns a Recordset object that contains the currency rate for a specified date and currency code.
    See Currency Bobs sample.
    Syntax
    Public Function GetCurrencyRate( _
       ByVal Currency As String, _
       ByVal Date As Date _
    ) As Recordset
    Parameters
    Currency
    Specifies the currency code.
    Date
    Specifies the date for the currency exchange rate.
    Return Type
    A Recordset object that contains one field named CurrencyRate that holds the rate value.
    SAP Business One returns 0 if the system cannot find the exchange rate.
    Regards,
    Ad

Maybe you are looking for

  • Click Thru Destination from Third Part Website Metrics

    Hi, I was interested if anyone has successfully seen metrics for click thru destinations using web advertisements. I can create the campaign schedule (Internet Advertisement) and create the content and get the tracking URL. However, after clicking on

  • Image quality issues - Sony Handycam (MPEG) to iMovie / iDVD

    I have read through dozens of posts but the recommendations vary widely and am hoping I can get some guidance specific to my situation. The image quality I am getting from home movies I edit in iMovie11 and burn to DVD in iDVD are far inferior to the

  • 4:3 and 16:9 anamorphic messed up

    Hi dear all, one of my workers messed up this big time. He spent about 30 hours on this project already, so we are trying to see if we can still save the project. We shot the video with a HDR-FX1 DV 16:9. And captured with anamorphic as well. But whe

  • Word file from java

    i need to draw an arrow in word file ( i mean want to generate word file dynamically). depending upon particular conditions I want to format the word file I'll have to use JNI... with VB or C++?

  • SAP NetWeaver Gateway and JSON Error Handling

    Hello All, I am developing a small test application using Netweaver Gateway to understand the error handling.  I am using Postman to test the Gateway service.  I have developed small RFC FM to read return list of deliveries for a shipment.  The RFC r