error during the creation of the Package body

Hi, I tried the following package is created but the body is created with errors
CREATE OR REPLACE PACKAGE pack_ttt IS
 TYPE rec_ttt_colinfo IS RECORD (
  columnName VARCHAR2(30));
 TYPE nt_ttt_colInformation IS TABLE OF rec_ttt_colinfo;
 FUNCTION getColumns(schemaNm VARCHAR2 , TableNm VARCHAR2)
  RETURN nt_ttt_colInformation;
END; 
CREATE OR REPLACE PACKAGE BODY pack_ttt IS
function getColumns(
  schemaNm VARCHAR2 , 
  TableNm VARCHAR2) 
 RETURN nt_ttt_colInformation IS
 colvarfunc1 nt_ttt_colInformation;
 EXECUTE IMMEDIATE 'SELECT COLUMN_NAME, DATA_TYPE FROM ALL_TAB_COLUMNS WHERE OWNER = ''' || schemaNm || ''' AND TABLE_NAME = ''' || TableNm || ''''
      BULK COLLECT INTO columnsList;
      RETURN colvarfunc1;
 END;
END;
And the error is
LINE/COL ERROR
-------- -----------------------------------------------------------------
7/20     PLS-00103: Encountered the symbol "SELECT COLUMN_NAME, DATA_TYPE
         FROM ALL_TAB_COLUMNS WHERE OWNER =" when expecting one of the
         following:
         := . ( @ % ; not null range default character
         The symbol ":=" was substituted for "SELECT COLUMN_NAME,
         DATA_TYPE FROM ALL_TAB_COLUMNS WHERE OWNER =" to continue.

8/7      PLS-00103: Encountered the symbol "BULK" when expecting one of
         the following:
         * & = - + ; < / > at in is mod remainder not rem
         <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_

LINE/COL ERROR
-------- -----------------------------------------------------------------
         LIKE4_ LIKEC_ between || member SUBMULTISET_

You forgot to put the begin clause in the service

CREATE OR REPLACE PACKAGE BODY pack_ttt IS
function getColumns( schemaNm VARCHAR2 ,  TableNm VARCHAR2) RETURN nt_ttt_colInformation
IS
  colvarfunc1 nt_ttt_colInformation;
BEGIN
  EXECUTE IMMEDIATE 'SELECT COLUMN_NAME, DATA_TYPE FROM ALL_TAB_COLUMNS WHERE OWNER = ''' || schemaNm || ''' AND TABLE_NAME = ''' || TableNm || ''''    BULK COLLECT INTO columnsList;
  RETURN colvarfunc1;
END;
END;

Tags: Database

Similar Questions

  • ORA-04063: package body 'SYS. DBMS_SQLTUNE error' during the upgrade

    Hello
    I am trying to upgrade the oracle 10.2.0.2 on 11.2.0.1 with dbua tool database. During the upgrade "Oracle Server" ORA-04063: package body 'SYS. DBMS_SQLTUNE"error has occurred.
    In the oracle server log:

    ---------------------------------------------------------------------------------------------------------------

    REM create the automated SQL Tuning task
    REM If the task exists already (catproc is re-of running) is not error.
    Start
    2 sys.dbms_sqltune_internal.i_create_auto_tuning_task;
    exception 3
    so 4 than others then
    5 if (sqlcode =-13607) then - task already exists
    6 null;
    7 other
    8 lift;
    9 end if;
    10 end;
    11.
    Start
    *
    ERROR on line 1:
    ORA-04063: package body 'SYS. DBMS_SQLTUNE"contains errors
    ORA-06508: PL/SQL: called program unit is not found: 'SYS. DBMS_SQLTUNE ".
    ORA-06512: at line 8 level

    ------------------------------------------------------------------------------------------------------------------------------------------------------------

    After unsuccessful upgrade I have restore and recover the database. SYS. The DBMS_SQLTUNE package and package body were valid. But when I compile them the package becomes invalid.
    I get the error and reach 390221.1 metalink Note:

    ------------------------------------------------------------------------------------------------------------------------------------------------------

    Solution
    -Drop synonyms
    Drop public synonym existsnode.
    excerpt from Drop public synonym;

    ----------------------------------------------------------------------------------------------------------------------------------------------------

    But there are no synonyms, which is mentioned in this note in my PB.

    How can I solve this problem? Thank you.

    If you have not read the note ORA-04063: package body 'SYS. DBMS_SQLTUNE' errors - upgrade to 10 G and 11 G fails on ID Dbms_sqltune 1271490.1+?

    Nicolas.

  • OIA 11.1.1.5 error during the creation of the company structure rule

    Hi all

    I deployed OIA standalone CA. I get the following error during the creation of the corporate rule structure.
    I was facing problem while deploying OIA with RBACX_HOME so I replaced all RBACX_HOME with the actual path. but now I am facing the slot problem.

    14:25:59, 592 INFO [Config] OSCache: get properties of the URL file:/opt/Oracle/OIA_Install/rbacx_staging/WEB-INF/classes/oscache.properties to the default configuration
    14:25:59, 618 INFO [Config] OSCache: read properties {cache.algorithm = com.opensymphony.oscache.base.algorithm.LRUCache, cache.capacity = 10000, cache.blocking = true, cache.memory = true}
    14:25:59, built of 618 INFO [GeneralCacheAdministrator] GeneralCacheAdministrator()
    14:25:59, 620 INFO [GeneralCacheAdministrator] create new cache
    14:26:31, ERROR 339 [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable: RBACX_HOME
    14:26:31, ERROR 339 [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable: RBACX_HOME
    14:26:31, ERROR 339 [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable: RBACX_HOME
    14:26:31, ERROR 339 [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable: RBACX_HOME
    14:26:31, ERROR 339 [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable: RBACX_HOME
    14:26:31, ERROR 339 [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable: RBACX_HOME
    14:26:31, ERROR 339 [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable: RBACX_HOME
    14:26:31, ERROR 339 [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable: RBACX_HOME
    14:26:31, ERROR 339 [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable: RBACX_HOME
    14:26:31, ERROR 339 [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable: RBACX_HOME
    14:26:31, ERROR 339 [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable: RBACX_HOME
    14:26:31, ERROR 339 [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable: RBACX_HOME
    14:26:31, ERROR 339 [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable: RBACX_HOME
    14:26:31, ERROR 339 [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable: RBACX_HOME
    14:26:31, ERROR 339 [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable: RBACX_HOME
    14:26:31, ERROR 339 [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable: RBACX_HOME
    14:26:42, lot size 803 parameter DEBUG [WavesetIAMSolution]: 100
    14:26:42, 804 DEBUG [WavesetIAMSolution] setting role lot size 10
    14:26:43, lot size 230 parameter DEBUG [FileIAMSolution]: 100
    14:26:43, size of 230 DEBUG [FileIAMSolution] setting role lot 10
    14:27, 622 INFO [ContextLifecycleListener] Oracle identity analytics (build: 11.1.1.5.0.20110816_22_11024) Started
    14:30:15, 915 [AbstractWorkflow] loading workflow business user rule creating Workflow Structure error
    com.opensymphony.workflow.FactoryException: unable to load the workflow definition updated, workflow name: business user rule creating Workflow file:${RBACX_HOME}/conf/workflows/userbusinessstructure-rule-creation-workflow.xml Structure
    at com.vaau.rbacx.workflow.SpringContextAwareXMLWorkflowFactory.loadWorkflow(SpringContextAwareXMLWorkflowFactory.java:96)
    at com.vaau.rbacx.workflow.SpringContextAwareXMLWorkflowFactory.getWorkflow(SpringContextAwareXMLWorkflowFactory.java:85)
    at com.opensymphony.workflow.loader.AbstractWorkflowFactory.getWorkflow(AbstractWorkflowFactory.java:48)
    at com.opensymphony.workflow.config.SpringConfiguration.getWorkflow(SpringConfiguration.java:69)
    at com.opensymphony.workflow.AbstractWorkflow.getWorkflowDescriptor(AbstractWorkflow.java:319)
    at com.vaau.rbacx.workflow.manager.osworkflow.OSWorkflowManager.loadWorkflowDefinition(OSWorkflowManager.java:109)
    at com.vaau.rbacx.workflow.service.WorkflowServiceImpl.startWorkflow(WorkflowServiceImpl.java:108)
    at com.vaau.rbacx.workflow.service.WorkflowServiceImpl.startWorkflow(WorkflowServiceImpl.java:175)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    to $Proxy105.startWorkflow (Unknown Source)
    at com.vaau.rbacx.idw.service.RbacxIDWServiceImpl.createUserBusinessUnitRule(RbacxIDWServiceImpl.java:1816)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:113)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:113)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:66)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    to $Proxy113.createUserBusinessUnitRule (Unknown Source)
    at com.vaau.rbacx.idw.web.dwr.impl.DwrBusinessUnitServiceImpl.createUserBusinessUnitRule(DwrBusinessUnitServiceImpl.java:730)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
    to $Proxy151.createUserBusinessUnitRule (Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    to $Proxy142.createUserBusinessUnitRule (Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
    to org.directwebremoting.impl.DefaultRemoter$ 1.doFilter(DefaultRemoter.java:428)
    at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
    at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
    at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
    at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
    at org.directwebremoting.spring.DwrController.handleRequestInternal(DwrController.java:234)
    at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
    at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:512)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    to org.springframework.security.util.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:378)
    at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
    to org.springframework.security.util.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:390)
    at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:116)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
    to org.springframework.security.util.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:390)
    at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:92)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
    to org.springframework.security.util.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:390)
    at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
    to org.springframework.security.util.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:390)
    at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
    to org.springframework.security.util.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:390)
    at org.springframework.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:100)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
    to org.springframework.security.util.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:390)
    at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:176)
    at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:100)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:97)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    14:30:15, 926 ERROR [RbacxIDWServiceImpl] com.vaau.rbacx.workflow.WorkflowInitializationException: not found workflow: business user rule creating Workflow Structure
    14:30:15, 941 exception ERROR [TransactionInterceptor] substituted by a validation exception Application
    com.vaau.rbacx.idw.IDWException: error creating rule userbusinessunit
    at com.vaau.rbacx.idw.service.RbacxIDWServiceImpl.createUserBusinessUnitRule(RbacxIDWServiceImpl.java:1822)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:113)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:113)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:66)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    to $Proxy113.createUserBusinessUnitRule (Unknown Source)
    at com.vaau.rbacx.idw.web.dwr.impl.DwrBusinessUnitServiceImpl.createUserBusinessUnitRule(DwrBusinessUnitServiceImpl.java:730)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
    to $Proxy151.createUserBusinessUnitRule (Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    to $Proxy142.createUserBusinessUnitRule (Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
    to org.directwebremoting.impl.DefaultRemoter$ 1.doFilter(DefaultRemoter.java:428)
    at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
    at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
    at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
    at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
    at org.directwebremoting.spring.DwrController.handleRequestInternal(DwrController.java:234)
    at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
    at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:512)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    to org.springframework.security.util.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:378)
    at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
    to org.springframework.security.util.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:390)
    at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:116)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
    to org.springframework.security.util.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:390)
    at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:92)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
    to org.springframework.security.util.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:390)
    at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
    to org.springframework.security.util.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:390)
    at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
    to org.springframework.security.util.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:390)
    at org.springframework.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:100)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
    to org.springframework.security.util.FilterChainProxy$ VirtualFilterChain.doFilter (FilterChainProxy.java:390)
    at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:176)
    at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:100)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:97)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: com.vaau.rbacx.workflow.WorkflowInitializationException: not found workflow: business user rule creating Workflow Structure
    at com.vaau.rbacx.workflow.service.WorkflowServiceImpl.startWorkflow(WorkflowServiceImpl.java:111)
    at com.vaau.rbacx.workflow.service.WorkflowServiceImpl.startWorkflow(WorkflowServiceImpl.java:175)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    to $Proxy105.startWorkflow (Unknown Source)
    at com.vaau.rbacx.idw.service.RbacxIDWServiceImpl.createUserBusinessUnitRule(RbacxIDWServiceImpl.java:1816)
    ... more than 97

    Thank you

    Looks like Enviornment variable RBACX_HOME is not defined.

    Could not resolve environment variable: RBACX_HOME

  • Get the error during the creation of the type of the Schema element variable

    Hello world

    To create a variable of type of schema, I do the following steps...

    Select 'Variables' after right-clicking on the bpel process. IN this window, go to 'Create VAriable' then select 'Element' type. Now in Type choose, I expanded the my imported schema files. And selected a type of item, and then click ok to create this variable. I get the message...
    TO SAVE ANY WSDL/SCHEMA FILES, YOU MUST HAVE A PARTNER LINK LOCATED IN THE DIRECTORY OF THE CURRENT PROJECT.

    Which is to say by whom.
    I imported the schema files in the project. After that I imported in the WSDL file also. Now why I am getting error during the creation of the variable. However, I can create variable directly in. BPEL file, then everything is fine. And it works too. But what is average with the error above? Why I am not able to create the variable via GUI?

    Thank you.

    Hello

    I have this same problem this morning, and I was going crazy, until I found this Web page on the internet:

    [http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process | http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process]

    The idea is that the jdeveloper is not very good with directories with spaces to work on the directory name. If you move all your work in a directory without spaces, it will work smoothly. At least, it worked for me.

    Kind regards

    Nacho

  • Error in the package

    Hi gurus

    Need your help to solve one of the error, I have the following code:

    Code

    CREATE or REPLACE PACKAGE ppplch_pkg

    IS

    g_names plch_names_t;

    END ppplch_pkg;

    ----------

    CREATE or REPLACE PACKAGE ppplch_pkg BODY
    IS
    -g_names plch_names_t;
    g_names plch_names_t: = plch_names_t ('Blueberry', 'Raspberry');
    BEGIN

    BECAUSE me IN 1.g_names.count
    loop
    dbms_output.put_line (g_names (i));
    END loop;
    end ppplch_pkg;

    Error

    Error (7,13): PLS-00371: more than a declaration for "G_NAMES" is allowed.

    Grateful if someone explain why I get this error message. Thank you

    Concerning

    Shu

    You cannot declare a global variable of package in the package specification and package body. Declare once in the specification of the package if you want it to be a global variable or in the package body if you like private global variable.

    SY.

  • Procedure is not recognized in the package body

    I have this error message:

    Compile for HR.MILOS_PACKAGE BODY of PACKAGE errors

    Error: PLS-00323: subprogram or cursor "RAISE_SALARY" is declared in a package specification and must be defined in the package body

    Online: 19

    Text: IF (l_exists)

    I deffined in the whole of the body after the first procedure that is no problem.

    I don't know what the problem is. There is no other sugestions compiler.

    Procedure works very well when packing.

    PROCEDURE RAISE_SALARY (p_perc p_dep_id NUMBER, NUMBER) IS

    v_emp_id employees.employee_id%TYPE;

    v_sal employees.salary%TYPE;

    v_avg_sal employees.salary%TYPE;

    CURSOR c_salaries IS SELECT employee_id, salary employees

    If NOT EXISTS (SELECT 1 from employees e WHERE e.manager_id = employees.employee_id)

    and department_id = p_dep_id;

    CURSOR c_salaries_m IS SELECT employee_id, salary employees

    WHERE employe_id IN (SELECT distinct manager_id of employees)

    and department_id = p_dep_id;

    Start

    SELECT AVG (salary) IN the v_avg_sal FROM Employees WHERE department_id = p_dep_id;

    OPEN c_salaries.

    LOOP

    EXTRACT c_salaries INTO v_emp_id, v_sal;

    EXIT WHEN c_salaries % NOTFOUND;

    IF v_sal + 1 > 3 * v_avg_sal

    THEN UPDATE employees SET salary = 3 * v_avg_sal

    WHERE employe_id = v_emp_id;

    UPDATE of OTHER employees SET salary = salary * to_number ('1' |'.) ' || p_perc)

    WHERE employe_id = v_emp_id;

    END IF;

    END LOOP;

    CLOSE C_salaries;

    OPEN c_salaries_m.

    LOOP

    EXTRACT c_salaries_m INTO v_emp_id, v_sal;

    EXIT WHEN c_salaries_m % NOTFOUND;

    IF v_sal + 5 > 3 * v_avg_sal

    THEN UPDATE employees SET salary = 3 * v_avg_sal

    WHERE employe_id = v_emp_id;

    UPDATE of OTHER employees SET salary = salary * to_number ('1' |'.) ' || (p_perc + 50))

    WHERE employe_id = v_emp_id;

    END IF;

    END LOOP;

    CLOSE C_salaries_m;

    end RAISE_SALARY;

    Compile for HR.MILOS_PACKAGE BODY of PACKAGE errors

    Error: PLS-00323: subprogram or cursor "RAISE_SALARY" is declared in a package specification and must be defined in the package body

    We hear... you have defined the raise_salary procedure in the package specification but not in the package body. (pretty clear)

    not in the package body means:

    the statement could be different...

    PROCEDURE RAISE_SALARY (NUMBER, p_dep_id NUMBER p_perc)

    so:

    are identical named parameters?

    they have identical data types?

    vary according to the assigned default values?

    vary according to its use (IN/OUT/IN OUT) - (why did not specify the use anyway?)

    HTH

  • PLS-00323: subprogram or cursor is declared in a package specification and must be defined in the package body

    Hi all

    Please help me understand why I receive PLS-00323 error when my function exists in the header and body of the package.

    Please find below the source code.

    Maybe I should post more details here, please tell me what else should I show to get help.

    I tried to compile my drawing

    EXEC DBMS_UTILITY.compile_schema (pattern = > 'ZVIT');

    but still

    Select * from user_errors

    Returns

    NAME TYPE SEQUENCE LINE (LINE)

    ------------------------------ ------------ ---------- ---------- ----------

    TEXT

    --------------------------------------------------------------------------------

    ATTRIBUTE MESSAGE_NUMBER

    --------- --------------

    PACKAGE 2 8 12 PKG_PK8842_ACCNOTMOVE BODY

    PLS-00323: subprogram or cursor "ACCNOTMOVEFIZ" is declared in a specific package

    cation and must be defined in the package body

    ERROR 323

    PACKAGE 1 3 12 PKG_PK8842_ACCNOTMOVE BODY

    PLS-00323: subprogram or cursor "ACCNOTMOVEJUR" is declared in a specific package

    cation and must be defined in the package body

    ERROR 323

    2 selected lines.

    source code:

    CREATE OR REPLACE PACKAGE ZVIT. PKG_PK8842_AccNotMove

    AS

    FUNCTION AccNotMoveJUR)

    p_contragentId dwh_CR_contragent.ID%TYPE,

    p_date Date)

    RETURN number;

    FUNCTION AccNotMoveFIZ)

    p_contragentId dwh_CR_contragent.ID%TYPE,

    p_date Date)

    RETURN number;

    FUNCTION DtLastMove)

    p_Id B2_OLAP. DIMAACCOUNT_ALL.ID%TYPE)

    Date of RETURN;

    END;

    /

    CREATE OR REPLACE PACKAGE BODY ZVIT. PKG_PK8842_AccNotMove

    AS

    FUNCTION AccNotMoveJUR)

    p_contragentId zvit.dwh_CR_contragent.ID%TYPE,

    p_date Date)

    RETURN number

    IS

    l_Result Number (1);

    l_contragentId zvit.dwh_CR_contragent.ID%TYPE;

    l_dateopen Date;

    Date of l_dtMove1;

    Date of l_dtMove2;

    BEGIN

    l_Result: = 0;

    BEGIN

    Select Distinct a.contragentid

    In l_contragentId

    OF B2_OLAP. DIMAACCOUNT_ALL one

    where a.contragentid = p_contragentId

    and a.BACCOUNTID in (2600,2650)

    and a.ACCOUNTSTATEID not in (1,2);

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_contragentId: = NULL;

    END;

    IF l_contragentId IS NOT NULL THEN

    l_Result: = 0;

    ON THE OTHER

    BEGIN

    Select MAX (a.dateopen)

    In l_DateOpen

    OF B2_OLAP. DIMAACCOUNT_ALL one

    where a.contragentid = p_contragentId

    and a.BACCOUNTID in (2600,2650)

    and a.ACCOUNTSTATEID <>2

    and a.DateOpen > p_date;

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_DateOpen: = NULL;

    END;

    IF l_DateOpen IS NOT NULL THEN

    l_Result: = 0;

    ON THE OTHER

    BEGIN

    SELECT MAX (d.arcdate)

    In l_dtMove1

    OF B2_OLAP. DIMAACCOUNT_ALL has,

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE a.contragentid = p_contragentId

    and a.BACCOUNTID in (2600,2650)

    and d.ACCOUNTBID = a.Id

    and d.arcdate > = p_date

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3)

    and not in Substr (d.accountano, 1, 4) ('2608 ', ' 2658');

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_dtMove1: = NULL;

    END;

    IF l_dtMove1 IS NULL THEN

    BEGIN

    SELECT MAX (d.arcdate)

    In l_dtMove1

    OF B2_OLAP. DIMAACCOUNT_ALL has,

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE a.contragentid = p_contragentId

    and a.BACCOUNTID in (2600,2650)

    and d.ACCOUNTBID = a.Id

    and d.arcdate > = p_date

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3)

    and not in Substr (d.accountano, 1, 4) ('2608 ', ' 2658');

    - and d.DOCUMENTSTATEID = 2

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_dtMove1: = NULL;

    END;

    END IF;

    IF l_dtMove1 IS NULL THEN

    BEGIN

    SELECT MAX (d.arcdate)

    In l_dtMove1

    OF B2_OLAP. DIMAACCOUNT_ALL has,

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE a.contragentid = p_contragentId

    and a.BACCOUNTID in (2600,2650)

    and d.ACCOUNTAID = a.Id

    and d.arcdate > = p_date

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3);

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_dtMove1: = NULL;

    END;

    END IF;

    IF l_dtMove1 IS NULL THEN

    BEGIN

    SELECT MAX (d.arcdate)

    In l_dtMove1

    OF B2_OLAP. DIMAACCOUNT_ALL has,

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE a.contragentid = p_contragentId

    and a.BACCOUNTID in (2600,2650)

    and d.arcdate > = p_date

    and d.ACCOUNTAID = a.Id

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3);

    - and d.DOCUMENTSTATEID = 2

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_dtMove1: = NULL;

    END;

    END IF;

    IF l_dtMove1 IS NULL THEN

    l_Result: = 1;

    On the other

    l_Result: = 0;

    End If;

    END IF;

    END IF;

    RETURN l_Result;

    END AccNotMoveJUR;

    --------------------------------------------------------------------------------

    FUNCTION AccNotMoveFIZ)

    p_contragentId zvit.dwh_CR_contragent.ID%TYPE,

    p_date Date)

    RETURN number

    IS

    l_Result Number (1);

    l_contragentId zvit.dwh_CR_contragent.ID%TYPE;

    l_dateopen Date;

    Date of l_dtMove1;

    BEGIN

    l_Result: = 0;

    BEGIN

    Select Distinct a.contragentid

    In l_contragentId

    OF B2_OLAP. DIMAACCOUNT_ALL one

    where a.contragentid = p_contragentId

    and a.BACCOUNTID in (2620,2625)

    and a.ACCOUNTSTATEID not in (1,2);

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_contragentId: = NULL;

    END;

    IF l_contragentId IS NOT NULL THEN

    l_Result: = 0;

    ON THE OTHER

    BEGIN

    Select MAX (a.dateopen)

    In l_DateOpen

    OF B2_OLAP. DIMAACCOUNT_ALL one

    where a.contragentid = p_contragentId

    and a.BACCOUNTID in (2620,2625)

    and a.ACCOUNTSTATEID <>2

    and a.DateOpen > p_date;

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_DateOpen: = NULL;

    END;

    IF l_DateOpen IS NOT NULL THEN

    l_Result: = 0;

    ON THE OTHER

    BEGIN

    SELECT MAX (d.arcdate)

    In l_dtMove1

    OF B2_OLAP. DIMAACCOUNT_ALL has,

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE a.contragentid = p_contragentId

    and a.BACCOUNTID in (2620,2625)

    and d.ACCOUNTBID = a.Id

    and d.arcdate > = p_date

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3)

    and Substr(d.accountano,1,4) <>'2628';

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_dtMove1: = NULL;

    END;

    IF l_dtMove1 IS NULL THEN

    BEGIN

    SELECT MAX (d.arcdate)

    In l_dtMove1

    OF B2_OLAP. DIMAACCOUNT_ALL has,

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE a.contragentid = p_contragentId

    and a.BACCOUNTID in (2620,2625)

    and d.arcdate > = p_date

    and d.ACCOUNTBID = a.Id

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3)

    and Substr(d.accountano,1,4) <>'2628';

    - and d.DOCUMENTSTATEID = 2

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_dtMove1: = NULL;

    END;

    END IF;

    IF l_dtMove1 IS NULL THEN

    BEGIN

    SELECT MAX (d.arcdate)

    In l_dtMove1

    OF B2_OLAP. DIMAACCOUNT_ALL has,

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE a.contragentid = p_contragentId

    and a.BACCOUNTID in (2620,2625)

    and d.ACCOUNTAID = a.Id

    and d.arcdate > = p_date

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3);

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_dtMove1: = NULL;

    END;

    END IF;

    IF l_dtMove1 IS NULL THEN

    BEGIN

    SELECT MAX (d.arcdate)

    In l_dtMove1

    OF B2_OLAP. DIMAACCOUNT_ALL has,

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE a.contragentid = p_contragentId

    and a.BACCOUNTID in (2620,2625)

    and d.arcdate > = p_date

    and d.ACCOUNTAID = a.Id

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3);

    - and d.DOCUMENTSTATEID = 2

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_dtMove1: = NULL;

    END;

    END IF;

    IF l_dtMove1 IS NULL THEN

    l_Result: = 1;

    On the other

    l_Result: = 0;

    End If;

    END IF;

    END IF;

    RETURN l_Result;

    END AccNotMoveFIZ;

    --------------------------------------------------------------------------------

    FUNCTION DtLastMove)

    p_Id B2_OLAP. DIMAACCOUNT_ALL.ID%TYPE)

    Date of RETURN

    IS

    l_Result Date;

    Date of l_DtLast1;

    Date of l_DtLast2;

    Date of l_DtLast3;

    Date of l_DtLast4;

    BEGIN

    l_Result: = NULL;

    BEGIN

    SELECT MAX (d.arcdate)

    In l_DtLast1

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE d.ACCOUNTBID = p_Id

    - and d.arcdate > = p_date

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3)

    and Substr (d.accountano, 1, 4) not in ('2608', ' 2658 ', ' 2628');

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_DtLast1: = NULL;

    END;

    BEGIN

    SELECT MAX (d.arcdate)

    In l_DtLast2

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE d.ACCOUNTBID = p_Id

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3)

    and Substr (d.accountano, 1, 4) not in ('2608', ' 2658 ', ' 2628');

    - and d.DOCUMENTSTATEID = 2

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_DtLast2: = NULL;

    END;

    BEGIN

    SELECT MAX (d.arcdate)

    In l_DtLast3

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE d.ACCOUNTAID = p_Id

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3);

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_DtLast3: = NULL;

    END;

    BEGIN

    SELECT MAX (d.arcdate)

    In l_DtLast4

    B2_OLAP.AR_DOCUMENT d,

    B2_OLAP. DIMDOCUMENTTYPE dt

    WHERE d.ACCOUNTAID = p_Id

    and d.DOCUMENTTYPEID = dt.id

    and dt. OPERATIONTYPEBYSUMMAID not to (2,3);

    - and d.DOCUMENTSTATEID = 2

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    l_DtLast4: = NULL;

    END;

    l_DtLast1:=NVL(l_DtLast1,to_date('01.01.1900','dd.mm.yyyy'));

    l_DtLast2:=NVL(l_DtLast2,to_date('01.01.1900','dd.mm.yyyy'));

    l_DtLast3:=NVL(l_DtLast3,to_date('01.01.1900','dd.mm.yyyy'));

    l_DtLast4:=NVL(l_DtLast4,to_date('01.01.1900','dd.mm.yyyy'));

    l_Result: = Greatest (l_DtLast1, l_DtLast2, l_DtLast3, l_DtLast4);

    IF l_Result = TO_DATE('01.01.1900','dd.mm.yyyy') THEN

    l_Result: = NULL;

    END IF;

    RETURN l_Result;

    END DtLastMove;

    ---////////////////////////////////////////////////////

    END;

    /

    You declare your parameter with a different type between the specification and body, your statements must match.

  • Sync has encountered an error during the synchronization. Unknow error

    I get the following error message: 'Sync has encountered an error during the synchronization. Unknown error. Synchronize automatically retrying this action. "In addition, currently, my favorites are useless: I lost all my favorites and I can't add any new.

    Problems with bookmarks and history does not properly can be caused by a corrupted database places.sqlite file.

    You can check for problems with the database places.sqlite file in the Firefox profile folder.

  • What can I do about 48 error during the update of the iphone 4S?

    What can I do about 48 error during the update of the iphone 4S?

    Hello! Try the procedure described in section of the Apple Support below:

    Solve the iOS update and restore error in iTunes - Apple Support

  • Satellite P305D - different error during the startup sequence

    Hi I have a constant problem I have no idea how fix it. I have Windows Vista Home premium loaded and it works very well when it is running. I can restart the laptop several times and it starts perfectly, if I turn it off for an hour or two and go to start it always happens with a different error during the startup sequence. Most of the time I just go to start Windows normally and it loads, other times I have to go to the ERD.

    I uninstalled Vista and wipe the system well before reloading (using another drive) and the same thing happens. Would it be more likely to be hardware related? I know the battery charges well and I ran all the tools that Vista has to check the hard drive, so I don't know where to go next.

    Any help would be appreciated.

    Terry

    Hello

    Can you please post what errors you get during the boot process?

    In my opinion it could be a hardware problem, because you have already tried to reinstall Vista, so I doubt that the error is software related.
    Strange, but it might be a problem of RAM or HARD disk. The two parties, you can test it with Memtest86 and Drive Fitness Test. Google is your friend to find these two tools.

    In the worst cases, you must go to an authorized service provider. Technicians can check the entire notebook.

  • STOP: c0000221 {Bad Image Checksum}. The image rpcrt.dll is possibly corrupt and recovery XP says error during the extraction process. Details of error: path not found___

    My friend turned on their laptop packard Bell recently and had the following problem. Windows XP screen loads but is then followed by a blue screen that says STOP: c0000221 {Bad Image Checksum}. The image rpcrt.dll is possibly corrupt. The header checksum does not match the checksum calculated.

    I can't the laptop to go further. I have accessed the Microsoft recovery Panel and try a non-destructive recovery as there are some precious photos that need backup. However, when you select 'no profile' to begin the recovery, I get the message:

    Error during the extraction process. Details of error: path not found

    I'm a bit of a novice when it comes to this sort of thing, but if someone can provide step by step help giving rise to lose photos, I'd be willing to give it a try. I also have XP Home Edition disk that came with the laptop but has never been opened. Any help would be appreciated. Thank you

    You hear your message said something about rpcrt4.dll?  It is important to relay the exact message you see.

    Please provide additional information on your system:

    What is your system brand and model?

    What is your Version of XP and the Service Pack?

    Describe your current antivirus and software anti malware situation: McAfee, Norton, Spybot, AVG, Avira!, Defender, ZoneAlarm, PC Tools, MSE, Comodo, etc..

    The question was preceded by a loss of power, aborted reboot or abnormal termination?  (this includes the plug pulling, buttons power, remove the battery, etc.)

    The afflicted system has a CD/DVD drive work?

    You have a true bootable XP installation CD (it is not the same as any recovery CD provided with your system)?

    You use some CD to access this Panel of Microsoft recovery where this "no profile" option is?  I don't know what all this means if it isn't some CD shipped with your system, in which case, I would use it for a coaster instead of something to fix your system.

    If the c:\windows\system32\rpcrt4.dll file is missing or afflicted, you do not start in the last good known Configuration.

    You also will not start in any kind of Mode safe no more.

    Even if you could boot mode safe, you would find that sfc/scannow does not work in Mode without failure in all cases (never).  If you try it, you'll see a message like this:

    Windows file protection could not initiate a scan of protected system files.

    The specific error code is 0x000006ba [the RPC server is unavailable.].

    Failed to start the RPC mode server safe either.

    I can't recreate your error exactly, but it is easy to replace the rpcrt4.dll file.  Looks like you have a working CD drive, so put yourself a Hiren boot CD and when you started on this, you can copy your precious files to a USB device for safety.

    There should be a backup copy of rpcrt4.dll already on your system, here or here:

    c:\Windows\System32\dllcache

    c:\windows\ServicePackFiles\i386

    You need to rename or replace the rpcrt4.dll file which is in c:\windows\system32 and replace it with one you will find the backup copies.

    There should be a backup copy of rpcrt4.dll already on your system, here or here:

    c:\Windows\System32\dllcache

    c:\windows\ServicePackFiles\i386

    When you get the Hiren's CD's, you can use to replace the missing or suspicious file.  If you need help with that, first get the Hiren's boot CD made and start over, then we can continue.

    Do you have a Hiren BootCD you can download here:

    http://www.hirensbootcd.NET/

    On the left, click on download, scroll down, choose the latest version, the download link is a little hard to see.  It is at the bottom of the page, above the drop for older versions and looks like this (click this component to download the ZIP file):

    Direct HTTP mirror + Torrent, Torrent Magnet

    Click the "Live HTTP Mirror" link to start the download and save the ZIP file on your desktop of somewhere that you can remember.

    The ZIP file is large, so the download will take probably some time to complete.  Then unzip the download to extract the Hirens.BootCD.ISO file that will be used to create your new bootable CD.

    Create a bootable CD. ISO file is not the same as simply copying the. File ISO onto a blank CD.  You must use software that includes how to burn a. ISO to a CD to create a bootable CD.

    File ZIP the Hiren is the file BurnToCD.cmd that you can double-click to launch it.  The BurnToCD.cmd will use the file BurnCDCC.exe to burn the. ISO file onto a blank CD using your existing CD burner.  You can also use your own burning software as long as your software is able to create a bootable CD. ISO file.  More modern burning programs can create a bootable CD. ISO image.  Create a CD from an ISO image bootable is not the same as just the file on a CD burning.

    If you need a simple and CD burning, this is a free software popular software:

    http://www.ImgBurn.com/

    Here are some instructions for ImgBurn:

    http://Forum.ImgBurn.com/index.php?showtopic=61

    It would be a good idea to test your new bootable CD on a computer running.

    You may need to adjust the computer BIOS settings to use the CD-ROM drive as the first device to boot instead of the hard drive.

    These adjustments are made before Windows tries to load.  If you miss it, you will need to restart the system again.

    When starting on the Hiren's CD, you will see a menu of options.  Choose Mini XP.  It will appear while Windows is loading and you will be presented with a desktop computer that has the look and feel of the interface of Windows Explorer, you are already accustomed to using.

    Using the Mini XP, you can access Internet, maneuvering around your system, search for files, copy files, replace the files and run the scans for malware, edit the text files (like the c:\boot.ini) etc.

    There are dozens of free and useful tools included in the CD that can be used to repair your system or copy your important personal files on another device (like a USB device or an external drive) in the case where you just give up and decide to reinstall your XP (I hope that you will not make this decision)

    Do, or do not. There is no test.

    I need YOUR voice and the points for helpful answers and propose responses. I'm saving for a pony!

  • Try installing SAGE simply accounting error: "Error 1935. An our error during the installation of Assembly component

    Try to install simple SAGE accounting and the following error:

    "Error 1935. An our error during the installation of the Assembly {97F81AF1-0E47-DC99-A01F-C8B39A1E1873} HRESULT 0X80071A91 component. »

    After this error, I also receive this error:

    "Error: 1603 Fatal error during installation." Consult the help of Windows Installer (MSi.chm) or MSDN for more information.

    Anyone out there has any help with these errors?

    TKS!

    Hello

    1. are you able to install other programs?

    2. How are you trying to install?

     

    I suggest to follow the steps provided and check if it helps.

    Method 1:

    Problems installing and uninstalling programs on Windows computers: http://support.microsoft.com/kb/2438651

    Method 2: You can also configure your computer in a clean boot state, and then try to install it.

    By setting your boot system minimum state helps determine if third-party applications or startup items are causing the problem.

     

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7:
    http://support.Microsoft.com/kb/929135

    Note: After the boot minimum troubleshooting step, follow step 7 in the link provided to return the computer to a Normal startup mode.

    Hope this information is useful.

  • Error during the full backup of the system Vista "Media is not UDF.

    Original title: error during the full backup of the system Vista "Media is not UDF" I tried CD - R and DVD + R

    I just finished day three re - build with all the latest updates and now I want an IMAGE backup to recover from.  When I run Backup asked that media... suggest a label for the DVD but I get the error 'Media is not UDF' end there...

    Also if I back up to another hard drive on my system can recover from this Image?

    Thank you!

    Ken D

    Hello

    backup on an external hard drive or DVD

    the 1st link below is how do the backup of the complete computer for the company, ultimate and vista business

    http://www.bleepingcomputer.com/tutorials/tutorial145.html

    and that is how do to recover the backup complete pc

    http://www.bleepingcomputer.com/tutorials/tutorial144.html

    and here is the information of microsoft in restoring a system image backup

    http://Windows.Microsoft.com/en-us/Windows-Vista/restore-your-computer-from-a-system-image-backup

    If you have problems, it's in here is a forum for microsoft at the link specifically for backup questions below

    http://social.technet.Microsoft.com/forums/en-us/WindowsBackup/threads

  • 0xC1900101 - 0 x 20017 installation failed during SAFE_OS with an error during the START operation

    When you try to upgrade Windows 7 SP1 to Windows 10 ' 0xC1900101 - 0 x 20017 installation failed during SAFE_OS with an error during the START operation "is a problem recurring and none of the solutions posted for a Samsung RV511 work.

    When will there be a solution of Microsoft?

    Concerning

    Hello

    Since Windows 10 is a completely new operating system, the computer manufacturer might still not have designed and developed drivers for it. As suggested waiting for the manufacturer to release the necessary drivers for the hardware and then try the upgrade.

  • 0xc007001d error during the installation of antivirus software

    0xc007001d error during the installation of antivirus software. AVG is the brand name. Installation stops with error code.

    Help!?

    I suggest that you uninstall and redownload it or switch to another brand or use the built in Microsoft Security Essentials. AVG has a bad reputation for bugginess, false positives.

  • Get the error during the copy of installation section

    When you install JDeveloper (jdev_suite_121300_win64.exe) on my Windows 7 with JDK 1.7.0_70 I get the following errors during the copy of the installation:

    • oracle.sysman.oii.oiif.oiifb.OiifbEndIterateException: java.io.IOException: java.io.IOException: com.oracle.cie.common.util.crlf.CRLFException: failure to transform C:\Oracle\Middleware\Oracle_Home\oui\bin\deinstall.sh to C:\Oracle\Middleware\Oracle_Home\oui\bin\deinstall.sh. Could not rename the temporary file: C:\Oracle\Middleware\Oracle_Home\oui\bin\fixcrlf3284256669950451090
    • oracle.sysman.oii.oiif.oiifb.OiifbEndIterateException: java.io.IOException: java.io.IOException: com.oracle.cie.common.util.crlf.CRLFException: failure to transform C:\Oracle\Middleware\Oracle_Home\oui\bin\deinstall.sh to C:\Oracle\Middleware\Oracle_Home\oui\bin\deinstall.sh. Could not rename the temporary file: C:\Oracle\Middleware\Oracle_Home\oui\bin\fixcrlf3284256669950451090

    I'm on the administrator account.

    No idea why I get this error and how to fix it?

    Thank you...

    Please visit to solve the problem.

    http://rohanwalia.blogspot.SG/2015/06/unable-to-install-jdev-couldn ' t - rename.html

    Disable your antivirus and try to install.

    Thank you

Maybe you are looking for

  • Portege 7220: Clearing BIOS password

    HelloI just installed WinXP on my Portege 7220. I installed the utility download, but find that I can not open the HW installation application.I need to disable the BIOS password that had created a previous user.Advice please.See you soon,.NEIL

  • I need to download an app from another app store

    I recently changed my cellular service provider to a provider of alacarte then to the Japan. I have three phones on their family plan. To receive the (substantial) discount for the members of the family calls, you must install their app on your phone

  • Pavilion t770.uk: ADDING a SECOND HARD DISK

    Hello I have a HP Pavilion t770.uk desktop PC. According to the manual, there is a dual Bay HARD drive space, which means that a second HDD can be mounted also on the original HARD disk. Data ATA series and power wires are there and there is space at

  • Sbh52 silent mode?

    Hello Anyway is to silent the sbh52 when I get a call? Because I have sw2 and it vibrates when I get a call that is enough for me. Thank you.

  • B110a pulls on my hair, color custom printing. Help!

    Have spent hours to install my printer, hard work when you are a woman with no experience of techno and only black print. Followed the advice that solved same prob for chap nested and cleaned the heads and checked the vents, no joy. When you try to d