Modify journalentry when adding a service A/R Invoice

We are facing the following problem. When we add a service A/R Invoice (by di), the following journalentry is created:
Debit: Debtor account
Credit: Tax and revenue account
This is ok but we also want to add the following lines:
Debit: Costprice account
Credit: Stock account
I don't know how to change the invoice so that this two lines will be added automaticly. So I tried to modify the created journal entry after i added the Invoice.
I can get the journalentry (journalEntry.GetByKey) but i'm not able to add lines. I got the error
"This entry already exists in the following tables (ODBC -2035)"
Can anyone help me with this. I know how to add a jounalentry seperatly but i would like to see it linked to the Invoice.
Thanks,
Erik

Hi Erik,
i think you can't add lines when your JournalEntry was added.
i create always a 2nd one:
i did it always so that i used one of the Reference Fields and/or
an UDF to link the 2nd created Journal Entry to the document.
than you know that they belong together.
lg David

Similar Messages

  • Management Studio Fails when added Integration Services step to SQL Server Agent Job

    Hi,
    I have two new servers I've setup with Windows Server 2012, SQL Server 2012 SP1, Visual Studio 2012 SP4. I've previously been on SQL 2008 and VS 2008 so this is new to me.
    I am finding SSMS is throwing an exception on both machines when i do the following:
    1. Go to SQL Server Agent | Jobs
    2. Create a new Job.
    3. Select Steps and click New Step
    4. Change the job type to SQL Server Integration Services Package.
    Following error occurs:
    TITLE: Microsoft SQL Server Management Studio
    The type initializer for '<Module>' threw an exception. (SqlManagerUI)
    ADDITIONAL INFORMATION:
    The C++ module failed to load.
     (DTEParseMgd)
    Index was outside the bounds of the array. (DTEParseMgd)
    I also find if I take an existing job with SSIS package steps and attempt to edit those steps the same message appears. This issue happens on both my servers as they have been configured almost identically. This doesn't occur when selecting any other job
    type.
    I've also tried installing cumulative update 8 in a hope that this may fix it but with no success.
    As my entire environment is based around SQL Agents running SSIS i'm a little bit concerned, especially since I have some tight deadlines getting these servers running.
    I have found nothing relating to this issue. Any help greatly appreciated.
    Simon
    Below is the detailed error message:
    ===================================
    The type initializer for '<Module>' threw an exception. (SqlManagerUI)
    Program Location:
       at Microsoft.SqlServer.Management.SqlManagerUI.DTSJobSubSystemDefinition.Microsoft.SqlServer.Management.SqlManagerUI.IJobStepPropertiesControl.Load(JobStepData data)
       at Microsoft.SqlServer.Management.SqlManagerUI.JobStepProperties.UpdateJobStep()
       at Microsoft.SqlServer.Management.SqlManagerUI.JobStepProperties.typeList_SelectedIndexChanged(Object sender, EventArgs e)
       at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
       at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
       at System.Windows.Forms.ComboBox.set_SelectedItem(Object value)
       at Microsoft.SqlServer.Management.SqlManagerUI.JobStepProperties.InitializeStepCombo()
       at Microsoft.SqlServer.Management.SqlManagerUI.JobStepProperties.InitializeData()
       at Microsoft.SqlServer.Management.SqlManagerUI.JobStepProperties.OnInitialization()
       at Microsoft.SqlServer.Management.SqlMgmt.ViewSwitcherControlsManager.SetView(Int32 index, TreeNode node)
       at Microsoft.SqlServer.Management.SqlMgmt.ViewSwitcherControlsManager.SelectCurrentNode()
       at Microsoft.SqlServer.Management.SqlMgmt.ViewSwitcherControlsManager.InitializeUI(ViewSwitcherTreeView treeView, ISqlControlCollection viewsHolder, Panel rightPane)
       at Microsoft.SqlServer.Management.SqlMgmt.LaunchForm.InitializeForm(XmlDocument doc, IServiceProvider provider, ISqlControlCollection control)
       at Microsoft.SqlServer.Management.SqlMgmt.LaunchForm..ctor(ISqlControlCollection control, IServiceProvider provider)
       at Microsoft.SqlServer.Management.SqlManagerUI.JobSteps.editJobStep_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.RunDialog(Form form)
       at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
       at System.Windows.Forms.Form.ShowDialog()
       at Microsoft.SqlServer.Management.SqlMgmt.RunningFormsTable.RunningFormsTableImpl.ThreadStarter.StartThread()
    ===================================
    The C++ module failed to load.
     (DTEParseMgd)
    Program Location:
       at <CrtImplementationDetails>.LanguageSupport.Initialize(LanguageSupport* )
       at .cctor()
    ===================================
    Index was outside the bounds of the array. (DTEParseMgd)
    Program Location:
       at _getFiberPtrId()

    Hi,
    I hadn't installed CU3 however as a test i tried installing CU4 and this didn't help. Since my first emails i have more issues that have brought a complete hault to the upgrade project.
    If i double click on a package to run it manually I basically get the same issue. This means i have no way of running any packages except throught VS.
    I've also found that regardless of the order of the software installs it still fails. It's related to SP1 of SQL and SP4 of VS.
    I'm on Server 2012. When install in the following order SQL 2012, SQL SP1, VS2012, BIDS, VS SP4 i have no problem until VS SP4 is installed. If i install VS SP4 then BIDS it also fails at the last step. If i install all the VS and BIDS software first, then
    SQL then SQL SP1 it fails at the SQL SP1 step.
    This means i could actually install everything and either ignore the SQL SP1 or the VS SP4 and i'd be fine however this is not really a solution as i will never be able to patch the software and once live this is very dangerous.
    I am still surprised there is no obvious solution to this. I'm only installing MS software on a fresh box and only installing 5 pieces of software (including the SPs). I would have though if this was an issue others would have come across it too.
    Has anyone else installed all these components and got them working on the same OS. I believe early on in my testing i installed these in Windows Server 2008 and didn't have the issue.
    Regards.
    Simon.

  • Error 800f0922 when adding Print Services

    I have two Windows 2012 R2 servers having the same problem. I removed the Internet Print Service from one of them to troubleshoot a problem and when I try to add it back I get an error that doesn't say very much. (Unable to complete installation. Error 0x800f0922)
    I removed print services from a second non-production machine and have the same errors. I have run SFC checks as well as DISM health checks and there are no reported errors on either system. 
    Any guidance would be appreciated.
    Update: I was able to get Print Services to reinstall by installing it separately from Internet Printing. Internet Printing still will not install.

    Hi,
    Regarding your description, I did a test on my Windows Server 2012 R2 environment.
    I removed the internet printing service through the add roles and features function and then reinstalled the internet printing service back successfully.
    Besides, I also removed the print services feature and then reinstalled it back with internet printing service installed. However, I didn’t receive any error on the above 2 tests.
    So I’d like to suggest you to reboot the server and then have a try. If you still got errors, can you please check the event log, and send us the event log. In that way we can do a further investigate.
    Best Regards,
    Eliane
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Testing failed when adding Web Service by OmniPortlet

    I am using Portal of 10gAS. In "Define your OmniPortlet", I selected "Web Service" as the data type. After I typed in the WSDL URL and selected a method, I clicked on Test button under the setion "Enter values for the method parameters". But I got error saying login failed. What's the account it tries to login? How can I fix it?
    The error varys, depending on which Method is selected from the list:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Web Service: Test Result
    Error
    Call to Web Service Failed. [SOAP-ENV:Server : java.sql.SQLException: ORA-01017: invalid username/password; logon denied at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:188)]
    ~~~~ or ~~~~~~~~~~~~~~~~~~~~~~~~~`
    <ns1:getEmpXMLResponse xmlns:ns1="oracle.otn.ws.scott.OTNDeptEmp" SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <return>
    <ERROR>
    oracle.xml.sql.OracleXMLSQLException: ORA-01017: invalid username/password; logon denied
    </ERROR>
    </return>
    </ns1:getEmpXMLResponse>

    Hi,
    I beleive you are using the WebService
    http://otn.oracle.com/ws/oracle.otn.ws.scott.OTNDeptEmp?WSDL
    The error message displayed is what the web server
    is returning. Web server may encounter exceptions while executing any method.
    As a web service client, OmniPortlet will display the error messages returned
    by the web server.
    You can try a differrent WebService , it seems to be the issue with WebService
    Thanks
    Vineet

  • Error when adding new service invoice with DI Server, error -1114

    <b>Hi everybody.
    I'm trying to add an serviceinvoice (DocType = 'Service Transaction') with DI Server AddObject method.
    The xml-request document looks like this:</b>
    <?xml version='1.0' encoding='UTF-16' ?>
    <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
    <env:Header>
    <SessionID>........</SessionID>
    </env:Header>
    <env:Body>
    <dis:AddObject xmlns:dis='http://www.sap.com/SBO/DIS'>
    <BOM>
    <BO>
    <AdmInfo>
    <Object>oInvoices</Object>
    </AdmInfo>
    <Documents>
    <row>
    <DocNum>1241</DocNum>
    <HandWritten>1</HandWritten>
    <DocDate>10/08/2005</DocDate>
    <DocDueDate>10/08/2005</DocDueDate>
    <CardCode>V1010</CardCode>
    <DocType>S</DocType>
    </row>
    </Documents>
    <Document_Lines>
    <row>
    <Currency>USD</Currency>
    <LineTotal>7500,00</LineTotal>
    <AccountCode>_SYS00000000001</AccountCode>
    <TaxCode>LA</TaxCode>
    </row>
    <row>
    <Currency>USD</Currency>
    <LineTotal>-7500,00</LineTotal>
    <TaxCode>LA</TaxCode>
    </row>
    </Document_Lines>
    </BO>
    </BOM>
    </dis:AddObject>
    </env:Body>
    </env:Envelope>
    <b>...But I get error eveytime I try to do it, the response document as follows:</b>
    <?xml version="1.0"?>
    <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
    <env:Body>
    <env:Fault>
    <env:Code>
    <env:Value>env:Receiver</env:Value>
    <env:Subcode>
    <env:Value>-1114</env:Value>
    </env:Subcode>
    </env:Code>
    <env:Reason>
    <env:Text xml:lang="en">Schema Validation Failed</env:Text>
    </env:Reason>
    <env:Detail>
    <ErrorList>
    <Error>System Id = 193271344, Line Number = 1, Column Number = 359, Description = Datatype error: Type:InvalidDatatypeFacetException, Message: Invalid chars encountered..</Error><Error>System Id = 193271344, Line Number = 1, Column Number = 488, Description = Datatype error: Type:InvalidDatatypeFacetException, Message: Invalid chars encountered..</Error>
    </ErrorList>
    <Object>13</Object>
    <ObjectIndex>1</ObjectIndex>
    <Command>AddObject</Command>
    <SessionID>............</SessionID>
    </env:Detail>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    <b>Why? Which fields are missing or which field values of those I'm sending might be wrong?</b>

    Did you try to set the AccountCode also for the 2nd line?
    HTH,
    Frank

  • Error While Adding Service A\P Invoice

    Hi Expert,
    I am getting an Error while adding the service A\P invoice The error is:
    System.NullRefernce Exception :- Object Reference not set to an instance of an object. At CXS_TDS_BAL.clsAPInvoice
    I also Restarted my  TDS Addon but still getting same error
    Thanks & Regards,
    Pankaj Sharma

    Hi Pankaj Sharma,
    Your question belongs to Add-on forum.  Check it there to see if there are similar issues solved or not.  If not, post it there.
    Thanks,
    Gordon

  • How to Specify Metadata When Adding Content Using iTunes U Web Service?

    I've been developing Java applications using iTunes U Web service and uploaded content to iTunes U site using iTunes U Web service without problem. Now I want to add metadata fields (name, artist name, album name, etc.) for the tracks I uploaded. It seems to me that "AddTrack" will do. So I tested it but it neither adds a track under the specified group nor updates metadata fields for an existing track. It turned out "MergeTrack" actually updates metadata fields for an existing track. So is there any way to specify metadata at the time of adding content using iTunes U Web service? And what exactly does AddTrack do? This is all about contents hosted by iTunes U site and no RSS is involved.
    I'm referring to the "AddTrack" method in iTunes U Web service:
    http://deimos.apple.com/rsrc/doc/iTunesUAdministrationGuide/iTunesUWebServices/c hapter18_section_21.html#//appleref/doc/uid/AdminGuide-CH13-SW26

    Thanks for all the replies. My question is whether there is any way to specify metadata WHEN adding content using iTunes U Web service. Specifying metadata AFTER adding content can be achieved by MergeTrack (weird naming) and it does work.
    As for setting track level meta-data in the media file and then upload it, there're several reasons against that, among which are:
    1. Some track metadata are context-dependent. A video about buildings on Michigan Ave in Chicago can be track #2 in a history course and described as "historic view of the Magnificent Mile", but the same media can also be track #5 in a landscape design course and described as something like "contemporary architecture". Setting these metadata in the media file itself is not the preferred way to do it since it implies maintaining a version of the same media for any course/group it gets uploaded to.
    2. Setting metadata in a location separate from the media file helps track the metadata change and search for media without digging into the media itself.
    3. If MergeTrack "updates" metadata, there got to be some other method that "creates" metadata - that's what a well-designed API should look like. And setting metadata in the media file is not an equivalent to a "create metadata" method call. In rickwolf's term, that implicit AddTrack should actually be made explicit so the party uploading content can explicitly specify metadata instead of having iTunes U extract metadata from the media.
    It is still not clear what "AddTrack" does exactly, maybe rickwolf is right - it's only relevant to tracks created through RSS.
    So it seems to me there is no other way to specify metadata WHEN adding content using iTunes U Web service than setting metadata in the media file. To me it is more like a design flaw.
    Message was edited by: Stone Xiang
    Message was edited by: Stone Xiang
    Message was edited by: Stone Xiang

  • I am currently in Cameroon, Africa and after arriving here, I added Global services to my plan in hopes to be able to use my phone to call local numbers.  When I dial local numbers in Cameroon, with or without the country code, the call fails.  I suspect

    I am currently in Cameroon, Africa and after arriving here, I added Global services to my plan in hopes to be able to use my phone to call local numbers.  When I dial local numbers in Cameroon, with or without the country code, the call fails.  I suspect it may be that the phone is 3G and this area only supports 2G.  Help!

    cctga,
    We appreciate you taking the time to reach out to us. I am sorry to hear that you are having trouble while traveling. We definitely want to make sure you have all available options. Normally when traveling internationally we reccommend setting up international services prior to leaving. When you added the services did you do so online or with a rep? It would be best to contact our global department in order to troubleshoot any and all issues with services while international http://vz.to/17KseUf.
    Thank you,
    TonyG_VZW
    Follow us on Twitter @VZWSupport

  • TableAdapter Configuration Wizard gives error when adding new TableAdapter

    Hi,
    I recently downloaded and installed the ODT for visual studio on my computer. I am running VS2008 on Windows 7 64-bit. I am able to create an ODP.NET connection to the Oracle XE 10.2g instance that is running on my computer with no problems and use that connection to browse the database. When I add a DataSet to my project, and start adding TableAdapters to the DataSet, I am getting errors. In an attempt to figure out what the problem is, I have followed various scenarios. I will describe each scenario, and what the end result is, and then after I have described them all, I will explain what I think the problem might be. Here are the different scenarios I have used:
    Scenario 1:
    From the Server Explorer, highlight ALL of the tables in my schema and drag them to the designer (all table adapters are added with no issues). I can add additional queries to each of the TableAdapters and then change the additional queries by right clicking and choosing "Configure". This all works with no issues. However, on certain TableAdapters, if I try to modify the primary query (Fill,GetData()), I can open the query editor just fine, change various settings, etc, but when I click on "Finish" I get the following error:
    Configure TableAdapter TABLENAME failed.
    Index was outside the bounds of the array.
    Scenario 2:
    From the Server Explorer, drag tables from my schema onto the designer one at a time. Some tables get added just fine, but for the rest of them, I get the following error:
    Failed to merge object(s).
    Index was outside the bounds of the array.
    Scenario 3:
    On the Dataset Designer, add tables one at a time by right clicking and choosing "Add -> TableAdapter" and then using SQL to define the query for each table. Some tables get added just fine, but for the rest of them, I get the following error:
    Failed to add TableAdapter.
    Index was outside the bounds of the array.
    Ok... now that I have described all of the different scenarios, I will explain what I think the problem is, and why. Based on my research, I believe the underlying problem has to do with Foreign Key Constraints on the various tables. While working on Scenarios 2 & 3, the same exact tables worked just fine in both scenarios. When I started looking at the definitions for the tables in my schema, it turns out that all of the tables that failed had foreign key constraints defined. When I remove the FK constraints from a table, I am then able to add it to my dataset and change the default query with no problems. My original application used the System.Data.OracleClient provided by Microsoft. When adding my tableadapters using the microsoft data provider, the FK relations are automatically generated for me in the designer, but not with the Oracle Data Provider
    I would be happy to provide you with the DDL that I used for creating my schema (it is not very big) if needed.
    Thanks,
    Jim

    Sorry let me clarify some of the config a little more.
    MAIL101 - Exch 2013
    MAIL102 - Exch 2013
    AP104 - Witness (strictly a witness nothing else on this machine)
    EDGE01 - Exch 2007 Edge
    CAS01 - Exch 2007 Hub/CAS load balancer for CAS02/03
    CAS02 - Exch 2007 Hub/CAS
    CAS03 - Exch 2007 Hub/CAS
    MBOX01 - Exch 2007 Mail cluster
    MBOX02 - Exch 2007 Mail cluster node
    MBOX03 - Exch 2007 Mail cluster node
    RDC01, RDC02, RDC03 - all 2008 R2 root domain controllers for rootdomain.rootdomain
    DC01, DC02, DC03, DC04 - all 2008 R2 domain controllers for us.rootdomain.rootdomain
    All DCs are Global Catalogs.
    I can ping all DCs and root DCs fromboth MAIL101 and 102
    The Exchange Replication service is running on both MAIL101 and 102.
    DC03 is in the same site as the MAIL101/102 servers so I'll run all replication tests from here.
    DCDIAG comes back with all tests passed.
    repadmin /replsum comes back with 0 fails and no errors largest delta for any intersite communication is 13min.
    When I run Test-ReplicationHealth -Identity MAIL101 and also 102 they both come back as everything passed.  No errors.

  • [svn] 3780: Fix for bug introduced yesterday when adding clipContent to FxContainer and FxDataContainer .

    Revision: 3780
    Author: [email protected]
    Date: 2008-10-21 10:51:40 -0700 (Tue, 21 Oct 2008)
    Log Message:
    Fix for bug introduced yesterday when adding clipContent to FxContainer and FxDataContainer. The default value needs to be true.
    Also fixing a bug in SystemManager since application isn't always an IRawChildrenContainer anymore. This was previously fixed and got clobbered in a merge.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-17423, SDK-17697
    Reviewer: Hans
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17423
    http://bugs.adobe.com/jira/browse/SDK-17697
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as

    The network admin solved the problem:
    “When I recreated the User Profile Service, I did not enable “NetBIOS Name” on the service, so all user accounts did not have the proper domain, which is why none of the targeting worked.
    All users were listed as corp\username instead of rcd\username.”, Network Admin.
    Further information: http://www.windowsclever.com/sharepoint/netbios-name-is-different-domain-name-user-profie-service-sharepoint-2010.html

  • Coredump when adding new data to a document

    Hi,
    I have managed to get a coredump when adding data to a document,
    initially using the Python API but I can reproduce it with a dbxml script.
    I am using dbxml-2.2.13 on RedHat WS 4.0.
    My original application reads XML data from files, and adds them
    one at a time to a DbXML document using XmlModify.addAppendStep
    and XmlModify.execute. At a particular document (call it "GLU.xml") it
    segfaults during the XmlModify.execute call. It is not malformed data in
    the file, because if I remove some files that are loaded at an earlier stage,
    GLU.xml is loaded quite happily and the segfault happens later. Changing
    my application so that it exits just before reading GLU.xml, and loading GLU.xml's
    data into the container file using the dbxml shell's "append" command produces
    the same segfault. The stacktrace is below. Steps #0 to #7 inclusive are the
    same as the stacktrace I got when using the Python API.
    Can anyone give me any suggestions? I could send the dbxml container file and
    dbxml script to anyone who would be prepared to take a look at this problem.
    Regards,
    Peter.
    #0  ~NsEventGenerator (this=0x9ea32f8) at NsEventGenerator.cpp:110
    110                     _freeList = cur->freeNext;
    (gdb) where
    #0  ~NsEventGenerator (this=0x9ea32f8) at NsEventGenerator.cpp:110
    #1  0x009cacef in DbXml::NsPullToPushConverter8::~NsPullToPushConverter8$delete ()
        at /scratch_bernoulli/pkeller/dbxml-2.2.13/install/include/xercesc/framework/XMLRefInfo.hpp:144
    #2  0x00a5d03c in DbXml::NsDocumentDatabase::updateContentAndIndex (this=0x96b7a60,
        new_document=@0x96e3608, context=@0x96a3fc8, stash=@0x96a4098) at ../scoped_ptr.hpp:44
    #3  0x009a71b1 in DbXml::Container::updateDocument (this=0x96a71d0, txn=0x0, new_document=@0x96e3608,
        context=@0x96a3fc8) at shared_ptr.hpp:72
    #4  0x009b8465 in UpdateDocumentFunctor::method (this=0xb7d3a008, container=@0x96a71d0, txn=0x0, flags=0)
        at TransactedContainer.cpp:167
    #5  0x009b70c5 in DbXml::TransactedContainer::transactedMethod (this=0x96a71d0, txn=0x0, flags=0,
        f=@0xbff66500) at TransactedContainer.cpp:217
    #6  0x009b71e4 in DbXml::TransactedContainer::updateDocument (this=0x96a71d0, txn=0x0,
        document=@0x96e3608, context=@0x96a3fc8) at TransactedContainer.cpp:164
    #7  0x009d7616 in DbXml::Modify::updateDocument (this=0x96c1748, txn=0x0, document=@0xbff665b0,
        context=@0xbff669dc, uc=@0xbff669e4)
        at /scratch_bernoulli/pkeller/dbxml-2.2.13/dbxml/build_unix/../dist/../include/dbxml/XmlDocument.hpp:72
    #8  0x009d9c18 in DbXml::Modify::execute (this=0x96c1748, txn=0x0, toModify=@0x96a7280,
        context=@0xbff669dc, uc=@0xbff669e4) at Modify.cpp:743
    #9  0x009c1c35 in DbXml::XmlModify::execute (this=0xbff666c0, toModify=@0x96a7280, context=@0xbff669dc,
        uc=@0xbff669e4) at XmlModify.cpp:128
    #10 0x08066bda in CommandException::~CommandException ()
    #11 0x0805f64e in CommandException::~CommandException ()
    #12 0x08050c82 in ?? ()
    #13 0x00705de3 in __libc_start_main () from /lib/tls/libc.so.6
    #14 0x0804fccd in ?? ()
    Current language:  auto; currently c++

    Hi George,
    I can get the coredump with the following XML data (cut down from its original
    size of around 900Kb):
    <file name="GLU.xml">
    <_StorageUnit time="Wed Apr  5 11:06:49 2006" release="1.0.212"
    packageName="ccp.ChemComp" root="tempData" originator="CCPN Python XmlIO">
    <parent>
      <key1 tag="molType">protein</key1>
      <key2 tag="ccpCode">GLU</key2>
    </parent>
    <StdChemComp ID="1" code1Letter="E" stdChemCompCode="GLU" molType="protein" ccpCode="GLU" code3Letter="GLU" msdCode="GLU_LFOH" cifCode="GLU" merckCode="12,4477">
      <name>GLUTAMIC ACID</name>
      <commonNames>L-glutamic acid</commonNames>
    </_StorageUnit>
    <!--End of Memops Data-->
    </file>This happens when the data from 106 other files have been inserted beforehand
    (ranging in size from 1Kb to 140Kb). If I manipulate the order so that the above data
    is loaded earlier in the sequence, it inserts fine and I get the coredump when
    loading data from a different file.
    The actual XmlModify calls look something like:
      qry = mgr.prepare("/datapkg/dir[@name='dir1']/dir[@name='dir2']", qc)
      mdfy.addAppendStep(qry, XmlModify.Element, "",
                         '<file name='" + fileName + '">' +
                          data[pos:] + "</file>")
      mdfy.execute(XmlValue(doc), qc, uc)where data[pos:] points to the location in the mmap-ed file containing the
    above data just after the <?xml ...?> header.
    If you want to try to reproduce the crash at your end there are a couple of ways
    we could do it. I have just figured out that this forum software doesn't let me
    upload files or reveal my e-mail address in my profile, but you can contact me with
    username: pkeller; domain name: globalphasing.com and I can send the
    data to you.
    Regards,
    Peter.

  • Adding a Service to CAF Tile

    I've followed the steps in the docs and even looked at the StockData example provided but cannot seem to get it working. I get the following error:
    Before resolve: http://localhost:4502/content/mosaic/catalogs/Historian/tiles/SnapshotTile/SnapshotTile.sw f
    Before resolve: http://localhost:4502/content/mosaic/catalogs/Historian/services/HistorianService/theHisto rianService.gxml
    Created url: http://localhost:4502/content/mosaic/catalogs/Historian/interfaces/HistorianInterfaceLibra ry/HistorianInterfaceLibrary.swf
    Before resolve: http://localhost:4502/content/mosaic/catalogs/Historian/tiles/SnapshotTile/SnapshotTile.sw f
    Before resolve: http://localhost:4502/content/mosaic/catalogs/Historian/tiles/SnapshotTile/SnapshotTile.sw f
    [SWF] /content/mosaic/catalogs/Historian/interfaces/HistorianInterfaceLibrary/HistorianInterfac eLibrary.swf - 2,497 bytes after decompression
    Failure in Loader: Error: Error #2036: Load Never Completed. URL: http://localhost:4502/Historian/interfaces/HistorianInterfaceLibrary/HistorianInterfaceLib rary.swf
    Failure in Loader: Error: Error #2036: Load Never Completed. URL: http://localhost:4502/Historian/interfaces/HistorianInterfaceLibrary/HistorianInterfaceLib rary.swf
    Below is the code as well as the configuration files:
    IHistorianService.as
    package cafe.historian.services
              import mx.collections.IList;
              [Expose]
              public interface IHistorianService
                        function getSnapshots(userid:String):IList;
    HistorianService.as
    package cafe.historian.services.impl
              import cafe.historian.services.IHistorianService;
              import mx.collections.ArrayCollection;
              import mx.collections.IList;
              [Expose(catalog="Historian", library="HistorianInterfaceLibrary", scope="singleton")]
              public class HistorianService implements IHistorianService
                        public function HistorianService()
                        public function getSnapshots(userid:String):IList{
                                  var test:ArrayCollection = new ArrayCollection();
                                  test.addItem("one");
                                  test.addItem("two");
                                  return test;
    Historian.axml
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!-- Copyright 2011 Adobe Systems Incorporated. All rights reserved. The original
    version of this material may be obtained from Adobe Systems Incorporated. -->
    <app:Application xmlns:app="http://ns.adobe.com/Mosaic/Application/1.0/" xmlns:catalog="http://ns.adobe.com/Mosaic/Catalog/1.0/" xmlns:ct="http://ns.adobe.com/Mosaic/CommonTypes/1.0/" xmlns:tile="http://ns.adobe.com/Mosaic/Tile/1.0/" xmlns:view="http://ns.adobe.com/Mosaic/View/1.0/" label="EMS Historian" name="Historian">
        <ct:Metadata>
            <ct:Description/>
        </ct:Metadata>
        <!-- Specifies a default panel or view to use when a user adds a new panel or
        view to the composite application (if permitted). Specify a default directly,
        or reference one from a composite application catalog. Referenced default
        panels and views override the composite application defaults. Note: You can
        specify only one panel and view in the app:Defaults section, but you can
        specify any number of catalog:CatalogReference children. -->
        <app:Defaults>
            <view:Panels>
                <view:Panel allowContentDelete="true" height="100%" label="Default Panel" tileChrome="full" width="100%">
                    <view:Layout name="HorizontalLayout" numColumns="2"/>
                </view:Panel>
            </view:Panels>
        </app:Defaults>
        <!-- Provide a global context containing values for use across entire
        application.
        <ct:Context>
            <ct:Data key="myApplicationContext" type="string" value="default value" />
        </ct:Context>
        -->
        <!-- A named context is useful for partition of a set of context values
        to a subsection of the application.
        <app:NamedContexts>
            <ct:Context name="basictypes">
                <ct:Data key="aSimpleString" type="string" value="sample string"/>
                <ct:Data key="aBoolean" type="boolean" value="true"/>
                <ct:Data key="anInteger" type="number" value="2011"/>
                <ct:Data key="aDate" type="date" value="2011-11-01T19:00:00-05:00"/>
                <ct:Data key="aNull" type="null" />
            </ct:Context>
        </app:NamedContexts>
        -->
        <!-- Specifies the runtime content for a composite application. The order of
        the elements affects the appearance in the application user interface. You
        can specify only one app:Shell or app:ShellReference element as a child of
        app:Application. -->
        <app:Shell label="Sample Shell" name="SampleShell"><!-- ShellStyle -->
            <!-- Specifies a reference to a composite application catalog. Catalogs
            contain composite application assets. The name attribute creates a
            shorthand reference to the catalog, which is stored on the Experience
            Server. -->
            <catalog:CatalogReference name="${catalog}" uri="${catalog}"/>
            <!-- Specifies a container to display views in the application user
            interface. The order of elements affects the appearance of the user
            interface. You can include only one view:ViewManager element as a child
            of the app:Shell element. The default skin for the view:ViewManager
            element provides a set of tab buttons to switch between views in the
            application, as well as an Add button, and an option menu. -->
            <view:ViewManager height="100%" width="100%">
                <view:View name="Research"
                                              height="100%" width="100%"
                                              label="Research"
                                              allowContentDelete="false">
                    <view:Panel allowContentDelete="false"
                                                  label="Analysis"
                                                  height="100%" width="100%"
                                                  styleName="PanelInShellStyle" ><!-- FullPanelTileStyle -->
                     <view:Layout name="HorizontalLayout"/> 
                        <tile:TileReference catalog="${catalog}"
                                      name="ResearchTile" optional="false" width="100%" height="100%" /><!-- TileStyle -->
                    </view:Panel>
                </view:View>
                <view:View label="Snapshots" height="100%" width="100%">
                          <view:Panel allowContentDelete="false"
                                                  label="Snapshots"
                                                  height="100%" width="100%"
                                                  styleName="PanelInShellStyle" >
                     <view:Layout name="HorizontalLayout"/> 
                     <tile:TileReference catalog="${catalog}"
                            name="SnapshotTile" optional="false" width="100%" height="100%">
                            <tile:Properties>
                                      <tile:Property name="historianService">
                                                <tile:ServiceReference catalog="${catalog}" library="HistorianService" name="theHistorianService"></tile:ServiceReference>
                                      </tile:Property>
                            </tile:Properties>
                     </tile:TileReference>
                          </view:Panel>
                </view:View>
                <view:View label="Views" height="100%" width="100%">
                          <view:Panel allowContentDelete="false"
                                                  label="Views"
                                                  height="100%" width="100%"
                                                  styleName="PanelInShellStyle" >
                     <view:Layout name="HorizontalLayout"/> 
                     <tile:TileReference catalog="${catalog}"
                            name="ViewsTile" optional="false" width="100%" height="100%"/>
                          </view:Panel>
                </view:View>
                <view:View label="Reports" height="100%" width="100%">
                          <view:Panel allowContentDelete="false"
                                                  label="Reports"
                                                  height="100%" width="100%"
                                                  styleName="PanelInShellStyle" >
                     <view:Layout name="HorizontalLayout"/> 
                     <tile:TileReference catalog="${catalog}"
                            name="ReportsTile" optional="false" width="100%" height="100%"/>
                          </view:Panel>
                </view:View>
                <view:View label="Admin" height="100%" width="100%">
                          <view:Panel allowContentDelete="false"
                                                  label="Admin"
                                                  height="100%" width="100%"
                                                  styleName="PanelInShellStyle" >
                     <view:Layout name="HorizontalLayout"/> 
                     <tile:TileReference catalog="${catalog}"
                            name="AdminTile" optional="false" width="100%" height="100%"/>
                          </view:Panel>
                </view:View>
            </view:ViewManager>
        </app:Shell>
    </app:Application>
    Historian.cxml
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <catalog:Catalog xmlns:catalog="http://ns.adobe.com/Mosaic/Catalog/1.0/" xmlns:ct="http://ns.adobe.com/Mosaic/CommonTypes/1.0/" xmlns:tile="http://ns.adobe.com/Mosaic/Tile/1.0/" xmlns:view="http://ns.adobe.com/Mosaic/View/1.0/" label="EMS Historian" name="Historian">
        <!-- Identifying description for this catalog. -->
        <ct:Metadata>
            <ct:Description>All content for the EMS Historian</ct:Description>
        </ct:Metadata>
        <!-- Specifies a list of tiles (tile:TileClass elements) contained within
        this catalog.  -->
        <tile:TileClassList>
                <!--  Remove the commenting from this tile:TileClass element to
                include a reference to a tile in this catalog. Within a tile:TileClass
                element, a tile:Content child element specifies tile content using the
                following attributes:
                    uri: A reference, either to absolute or relative, to the content's
                    location on a server.
                    contentType: The MIME type for the tile's content. For Flex tiles,
                    specify "application/x-shockwave-flash", and for HTML tiles
                    specify "text/html".
                    loadAs: For Flex tiles, if this value is "module", at run time the
                    tile loads as a Flex module. If the value is "default" or omitted,
                    at runtime the Flex tile loads as a SWF application. 
                    IMPORTANT: You must compile module tiles using one of the Flex SDKs
                    included in the Adobe Experience Services Tooling for Flash Builder
                    installation. Flex modules are similar to Flash Runtime Shared
                    Libraries (RSLs) in that they separate code from an application
                    into separately loaded SWFs. For more information on modular
                    applications, see "Modular applications overview" in the Flex
                    Developer's Guide.
            <tile:TileClass
                name="SampleTile"
                label="Sample Tile"
                width="600" height="400"
                fitContent="true">
                <ct:Metadata>
                    <ct:Description>sample description</ct:Description>
                </ct:Metadata>
                <tile:Content
                    uri="${catalogURL}/tiles/SampleTile/SampleTile.swf"
                    contentType="application/x-shockwave-flash"
                    loadAs="default" />
            </tile:TileClass>
            -->
                        <tile:TileClass fitContent="true" height="100%" label="ResearchTile" loadPolicy="auto" name="ResearchTile" width="100%">
                <ct:Metadata>
                    <ct:Description/>
                </ct:Metadata>
                                  <tile:Content contentType="application/x-shockwave-flash" loadAs="default" uri="${catalogURL}/tiles/ResearchTile/ResearchTile.swf"/>
                        </tile:TileClass>
                        <tile:TileClass fitContent="true" height="300" label="ViewsTile" loadPolicy="auto" name="ViewsTile" width="600">
                <ct:Metadata>
                    <ct:Description/>
                </ct:Metadata>
                                  <tile:Content contentType="application/x-shockwave-flash" loadAs="default" uri="${catalogURL}/tiles/ViewsTile/ViewsTile.swf"/>
                        </tile:TileClass>
                        <tile:TileClass fitContent="true" height="300" label="SnapshotTile" loadPolicy="auto" name="SnapshotTile" width="600">
                <ct:Metadata>
                    <ct:Description/>
                </ct:Metadata>
                <tile:Depends>
                          <tile:Interface interfaceName="cafe.historian.services.IHistorianService" library="HistorianInterfaceLibrary"/>
                </tile:Depends>
                <tile:Properties>
                          <tile:Property name="historianService" type="cafe.historian.services.IHistorianService"/>
                </tile:Properties>
                                  <tile:Content contentType="application/x-shockwave-flash" loadAs="default" uri="${catalogURL}/tiles/SnapshotTile/SnapshotTile.swf"/>
                        </tile:TileClass>
                        <tile:TileClass fitContent="true" height="300" label="ReportsTile" loadPolicy="auto" name="ReportsTile" width="600">
                <ct:Metadata>
                    <ct:Description/>
                </ct:Metadata>
                                  <tile:Content contentType="application/x-shockwave-flash" loadAs="default" uri="${catalogURL}/tiles/ReportsTile/ReportsTile.swf"/>
                        </tile:TileClass>
                        <tile:TileClass fitContent="true" height="300" label="cafe.historian.tiles.admin.AdminTile" loadPolicy="auto" name="AdminTile" width="600">
                <ct:Metadata>
                    <ct:Description/>
                </ct:Metadata>
                                  <tile:Content contentType="application/x-shockwave-flash" loadAs="default" uri="${catalogURL}/tiles/AdminTile/AdminTile.swf"/>
                        </tile:TileClass>
              </tile:TileClassList>   
        <!-- Specifies a list of interface libraries (tile:InterfaceLibrary elements)
        contained within this catalog -->
        <tile:InterfaceLibraryList>
            <!--  Remove the commenting from this tile:InterfaceLibrary element to
            include a reference to an interface library in this catalog. Within a
            tile:InterfaceLibrary element, a tile:InterfaceList child element
            specifies a list of interfaces (tile:Interface elements) to include
            in the catalog. For each tile:Interface element, specify the interface
            class using the following attribute:
                interfaceName: A fully-qualified package and class reference to class
                that defines a service interface.
            <tile:InterfaceLibrary name="SampleInterfaceLibrary">
                <ct:Metadata>
                    <ct:Description/>
                </ct:Metadata>
                 <tile:InterfaceList>                 
                    <tile:Interface interfaceName="com.adobe.adep.samples.services.sampleservice.ISampleService"/>                
                 </tile:InterfaceList>
             </tile:InterfaceLibrary>
             -->        
                   <tile:InterfaceLibrary name="HistorianInterfaceLibrary">
                <ct:Metadata>
                    <ct:Description/>
                </ct:Metadata>
                      <tile:InterfaceList>
                    <tile:Interface interfaceName="cafe.historian.services.IHistorianService"/>
                </tile:InterfaceList>
            </tile:InterfaceLibrary>
        </tile:InterfaceLibraryList>   
        <!-- Specifies a list of service libraries (tile:ServiceLibrary elements)
        contained within this catalog. -->
         <tile:ServiceLibraryList>
              <!--  Remove the commenting from this tile:ServiceLibrary element to
              include a reference to a service library in this catalog. Within a
              tile:ServiceLibrary element, a tile:ServiceClassList child element
              specifies a list of service classes (tile:SeviceClass elements) to
              include in the catalog. For each tile:ServiceClass element, specify a
              service using the following attributes of the tile:Content child
              element:
                  uri: A reference, either to absolute or relative, to the content's
                  location on a server.
                  contentType: The MIME type for the tile's content. For service
                  libraries specify "application/xml".
              <tile:ServiceLibrary name="SampleService">
                <ct:Metadata>
                    <ct:Description/>
                 </ct:Metadata>
                 <tile:ServiceClassList>                
                    <tile:ServiceClass name="SampleService">
                        <tile:Content
                        uri="${catalogURL}/services/SampleService/SampleService-com-adobe-adep-samples-services-s ampleservice-impl.gxml"
                        contentType="application/xml"/>
                    </tile:ServiceClass>               
                 </tile:ServiceClassList>            
             </tile:ServiceLibrary>        
             -->
                        <tile:ServiceLibrary name="HistorianService">
                <ct:Metadata>
                    <ct:Description/>
                </ct:Metadata>
                      <tile:ServiceClassList>
                    <tile:ServiceClass className="cafe.historian.services.impl.HistorianService" name="theHistorianService" scope="singleton">
                    <tile:Implements>
                              <tile:Interface interfaceName="cafe.historian.services.IHistorianService" library="HistorianInterfaceLibrary"/>
                    </tile:Implements>
                    <tile:Content contentType="application/xml" uri="${catalogURL}/services/HistorianService/theHistorianService.gxml"/>
                    </tile:ServiceClass>
                          <tile:ServiceClass name="HistorianService">
                        <tile:Content contentType="application/xml" uri="${catalogURL}/services/HistorianService/HistorianService-cafe-historian-services-imp l.gxml"/>
                    </tile:ServiceClass>
                </tile:ServiceClassList>
            </tile:ServiceLibrary>
        </tile:ServiceLibraryList>
        <!-- Specifies a list of style sheets (view:StylesheetClass elements) contained
        within this catalog -->
        <view:StylesheetClassList>
            <!--  Remove the commenting from this view:StylesheetClass element to
            include a style sheet reference in this catalog. Include a separate
            view:StylesheetClass element for each style sheet you include in the
            catalog. Within each view:StylesheetClass element, specify the style sheet
            content using the following attributes of the view:Content child element:
                uri: A reference, either to absolute or relative, to the content's
                location on a server.
                contentType: The MIME type for the style sheet content. For Flex
                tiles, specify "application/x-shockwave-flash", and for HTML tiles
                specify "text/css".
            <view:StylesheetClass name="CafeMosaicTheme">
                <ct:Metadata>
                    <ct:Description>An alternative way to navigate using a ComboBox.</ct:Description>
                </ct:Metadata>
                <view:Content contentType="application/x-shockwave-flash" uri="${catalogURL}/stylesheets/CafeMosaicTheme/CafeMosaicTheme.swf"/>
            </view:StylesheetClass>
           -->
        </view:StylesheetClassList>   
        <!-- Specifies a list of panels (view:PanelClass elements) contained within
        this catalog -->
        <view:PanelClassList>
            <!--  Remove the commenting from this view:PanelClass element to include
            a reference to a panel in this catalog. Include a separate view:PanelClass
            element for each panel you include in the catalog. Within a view:PanelClass
            element, a view:Content child element specifies information for a panel
            using a view:Panel child element. For each view:Panel child element,
            specify the panel information using the following attributes:
                name: A unique name for the panel used to reference it from within the
                catalog.
                label: Descriptive text that displays as the panel title in the user
                interface of the composite application.
                tileChrome: Sets the default user interface for the panel. Values may
                be "none", "title" or "full". If the value is "full", then there is
                chrome on the panel which displays the title (label) and allows the
                panel to be moved, potentially deleted (if permitted), and resized.
                If the value is "title", the chrome is the same as for "full" without
                the ability to resize. If the value is "none", then there is no
                chrome on the panel, which means no title (label), and no user
                interface for for manipulating the panel.
                allowContentDelete: Specifies whether users can delete this panel at
                run time when the "chrome" attribute is set to "full" or "title".
                Values may be "true" or "false".
            Each view:Panel element may contain one or more tile:TileReference child
            elements that specify tiles to display within the panel at run time. You
            can override default tile attribute values here to customize the tile's
            appearance when referenced within this panel:
                catalog: Reference to the catalog that contains the tile.
                name: The name of the tile specified in the catalog.
                label: (override) The label of the tile.
                chrome: (override) Sets the user interface for the tile. Values may
                be "none", "title" or "full". If the value is "full", then there is
                chrome on the tile, which displays the title (label) of panels
                contained within the tile, and the tile allows for the panel to be
                moved, potentially deleted (if permitted), and resized. If the value
                is "title", the chrome is the same as for "full" without the ability
                to resize. If the value is "none", then there is no chrome on the
                tile, which means no panel title (label), and no user interface for
                for manipulating the panel.
                fitContent: (override) Specifies whether tile content should be
                automatically resize to fit the container. Values may be "true" or
                "false".
            <view:PanelClass name="SamplePanel">
                <ct:Metadata>
                    <ct:Description />
                </ct:Metadata>
                <view:Content>           
                    <view:Panel name="SamplePanel" label="Sample Panel"
                        tileChrome="true" allowContentDelete="true" width="100%" height="100%">
                        <view:Layout name="HorizontalLayout" />
                        <tile:TileReference
                            catalog="${catalog}" name="SampleTile" label="Sample Tile" width="100%" height="50%"
                            chrome="full" fitContent="true"/>
                    </view:Panel>
                </view:Content>
            </view:PanelClass>
            -->
        </view:PanelClassList> 
        <!-- Specifies a list of views contained within this catalog -->
        <view:ViewClassList>
            <!--  Remove the commenting from this view:ViewClass element to include a
            reference to a view in this catalog.
            Include a separate view:ViewClass element for each view you include in the
            catalog. Within a view:ViewClass element, a view:Content child element
            specifies information for a panel using a view:View child element. For
            each view:View child element, specify the panel information using the
            following attributes:
                name: A unique name for the view used to reference it from within
                the catalog.
                label: Descriptive text that displays as the panel title in the
                user interface of the composite application.
            Each view:View element may contain one or more view:PanelReference child
            elements that specify panels to display within the view at run time. You
            can override default panel attribute values here to customize the panel's
            appearance when referenced within this view:
                catalog: Reference to the catalog that contains the panel.
                name: The name of the panel specified in the catalog.
            <view:ViewClass label="Sample View" name="SampleView">
                <ct:Metadata>
                    <ct:Description>Sample View</ct:Description>
                </ct:Metadata>
                <view:Content>
                    <view:View name="SampleView" width="100%" height="100%"
                        label="Sample View">
                        <catalog:CatalogReference name="Default"
                            uri="Default" />
                        <view:PanelReference catalog="Default" name="SamplePanel" />
                    </view:View>
                </view:Content>
            </view:ViewClass>
            -->
        </view:ViewClassList>
    </catalog:Catalog>
    SnapshotTile.mxml (snippet)
    private var watcher:ChangeWatcher;
    [Bindable]
    [Consume(catalog="Historian", library="HistorianInterfaceLibrary")]
    public var historianService:IHistorianService;
    protected function _preinitializeHandler(event:FlexEvent):void
              this.addEventListener( AnnotationParseEvent.COMPLETE, _annotationParseEventCompleteHandler );
              watcher = ChangeWatcher.watch(this, "historianService", onGotService, false, true);
              protected function onGotService(e:PropertyChangeEvent):void
              if(historianService)
                        var test:ArrayCollection = historianService.getSnapshots("jonphill") as ArrayCollection;
                        trace("Using service, item 1: " + test.getItemAt(0));
                        trace("Using service, item 2: " + test.getItemAt(1));
    I've also attached two screenshots showing the project structure in FB and CRX.
    Any help here would be great as I'm pulling my hair out at this point!
    Thanks

    There's not an actual space in the error, it just looks that way when I pasted the text into the post.
    For some additional information, I've tried going through the tutorial here (http://www.youtube.com/ADEPDevelopers#p/c/DF68F4464D4EF4E0/4/klNspQvfVMc) and here (http://help.adobe.com/en_US/enterpriseplatform/10.0/AEPDeveloperGuide/WS989a722fbb254cbe-6 f13dcd01304cbb1ac4-8000.html), however, neither one goes through the full steps of adding the Service to the axml and cxml files which is where I'm probably having trouble.
    I've also looked at the StockMosaicService sample included with ADEP and tried mimicking it but with no luck. I had expected the ADEP tooling in Flash Builder to handle all this for me but it doesn't appear to be working properly now.

  • Error when adding a WLC to WCS

    When adding a WLC to WCS I get this error: Failed to add device to WCS Reason:
    COMMON-1: Some unexpected internal error has occured. If the problem persists please report to the Tech Support.
    WCS 7.0.164.0 was upgraded from 5.2.110.0 because the WLC were running 7.0.98.0
    WLC4404-100 7.0.98.0 (Already in WCS)
    WLC4402-12 7.0.98.0 (Changed the ip address of the management and ap manager.  Was in WCS but deleted from WCS prior to the ip address change and prior to the WCS being upgraded)
    I know that the snmp strings are fine and that the WLC's both respond to snmp get commands.
    The intial WCS upgrade from 5.2.110.0 to 7.0.164.0 didn't require the previous version to be uninstalled.  After the upgrade and restoring the WCS from backup. I was getting the error posted above.  We uninstalled WCS and re-installed WCS from scratch and still we are getting the same error.  We tried restarting the WCS services and also the VM box as well and not luck.  I was wondering if the WCS has the old ip and mac address of the WLC4402-12 in the database and that is why i'm getting this error.
    I did delete and try different snmp community strings with no luck with WCS.  Again, snmp is working since I can do snmp get from the WLC's.

    Scott,
    This is the issue:
    com.cisco.common.persistence.transaction.TransactionException: Null value was assigned to a property of primitive type setter of com.cisco.server.managedobjects.aaa.GuestUserTemplateCG.userStatus
    Could be an existing bug or a new one. I cant say unless I look into your setup.

  • Error when adding an attribute to a redifined entity

    Dear Gateway experts,
    I have the following problem:
    In the service builder I have successfully created and activated an OData Service with several entities. Now I have created a second service and have redefined one of the entities of the first service. Finally I have added one attribute to this entity in the second service. Also this service could be generated succesfully. But when calling the service I get the error message "Property [NEW ATTRIBUT] of data object [ENTITY] has no Internal type assigned."
    In the MPC class of the second service I see, that the structure belonging to the entity has been updated with this new attribute.
    But the exporting parameter ET_ENTITYSET of the DPC class refer to the structure definition of the MPC class of the first service (because the inherite from them) without the new attribute.
    So my problem is now, hoc can I add an attribute to a redfined entity without getting this error and be able to fill the export table?
    Thanks a lot in advance!
    Regards,
    Juergen

    Hi Ron,
    thanks for your quick reply!
    The entity of the original service is structure based. But the new attribute in the redefined service is not part of this structure. However I have added it manually and also filled the corresponding ABAP type in the column "ABAP Field Names".
    The method DEFINE_<ENTITY> is only available in the MPC class of the original service. And this method is private so I can't call it from the subclasses.
    In the MPC class of the redefined service there is a private method CREATE_NEW_ARTIFACTS, which is called in the method DEFINE. In this method the new attribute is already added to the entity, in the same way the other attributes were added in the DEFINE_<ENTITY> method:
    lo_entity_type = model->get_entity_type(
         iv_entity_name = '<entity>' ).
    lo_property = lo_entity_type->create_property(
         iv_property_name  ='<attribute>'
         iv_abap_fieldname = '<ATTRIBUTE in ABAP>' ).
    lo_property->set_type_edm_string( ).
    So I am not sure, what else to add in these methods.
    Regards,
    Juergen

  • How to put Sales employee (Splcode) Mandatory Field, when adding A/R invoice

    Hi,
    Kindly solve, How to put Sales employee (Splcode) Mandatory Field, when adding A/R invoice.
    Regards,
    Rajeev.

    Follow this step..
    1. In SQL Server, go to the SAP B1 Database you're using. 
    2. then on the Object Explorer , go to Database Folder, explode the SAP DB->Programmability->Stored Procedures->SBO_SP_TransactionNotification * the only Stored Procedure that is allowed to be edited. Just right click and modify
    3.  Try to paste this -> and click F5
    If
    @object_type ='13' and @transaction_type in ('A','U')
    Begin
    If EXISTS
    select DocEntry from ONIV
    Where DocEntry = @list_of_cols_val_tab_del
    and  SlpCode<>'-1'
    Begin
    set @error_message = 'Please select the Sales Employee'
    set @error = 1
    END
    END
    Regards
    Kennedy

Maybe you are looking for