Required Object has not been asserted Error

I am using a Java class in my rules. While executing the test case I am getting the floowing exception
com.sap.brms.qrules.network.InsufficientDataForEvaluationException: Required Object has not been asserted. Cannot resolve
com.sap.test.Scenario(Method: Add)
I've added the DC dependency and added in Alias.I tried instatiating the class in the variable declarations also but didn't help.
This java class has a ArrayList in it and I want to populate the ArrayList by calling  addTo Method from the rules.
Any thoughts ?
Anil

Hi Arti,
Thanks for responsding.
I Created a web service by creating "WSDL Artifact" on the ruleset.
But still I get the same error while executing the rule through WSnavigator
"BusinessRules ERROR: com.sap.brms.qrules.network1.ActionException: java.lang.RuntimeException: Exception while evaluating the decision table: Required Object has not been asserted. Cannot resolve: com.sap.test.BRules(method: getROLE)""
The link that you had provided is for 7.1 and I agree that it works in  7.2 also. But whats new in 7.2 wrt to web service generation ?
Do we still need to devlop web module to expose the rules as a service in 7.2 ??
Regards, Anil

Similar Messages

  • The required index has not been created yet in the search engine

    Hi,
    I am trying to change the inspection plan trying to add master insp.characterstics in QP02 the system is giving the following error: "The required index has not been created yet in the search engine".  As per the solution for that error The administration transaction is SES_ADMIN.
    Through the Goto menu, you can enter the relevant customizing directly.
    The index was required for: Business object = QPMK
    Object type = 1
    It is already there. I don't know why still it is showing the error.
    How can i fix this?
    Pl help me. Thanks.
    Madhu

    Hi,
       Not so sure this applies as
    1] The field is using a custom search help which correctly appears for data selection in each case. Its only when we push the go button that the index missing error ishappening for the particular user.
    2] We cloned the user  id for the user having the issue and the clone has no problem at all using the search help.
    Weird huh?
    Ross

  • "your system has not been modified error" will not let me install itunes on my computer an its for fraustrating need help!

    "your system has not been modified error" will not let me install itunes on my computer(windows 7 64 bit) and it is so faustrating i need help please and thanks!

    I had the same problem.I tried every solutions on the net but nothing worked.Luckily on that very day my free avast antivirus date expired(I dont currently have a paid antivirus) and I uninstalled it.Then I tried to install itunes and did it on the first go.But I am using a windows 7 32 bit so it might not work for you as you are on the 64 bit.Actually the antivrus was the culprit.Hope it helps.Thanks

  • Getting an  AdfFacesFilter has not been installed error

    Hi
    Currently trying to run a jsf page with an adf input component but get the following error
    'The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution'
    The following is the web xml file but pretty sure i've set up everything correctly
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'>
    <web-app>
    <display-name>Test</display-name>
    <description>Mt</description>
    <context-param>
    <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
    <param-value>true</param-value>
    </context-param>
    <context-param>
    <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
    <param-value>false</param-value>
    </context-param>
    <context-param>
    <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
    <param-value>true</param-value>
         </context-param>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    <context-param>
    <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
    <param-value>true</param-value>
    </context-param>
         <filter>
         <filter-name>adfFaces</filter-name>
         <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
         </filter>
         <filter>
              <filter-name>MyFacesExtensionsFilter</filter-name>
              <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
         <init-param>
         <param-name>maxFileSize</param-name>
         <param-value>20m</param-value>
         </init-param>
         </filter>
         <filter-mapping>
              <filter-name>adfFaces</filter-name>
              <servlet-name>faces</servlet-name>
    </filter-mapping>
         <filter-mapping>
              <filter-name>MyFacesExtensionsFilter</filter-name>
              <url-pattern>*.jsf</url-pattern>
         </filter-mapping>
         <filter-mapping>
              <filter-name>MyFacesExtensionsFilter</filter-name>
              <url-pattern>/faces/*</url-pattern>
         </filter-mapping>
    <listener>
    <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>
         <!-- faces servlet -->
         <servlet>
              <servlet-name>faces</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet>
         <servlet-name>resources</servlet-name>
         <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
         </servlet>
         <!-- extension mapping -->
         <servlet-mapping>
              <servlet-name>faces</servlet-name>
              <url-pattern>*.jsf</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
                   <servlet-name>resources</servlet-name>
                   <url-pattern>/adf/*</url-pattern>
         </servlet-mapping>
         <!-- session configuration -->
         <session-config>
              <session-timeout>-1</session-timeout>
         </session-config>
         <!-- welcome file -->
         <welcome-file-list>
              <welcome-file>welcome.jsp</welcome-file>
         </welcome-file-list>
         <error-page>
              <error-code>404</error-code>
              <location>/notFound.jsf</location>
         </error-page>
         <error-page>
              <error-code>500</error-code>
              <location>/internalError.jsf</location>
         </error-page>
         <error-page>
              <exception-type>java.lang.Exception</exception-type>
              <location>/internalError.jsf</location>
         </error-page>
    </web-app>

    Hi,
    Normally, you should have something like this in your web.xml file:
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter>
    <filter-name>ADFBindingFilter</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    <init-param>
    <param-name>encoding</param-name>
    <param-value>UTF-8</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>ADFBindingFilter</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>ADFBindingFilter</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    As well as:
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    This will ensure that the ADF Faces context gets initialized on the first call to your controller servlet.
    See the General Installation Section of the page at:
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/installation.html for more detail.
    Also, look at :
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/installation.html#General%20Installation
    There is a demo war with a web.xml that work that can be downloaded from:
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/index.html
    More hints can be found at:
    Re: How-to get rid of ADF messages (10.1.3 Production)
    and
    ADF FACES: problems with dialogs and filter mapping
    Steff

  • Getting around "VI has not been signed" error

    I downloaded some vi's for communicating with the serial port on a Watlow F4 process controller from Watlow's website (which are written for LabVIEW 7), and then downloaded the evaluation version of LabVIEW 7.0.  But when I try to open the Watlow vi's, I get an error message "LabVIEW load error code 34:  VI has not been signed."  Is there anything I can do to be able to open these vi's?
    Thanks!

    Hi Margcho,
    Yes, one solution is to sign the VIs using the LabVIEW Player VI Creation Toolkit,
    but since (if) you don't have a the LabVIEW Professional Development
    System available to sign the VIs, there's an easier solution. Install
    the LabVIEW Evaluation version in "Evaluation Mode" instead of "Player
    Mode". You will then be able to open the VIs and even edit them.
    However, there are some other limitations to the "Evaluation Mode".
    Read more about the difference in the two modes in this KnowledgeBase:
    Frequently Asked Questions about the LabVIEW 7.0 Evaluation Version
    If you want to know more about the LabVIEW Player, then don't miss this tutorial:
    LabVIEW Player Information
    Have fun!
    - Philip Courtois, Thinkbot Solutions

  • The group transfer account has not been defined  Error message KM124

    Hi,
    Friends,
    i
    When my user is posting  a logistical vendor invoice for intercompany vendor  the system issues error message KM124 "The group transfer account has not been defined.
    I have seen SDN there was a posting but no response.
    Can you suggest me how we can work on this error.
    Thank you
    Medha

    Hi Firends,
    One of my user is also getting the same error,  user is posting a logistical vendor invoice for intercompany vendor the system issues error message KM124 "The group transfer account has not been defined.
    I have checked the 8KEN and OX15 customizing also.. it seems to be fine.
    Please can you guide me in regards to this error.
    Thanks and Regards,
    Rahul.

  • "The property or field has not been initialized" Error, when debbuging app

    Hello,
    I'm  following the instructions of a dev book but I get the following error message when debugging the app.
    "The property or field has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested."
    The code:
    var collListItems;
    $(document).ready(function () {
    getConfigValues();
    function getConfigValues() {
    var context = SP.ClientContext.get_current();
    var configList = context.get_web().get_lists().getByTitle('Configuration Values');
    var camlQuery = new SP.CamlQuery();
    collListItems = configList.getItems(camlQuery);
    context.load(collListItems);
    context.executeQueryAsync(onGetConfigValuesSuccess, onGetConfigValuesFail);
    function onGetConfigValuesSuccess() {
    var OrgLogoUrl;
    var OrgName;
    var listItemEnumerator = collListItems.getEnumerator();
    while (listItemEnumerator.moveNext()) {
    var oListItem = listItemEnumerator.get_current();
    var current = oListItem.get_item('Title');
    switch (current) {
    case 'OrganizationName':
    OrgName = oListItem.get_item('Value');
    break;
    case 'OrganizationLogoUrl':
    OrgLogoUrl = oListItem.get_item('Value');
    break;
    if (OrgName && OrgName.length > 0) {
    $('#DeltaPlaceHolderPageTitleInTitleArea').html(OrgName);
    $('.ms-siteicon-img').attr('title', OrgName);
    if (OrgLogoUrl && OrgLogoUrl.length > 0)
    $('.ms-siteicon-img').attr('src', OrgLogoUrl);
    else
    $('.ms-siteicon-img').attr('src', '../Images/AppLogo.png');
    function onGetConfigValuesFail(sender, args) {
    alert('Failed to get the Configuration Values. Error:' + args.get_message());
    What it have to do is to replace the Title and Site logo, using the "Title" and "Value" fields of the "Configuration Values" list.
    My dev environment: SharePoint online, Azure, VS2013 Ultimate (trial)
    I've tried to reach the author of the book but it's being 4 days and no response, maybe somebody here can help me.
    Thanks in advance.
    Jimmy

    Jaydeep, I don't get the values, see the HTML code below.
    <%@ Page Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" MasterPageFile="~masterurl/default.master" Language="C#" %>
    <%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%-- The markup and script in the following Content element will be placed in the <head> of the page --%>
    <asp:Content ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    <script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.runtime.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.js"></script>
    <!-- Add your CSS styles to the following file -->
    <link rel="Stylesheet" type="text/css" href="../Content/App.css" />
    <!-- Add your JavaScript to the following file -->
    <script type="text/javascript" src="../Scripts/App.js"></script>
    </asp:Content>
    <%-- The markup in the following Content element will be placed in the TitleArea of the page --%>
    <asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
    KA Online Klas
    </asp:Content>
    <%-- The markup and script in the following Content element will be placed in the <body> of the page --%>
    <asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <div id="menu">
    <ul>
    <li><a href="../Lists/Configuration Values">Site Configuration</a></li>
    <li><a href="../Lists/Site Assets">Site Assets</a></li>
    </ul>
    </div>
    </asp:Content>

  • Designtime cache has not been initialized  error in ESB console

    Designtime cache has not been initialized Please look in logs for following signs of failure. Fix them and restart. (a) Database access errors (b) ESB Bootstrap errors (c) OC4J class load errors (d) Product installation errors (e) Export ESB params and verify if host and port parameters are correct. Please contact Oracle Support if unable to fix the issue.
    I am not able to see any thing other than an alert message wtih "OK" button.

    My Log file shows the following error
    C:\product\10.1.3.1\OracleAS_1\j2ee\home\log\home_default_group_1\oc4j
    C:\product\10.1.3.1\OracleAS_1\opmn\logs
    C:\product\10.1.3.1\OracleAS_1\opmn\bin>opmnctl stopall
    $ORACLE_HOME/j2ee/oc4j_esbdt/log/oc4j_esbdt_default_group_1/oc4j/log.xml
    Re: ESB startup error
    http://blogs.oracle.com/jheadstart/newsItems/departments/deployment
    <MSG_TEXT>ESB bootstrap: Error occured while initializing ESB server from the ping thread</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[java.lang.NoSuchMethodError: oracle.tip.esb.configuration.ServiceBusConstants.getDesigntimeESBProtocol(Ljava/lang/String;)Ljava/lang/String;
         at oracle.tip.esb.server.bootstrap.ESBBaseResourceAdapter$PingTester.run(ESBBaseResourceAdapter.java:829)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
         at java.lang.Thread.run(Thread.java:595)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • "Your system has not been modified" iTunes download error.

    Hello, this is my first time asking for support so I hope I provide all the information needed.
    Background:
    A while back my elder sister went into my computer and messed some settings up because iTunes was being wonky and not updating her new iPhone properly (turns out later the iPhone itself was having issues - not my computer nor iTunes). I used an older version of iTunes because I had an older iTouch and didn't need the newest version, but I didn't have any complaints when she updated it. I come back one day and iTunes isn't working alltogether, and when I plug in my iTouch it tells me there's an error and I need to re-install iTunes (or somewhere along that line, I was stupid and didn't screencap the message). (I asked her what she had done and said "Updated your computer! It hadn't been updated in so long, and then iTunes stopped working! Beats me!" and she can't tell me exactly WHAT she changed and downloaded.) So, I went through the uninstall process and went to the Apple website to download it again, but it kept giving me a "Your system has not been modified" error. This was a long time ago but I came back to my computer to try and solve it again and I've tried to redownload it off the website multiple times but it gives me the same error.
    I went into my control panel and "add/remove progreams" to see if anything was left over from the uninstall process but I can't find any iTunes files. Any idea on how to get iTunes back onto my computer?
    TL;DR:
    "iTunes Installer Completed
    The installer encountered errors before iTunes could be configured.
    Errors occured during installation. Your system has not been modified.
    Please run the installer again, or click Finish to exit."

    I had the same problem.I tried every solutions on the net but nothing worked.Luckily on that very day my free avast antivirus date expired(I dont currently have a paid antivirus) and I uninstalled it.Then I tried to install itunes and did it on the first go.But I am using a windows 7 32 bit so it might not work for you as you are on the 64 bit.Actually the antivrus was the culprit.Hope it helps.Thanks

  • "HH_GET_WIN_TYPE has not been specified" in Robohelp 9 HTML

    Hi there. I know this error has been around before, but I have not found any solution to fix my problem. I imported a Robohelp x5 project into Robo 9 HTML, and everything seemed to import fine. I compiled the project, and everything works except for when I try to go to a topic by clicking on its TOC link. I then get the "hh_get_win_type has not been specified" error, and if I click on the message, it'll eventually go away and then the topic will correctly open. (Any links in the main frame work properly with no error message.) Obviously I need to fix this before sending it out. The specific window it mentions is not used in the project settings any more, so I just can't delete it. Does anybody have a suggestion for this? Thanks, Mark.

    Something you mentioned in your original post is begging a question. You said you couldn't delete the window from the project despite it not being used anywhere. Is that because it won't let you, or some other reason. If it won't let you, there must still be a reference to it somewhere in your project. You could try deleting your projectnam.cpd file and reopening the project.
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • Call of a method or kernel Method that has not been implemented

    hi,
    Iam Working on CRM Sandbox system and  R/3 system my reqeuirement is to transfer data from R/3 to CRM system through Idoc. so I have  IDOC (3 in number now) just sitting in XXCLNT200.The IDOC type is HRMD_A01.it's refused to be processed into application and there is no error on the IDOC.
          In this Scenario R/3 system idoc status is 53 - application document posted so in R/3 system idoc woking is fine . Coming to CRM System IDOC status is - 64  Ready to posted in application . SO iam reprocess the IDOC using WE19 . While reprocess the idoc it's is going to be in  dump .
    Runtime Errors         CALL_METHOD_NOT_IMPLEMENTED                                    
    Exception              CX_SY_DYN_CALL_ILLEGAL_METHOD                                  
    Date and Time          22.08.2007 12:12:45                                                                               
    Short text                                                                               
    Call of a method or kernel Method that has not been implemented                                                                               
    What happened?                                                                               
    Error in the ABAP Application Program                                                                               
    The current ABAP program "CL_EX_HRSYNC_P================CP" had to be            
          terminated because it has                                                       
         come across a statement that unfortunately cannot be executed.       
    pls help me

    Hi Chandra,
    I got the same error.
    I have developed the webdynpro screen to upload the xlsx file format using the below thread
    http://scn.sap.com/community/web-dynpro-abap/blog/2012/04/05/upload-xlsx-file-in-webdynpro-abap-and-view-its-content#comment-338018
    I have successfully activated the component but when i run the component i found the following error.
    Runtime Errors         CALL_METHOD_NOT_IMPLEMENTED                                   
    Exception              CX_SY_DYN_CALL_ILLEGAL_METHOD
    Short text                                                                              
    Call of a method or kernel Method that has not been implemented  
      Error in the ABAP Application Program
      The current ABAP program "/1BCWDY/EIMGDDDP2WS8KQ67GU1D==CP" had to be
       terminated because it has
      come across a statement that unfortunately cannot be executed.
    can please guide me .
    Thanks,
    Harish Singh.

  • Found error:-5011,[JDT1.Account][line1]  ' tax account  has not been define

    hi expert all
    Found error:-5011,[JDT1.Account][line1]  ' tax account  has not been define for selec ted tax code'....
    when i add this journal entry  following error is coming
    where  need changes please tell me......... very much required..
    Private Sub JournalEntry2(ByVal accntcode1 As String, ByVal newaccnt1 As String, ByVal newaccnt2 As String, ByVal newaccnt3 As String, ByVal newaccnt4 As String, ByVal newaccnt5 As String, ByVal str7 As String, ByVal value As Decimal, ByVal value1 As Decimal, ByVal value2 As Decimal, ByVal value3 As Decimal, ByVal value4 As Decimal, ByVal value5 As Decimal, ByVal value6 As Decimal)
            On Error GoTo ErrorHandler
            Dim nErr As Long
            Dim errMsg As String
            'add an Journal entry
            Dim vJE As SAPbobsCOM.JournalEntries
            vJE = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries) '(oJournalEntries)
            Call vJE.Lines.SetCurrentLine(0)
            ' vJE.TaxDate = Now
            vJE.Lines.AccountCode = accntcode1 '"110000"   '''''''o
            vJE.Lines.ContraAccount = accntcode1 '"10110"
            vJE.Lines.Credit = 0
            vJE.Lines.Debit = value '150
            vJE.Lines.DueDate = CDate(Now)
            vJE.Lines.ReferenceDate1 = Now
            vJE.Lines.ShortName = accntcode1  '"110000"
            '  vJE.Lines.TaxDate = Now
            Call vJE.Lines.Add()
            Call vJE.Lines.SetCurrentLine(1)
            vJE.Lines.AccountCode = newaccnt1 '"10110"      ''''''' 1
            vJE.Lines.ContraAccount = newaccnt1  '"110000"
            vJE.Lines.Credit = value1  '''' 50 '150
            vJE.Lines.Debit = 0
            vJE.Lines.DueDate = CDate(Now) 'CDate("11/13/ 2002")
            'vJE.Lines.Line_ID = 1
            vJE.Lines.ReferenceDate1 = Now
            vJE.Lines.ShortName = newaccnt1  '"10110"
            'vJE.Lines.TaxDate = Now
            Call vJE.Lines.Add()
            Call vJE.Lines.SetCurrentLine(2)
            vJE.Lines.AccountCode = newaccnt2 '"10110"     '''''' 2
            vJE.Lines.ContraAccount = newaccnt2 '"110000"
            vJE.Lines.Credit = value2       ''40 '150
            vJE.Lines.Debit = 0
            vJE.Lines.DueDate = CDate(Now) 'CDate("11/13/ 2002")
            'vJE.Lines.Line_ID = 1
            vJE.Lines.ReferenceDate1 = Now
            vJE.Lines.ShortName = newaccnt2   '"10110"
            'vJE.Lines.TaxDate = Now
            Call vJE.Lines.Add()
            Call vJE.Lines.SetCurrentLine(3)
            vJE.Lines.AccountCode = newaccnt3 '"10110"     '''''' 3
            vJE.Lines.ContraAccount = newaccnt3 '"110000"
            vJE.Lines.Credit = value3      ' ''' 20 '150
            vJE.Lines.Debit = 0
            vJE.Lines.DueDate = CDate(Now) 'CDate("11/13/ 2002")
            'vJE.Lines.Line_ID = 1
            vJE.Lines.ReferenceDate1 = Now
            vJE.Lines.ShortName = newaccnt3  '"10110"
            'vJE.Lines.TaxDate = Now
            Call vJE.Lines.Add()
            Call vJE.Lines.SetCurrentLine(4)
            vJE.Lines.AccountCode = newaccnt4 '"10110"     '''''' 4
            vJE.Lines.ContraAccount = newaccnt4 '"110000"
            vJE.Lines.Credit = value4     ''20 '150
            vJE.Lines.Debit = 0
            vJE.Lines.DueDate = CDate(Now) 'CDate("11/13/ 2002")
            'vJE.Lines.Line_ID = 1
            vJE.Lines.ReferenceDate1 = Now
            vJE.Lines.ShortName = newaccnt4  '"10110"
            'vJE.Lines.TaxDate = Now
            Call vJE.Lines.Add()
            Call vJE.Lines.SetCurrentLine(5)
            vJE.Lines.AccountCode = newaccnt5 '"10110"     '''''' 5
            vJE.Lines.ContraAccount = newaccnt5 '"110000"
            vJE.Lines.Credit = value5  ''''20 '150
            vJE.Lines.Debit = 0
            vJE.Lines.DueDate = CDate(Now) 'CDate("11/13/ 2002")
            'vJE.Lines.Line_ID = 1
            vJE.Lines.ReferenceDate1 = Now
            vJE.Lines.ShortName = newaccnt5  '"10110"
            'vJE.Lines.TaxDate = Now
            Call vJE.Lines.Add()
            Call vJE.Lines.SetCurrentLine(6)
            value6 = value - (value1 + value3 + value2 + value4 + value5)
            vJE.Lines.Credit = value6  ''''20 '150
            vJE.Lines.Debit = 0
            vJE.Lines.DueDate = CDate(Now) 'CDate("11/13/ 2002")
            vJE.Lines.ReferenceDate1 = Now
            vJE.Lines.ShortName = str7  '"10110"
            'vJE.Lines.TaxDate = Now
            If (0 <> vJE.Add()) Then
                MsgBox("failed to add a journal entry")
            Else
                MsgBox("Succeeded in adding a journal entry")
                vJE.SaveXML("c:\temp\JournalEntries" + Str(vJE.JdtNum) + ".xml")
            End If
            'Check Error
            Call oCompany.GetLastError(nErr, errMsg)
            If (0 <> nErr) Then
                MsgBox("Found error:" + Str(nErr) + "," + errMsg)
            End If
            'disconnect the company object, and release resource
            'Call oCompany.Disconnect()
            'oCompany = Nothing
            Exit Sub
    ErrorHandler:
            'MsgBox("Exception:" + Err.Description)
        End Sub

    Hi John,
    I would try first to add the same JE is the Business One application. If it adds without any error then the problem is not related to any definitions of Business One.
    From your error and your code it does seem the error is related to the use of the property ShortName - you only use the ShortName if you are adding a JE line for a BP. If you want to add a JE line for a regular account number then you ONLY use the property AccountCode and don't set ShortName.
    Cheers,
    Lisa

  • The ConnectionString property has not been initialized random error

    Hi,
    Can someone please help me?
    I randomly get an error when running my website:
    The ConnectionString property has not been initialized.
    First time I run the web page it works. Second time it fails. Is this got anything to do with static methods?
    This is my code in DAL layer:
    ConStrings.cs
    public class ConStrings
    /// </summary>
    public static string PizzaDeliveryConnectionString
    get
    // get from PL web.config
    string myconnectionString = ConfigurationManager.ConnectionStrings["PizzaDeliveryConnectionString"].ConnectionString;
    return myconnectionString;
    public static SqlConnection GetPizzaDeliveryConnection()
    return new SqlConnection(PizzaDeliveryConnectionString);
    DLCustomer.cs
    public class DLCustomer
    static SqlConnection connString = DL.ConStrings.GetPizzaDeliveryConnection();
    public static DataSet GetCustomerByPhoneNumber(string phonenumber)//static is good for returing data from db
    DataSet ds = null;
    ds = new DataSet();
    try
    using (var connection = connString)//using doesn't require connection closed
    connection.Open();
    using (SqlCommand cmd = new SqlCommand("GetCustomerByPhoneNumber", connection))
    cmd.Connection = connection;
    cmd.CommandType = System.Data.CommandType.StoredProcedure;
    cmd.Parameters.AddWithValue("@phonenumber", phonenumber);
    using (SqlDataAdapter da = new SqlDataAdapter(cmd))
    da.Fill(ds, "CustomersTable");
    return ds;
    catch (SqlException ex)
    return ds;
    BUSINESS LAYER
    Customer.cs
    public class Customer
    private string phonenumber;
    private DL.DLCustomer customerData;
    public int CustomerId { get; set; }
    public string CustomerName { get; set; }
    public String PhoneNumber
    get
    return this.phonenumber;
    set
    this.phonenumber = value;
    if (this.PhoneNumber == "")
    throw new Exception("Please provide Tel ...");
    public Customer () // Default Constructor
    //An instance of the Data access layer!
    customerData = new DL.DLCustomer();
    /// Function Find customer. Calls the
    /// function in Data layer.
    /// It returns the details of the customer using
    /// customer ID via a Dataset to GUI tier.
    /// </SUMMARY>
    public static DataSet GetCustomerByPhoneNumber(Customer customer)
    if (customer.phonenumber == "")
    throw new Exception("Please provide phonenumber to search");
    DataSet data = null;
    data = DL.DLCustomer.GetCustomerByPhoneNumber(customer.phonenumber);
    return data;
    Presentation layer
    protected void btnOrder_Click(object sender, EventArgs e)
    Customer customer = new Customer();
    //string dt = Request.Form[txtDate.UniqueID];
    customer.PhoneNumber = txtPhoneNumber.Text;
    // ClassLibrary1.DbFunc1.GetCustomerByPhoneNumber(customer) ;
    rptCustomers.DataSource = Customer.GetCustomerByPhoneNumber(customer);
    rptCustomers.DataBind();
    web.config
    <configuration>
    <connectionStrings>
    <add name="PizzaDeliveryConnectionString" connectionString="Data Source=mycomp;Initial Catalog=PizzaDelivery;Integrated Security=True" providerName="System.Data.SqlClient" />
    </connectionStrings>

    Hi
    collie12,
    Since you develop in web page. Please try to use
    System.Web.Configuration.WebConfigurationManager.ConnectionStrings["YouConnStringName"].ConnectionString;
    This requires references to System.Configuration.dll and System.Web.dll.
    WebConfigurationManager.ConnectionStrings Property gets the Web site's connection strings.
    Please also try to remove your static keyWords, it will have an effect on "using" statement.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I am unable to download i tunes. After seemingly installing and looking like it was going to run, I got an error message that process could not be completed due to "system has not been modified".  Help!

    I am unable to download itunes due to an error message that popped up after installing (or so I thought) was completed. It said it could not complete the process because "system has not been modified". What?

    OK, can anyone explain how am I supposed to deal with this reply from apple? (I used a report a problem of a song purchase to ask why I can no longer access USA content)
    Quote
    Dear Darren,
    Greetings from iTunes Store Support. My name is Subramani and I am happy to assist you today.
    I understand that you are unable to make the purchases from your iTunes store account. I know how important this is for you and I am glad to provide you with the necessary information.
    Darren, you are not authorized to obtain content from the United States iTunes Store. We are unable to provide further information regarding this situation. I apologize for any inconvenience this has caused.
    For more information on Apple's requirements for using the iTunes Store, please refer to the iTunes Store Terms and Conditions:
    http://www.apple.com/legal/itunes/us/terms.html
    Thank you for being a valued iTunes Store customer. Have a nice day!
    Unquote
    Nice day? W-T-F?? They cannot tell me why I can't access USA content with my USA based account?
    Anyone?
    Thanks
    Darren

  • A Required COM Add-in program for XL Reporter has not been loaded and ....

    A Required COM Add-in program for XL Reporter has not been loaded and prohibits Microsoft Excel from running. For more information, click help.
    XL 2007, with the Trust level for macros set to minimum. SBO 2007 PL 42.
    Thanks
    Charles

    Read the following solution from SAP for your problem:
    When we open XL Reporter we get an error
    message "A required COM add-in program for XL Reporter has not been loaded
    and prohibits Microsoft Excel from running." when trying to open a report
    definition.
    SOLUTION FOR THE PROBLEM:
    Reason and Prerequisites
    You need to be an administrator on the local machine to add COM add-ins.
    Solution
    The user should be added as a member of the administrator role on the
    local computer the first time you start Excel from XL Reporter the first
    time so that the COM addin are registered, then you can remove the user
    from the administrator group again.
    Manually Loading the XL Reporter Excel COM Add-In
    Symptom
    If you install Microsoft Office after installing the XL Reporter
    application or use another Windows user than the one you used when
    installing XL Reporter, you can get an error message.
    Reason and Prerequisites
    The reason for this is that the report writer COM Add-in has not been
    loaded, which prohibits Microsoft Excel from running.
    Solution
    1. Start Microsoft Excel. If you already have the COM Add-ins command on
    the Tools menu, go to step 7.
    2. In the Tools menu, choose Customize.
    This opens the Customize window.
    3. Choose the Commands tab and select Tools from the Categories pane on
    the left.
    4. In the Command pane on the right, scroll down to the COM Add-ins
    command.
    5. Select the COM Add-ins command, hold down the mouse button, and drag
    COM Add-ins from the Commands pane over to the Tools menu on the Microsoft
    Excel men bar. When the Tools menu commands appear, point to where you
    want the COM Add-ins command to appear on the menu and release the mouse
    button.
    6. To close the Customize window, choose Close.
    7. On the Tools menu, choose the new COM Add-ins option.
    This opens the COM Add-ins window.
    8. In the window, choose Add to open the Add Add-in window.
    9.Select the IXXLReporter.dll file located in the Client directory in the
    XL Reporter program installation area and choose OK.
    10. In the COM Add-ins window, select the XL Reporter checkbox and choose
    OK.

Maybe you are looking for

  • Cannot connect to local network while connected with EasyVPN

    Hi All, I'm looking on many forums for an answer, but I cannot get it working. I have configured EasyVPN with CCP and also with CLI. I had it both working perfect, except the most important thing. I can connect with the Cisco VPN client to the router

  • My ipod/iphone cannot be used because the required software isn"t installed

    I am trying to connect my ipod touch and my iphone to my itunes.it is telling me to use the itunes installer and remove itunes and install the 64 bit version.I did that and I still get the same message

  • Question on table control

    Hi Experts, I have created a table control having 10 lines in it using screen painter. the purpose of this table control is to get data from user and store that data in Database Table. For Eg., if the user wants to add 15 rows into it..then how can t

  • Is the back of the 2011 MBA 13" the same as the 2012?

    Is the back(bottom) of the 2011 MBA 13" the same as the 2012? i mean, is it possible to use one in the place of the other?  The thing is i'm not from US and i don't have a very good support, so asked a friend who is in US to buy a new back for my MBA

  • No authorization for query/Web application assigment in roles

    Hi All, in order to clean/reorganize our roles, I have to clean some query/Web application/Workbook assignment in roles. After I have loged in into BEX Browser I have cleaned/moved some objects from roles. But it seem that I have not all necessary ri