Facing the question Entity framework with Oracle 11 g using MVC 4 connecting

Hello

I am trying to connect to Oracle through Entity Framework data.

I created two projects

((1) one for the project Web MVC4 access data) 2.

It works fine if I am trying to connect using the console Application and App.config, but facing the question trying to connect using we.config and the web application.

I added using Nuget packages in data access project.

I made reference to this dll aaccess of data in the web project and try to call the oracle connection.

Package.config:

< Package >

< package id = "EF" version = "6.0.2" targetFramework = "net45" / >

< package id = "odp.net.x64" version = "112.3.20" targetFramework = "net45" / > "

< package id = "Oracle.ManagedDataAccess" version = "12.1.021" targetFramework = "net45" / > "

< package id = "Oracle.ManagedDataAccess.EntityFramework" version = "12.1.021" targetFramework = "net45" / > "

< / packages >

Web.Config:

< configuration >

< configSections >

<!-for more information on the configuration of the Entity Framework, visit http://go.Microsoft.com/fwlink/?LinkId=237468 ->

< section name = "EF".

type = 'System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, Entity Framework, Version = 6.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089'

requirePermission = "false" / >

"< name =" article oracle.manageddataaccess.client"type =" OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version = 4.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342 "/ >

< / configSections >

< connectionStrings >

< clear / >

< name = "OracleDbContext" providerName = "Oracle.ManagedDataAccess.Client"

connectionString ="Data Source = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = host address)(PORT=1521)) (CONNECT_DATA = (SERVICE_NAME = oracle))); User = username ID; Password = pwd; "/ >

< / connectionStrings >

< Entity Framework >

<!-< defaultConnectionFactory type = "System.Data.Entity.Infrastructure.SqlConnectionFactory, Entity Framework" / >-->

< defaultConnectionFactory type = "Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version = 4.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342" > "

< / defaultConnectionFactory >

<>providers

< invariantName = "Oracle.ManagedDataAccess.Client provider"

Type = "Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version = 6.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342" / >

< invariantName = "System.Data.SqlClient provider" type = "System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" / > "

< / providers >

< / Entity Framework >

< system.data >

< DbProviderFactories >

< remove invariant = "Oracle.ManagedDataAccess.Client" / > "

"< add name =" ODP.NET, successful pilot"invariant =" Oracle.ManagedDataAccess.Client "description ="Oracle Data Provider for.NET, successful pilot"type =" Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version = 4.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342"/ >"

< / DbProviderFactories >

< system.data >

< runtime >

< assemblyBinding xmlns = "urn: schemas-microsoft-com: ASM.v1" >

< dependentAssembly >

< publisherPolicy apply = "no" / >

< name = "Oracle.ManagedDataAccess assemblyIdentity" publicKeyToken = "89b483f429c47342" culture = "neutral" / > "

< / dependentAssembly >

< / assemblyBinding >

< / SPAN >

< oracle.manageddataaccess.client >

< version number = "*" >

< dataSources >

< alias dataSource = "OracleDbContext" descriptor = "(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=hostname) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = oracle)));" User = username ID; Password = pwd; "/ >

< / dataSources >

< / version >

< /oracle.manageddataaccess.client >

< / configuration >

I am facing the sub question:

Provider of the type EF ' Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version = 6.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342 "in the application for the vendor configuration file ADO.NET with invariant name 'Oracle.ManagedDataAccess.Client' could not be loaded." Make sure that the qualified assembly name is used and that the assembly is available in the currently running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

Hello

I tried with what follows and it started working.

I just pointed out that line of defaultConnectionFactory in the web.config file

Type = "Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version = 6.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342" / > "

.

Tags: Database

Similar Questions

  • Integration of the OPA 10.4 with Oracle E-business Suite

    We have a requirement for the integration of the OPA 10.4 with Oracle E - business suite.

    The condition is hypocritical:

    (1) EBS can call rules of the takeover bid on any screen - I think that this will be achieved by Oracle determinations Server (ODS) with probably a middleware between both to facilitate the exchange of webservice.

    Request- I just wanted to know if there is another way to better or if it is only best option?

    Are there examples of projects or pointers that can help us get a better understanding of the present?

    (2) given certain conditions of release in EBS, the modules of the OPA may be invoked, but this time there may be a few involved OPA interview screens.

    Request- How to proceed and achieve this goal?

    Any help on the above queries is really appreciated.

    (1) it is for an older version of OPA, but you might find something useful in this tutorial.

    (2) launch a browser window in passing a single parameter "caseid" to OPA startsession URL, so that a data adapter that you write can load and save data interviews of EBS based on the id of the object.

  • Advantage of the portfolio after the migration to HSM with Oracle 11.2.0.1.0

    Hello

    I found this integration for Utimaco Cryptoserver guide: http://hsm.utimaco.com/solutions/db-encryption/ and now I wonder if it is necessary to keep the original portfolio after the migration of HSM with Oracle 11.2.0.1.0. As I understand it, eventually all the necessary keys are stored in HSM. Is still used portfolio in a way or is it possible to reuse maybe after you set the METHOD to FILE sqlnet.ora?

    Thank you

    Hi flyer007,

    If you used the Wallet before Oracle, then migrate the master key of TDE from there to an HSM is a renewal of key operation; the keys of the table (for the TDE column encryption), and tablespace (for TDE tablespace encryption) key is decrypted with the old key in the portfolio) and encrypted again with the new MK unified (in the HSM).

    Your RMAN backup files, export files Data Pump and same 'live' in the redo logs, TEMP and UNDO tablespace can be encrypted with the old MK in the wallet, that's why we NEVER delete the portfolio.

    Of course, the Oracle database automatically knows what MK he needs.

    Good luck

    Peter

  • Facing the question with the operation of CreateWithParams

    Hello

    I use Jdeveloper 11 g (11.1.2.1.0). My requirement is duplicated a few column values of the above line.

    I created ADF Table and used the CreateWithParams of the operation. It works. But the question is, always, is to copy the values from the first row of the table and it is to insert the new record at the beginning of the Table of the ADF.

    I want to duplicate the value of the current record position and insert the folder just below.

    I spoke * [ADF Code corner 013. How to declaratively create new rows in the table based on the existing line content | http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/13-create-with-params-169140.PDF] * steps. All of the suggestions.


    Concerning
    Surendra

    Hello

    + 1. As soon as the new record is created, the validation is going to get fired. He started the error message saying DeparmentID value is required. How to stop this. +

    If the attribute is required, then it must be provided. You cannot create a folder without providing the required attributes. He would miss at least when persistent change in the database

    + 2. The new line is be created above the currently selected line. How do I create the line below the currently selected line. +

    To insert the line at a specific position have a peek here, which adds the row to the end

    http://adfbugs.blogspot.de/2010/04/inserting-new-rows-as-last-row-of-table.html

    In your case - you use CreateWithParams, you need get the current line, then create your new line, remove the new line (as it is inserted in the wrong place) and then add back a rank after the current. Indeed, it is easier to achieve if you manually created the line. However, its possible

    Frank

  • Could not import the Pentecost Entity Framework stored procedures

    Hi, I have a problem with Entity Framework 5 and stored procedures. I can add stored procedures to mi with "Update Wizard" solution, but them does not show in the Model Explorer and I can't use my code. I have ODAC 12 c Release 2 installed in my pc.

    There is a bug in the database Oracle 12 c that occurs only with a snap-in database. It is fixed in the next group of patches from database. (bug #17448545)

    There are three workarounds in the meantime:

    (1) to re-create the database without the shared option (no plug-in database)

    (2) install your schema in the database of the container instead of a snap-in database. You will need a user name as C ##HR to do. It is not advisable on a production database.

    Add 3) the section of manually in in the edmx file. Note that this is deleted when you "Generate database from model" or "Update model from database".

    for example:

    ...

    ParameterTypeSemantics = "AllowImplicitConversion" scheme = "SCOTT" >

  • WLST Script to create the field of OSB with Oracle XE

    I installed oracle Service bus 10.3 with Oracle XE on a CentOS linux distribution. Everything went well. I created a default domain with the Wizard (so with Pointbase). Now, I want to go a little further. So I want to automatically create a domain OSB for Oracle XE. I used the following script (I borrowed from another thread ;-))):

    -----
    import sys

    Print "@ from the script...» »

    Try:
    domaintarget = "/ apps/bea/user_projects/domains/test2.
    domainUser = "weblogic.
    wl_home='/apps/BEA/wlserver_10.3'
    workshop_home='/apps/BEA/workshop_10.3'
    osb_home='/apps/BEA/osb_10.3'


    def configOraDB (dataSource):
    CD (DataSource)
    URL = "jdbc:oracle:thin:@localhost:1521:XE".
    Set ('URL', URL)
    Set('DriverName','oracle.) JDBC. OracleDriver')
    cmo.setPasswordEncrypted (domainUser)
    CD (' Properties/NO_NAME_0/Property/user')
    Set ('Value', domainUser)
    CD ('. /.. /.. /.. /.. /.. /.. / JdbcConnectionPoolParams/NO_NAME_0 ')
    cmo.setTestTableName ('dual')


    # Open a field template.
    readTemplate (wl_home + ' / common/templates/domains/wls.jar')

    CD (' Servers/AdminServer')
    together ('ListenPort', 7002)
    Set('ListenAddress','')


    CD('/')
    CD (' Security/base_domain/user/weblogic')
    cmo.setName ('weblogic')
    cmo.setPassword ('weblogic')
    setOption ('OverwriteDomain', 'true')
    writeDomain (domaintarget)
    closeTemplate()

    readDomain (domaintarget)


    addTemplate (workshop_home + ' / common/templates/applications/workshop_wl.jar')
    addTemplate (wl_home + ' / common/templates/applications/wls_webservice.jar')
    addTemplate (osb_home + ' / common/templates/applications/wlsb.jar')

    configOraDB('/JdbcSystemResources/wlsbjmsrpDataSource/JdbcResource/wlsbjmsrpDataSource/JdbcDriverParams/NO_NAME')
    configOraDB('/JdbcSystemResources/cgDataSource/JdbcResource/cgDataSource/JdbcDriverParams/NO_NAME')
    configOraDB('/JdbcSystemResources/cgDataSource-nonXA/JdbcResource/cgDataSource-nonXA/JdbcDriverParams/NO_NAME')



    updateDomain()
    closeDomain()


    except:
    dumpStack()
    Print "unexpected error:", sys.exc_info () [0]
    lift
    -----

    This creates a pretty empty field, as I have not yet created a real database. The command I found was

    loadDB ('10g ','wlsbjmsrpDataSource ')

    that will load the appropriate tables (of OSB/dbscripts /..)

    The problem is that I have no schema/user created in Oracle XE. So, I can manually create this but is not what I want to do. I also want to be scripted. So, how can I do this or is this not the way to go. You always manually create users on the database for three data sources (cgDataSource, wlsbjmsrpDatasrouce, cgDataSource-nonXA) before running a script to make a loadDB. Or do I run some kind of script create_user.sql or something.

    A second issue is that I can't find the scripts for the databases for cgDataSource and cgDataSource-nonXA data sources. They should be somewhere in workshop_10.3 but I can't find them. So, what is the problem here, I have to do a loadDB('10g','cgDataSource') or that eventually an error?

    My last question is I want to change the ALSB_DEBUGPORT (7 something) and debugging of the FMV of port (8453) in my script, how can I do this? I had another instance that already use these ports, so this won't work...

    My preference would be to invoke wslt by ant. This way Weblogic specific configurations can be addressed using WSLT and generic configurations (create DB users) can be done using ant.

    The files SQL to create tables required for the OSB are present in/MiddlewareHome/Oracle_OSB1/dbscripts/oracle. Try to run manually by using the Ant sql task. Create DB users is also possible using the same Ant SQL task http://ant.apache.org/manual/CoreTasks/sql.html.

    There are several ways you can do. I use http://ant.apache.org/manual/CoreTasks/replace.html as shown below in an Ant macro. Similarly, you can replace the ALSB_DEBUGPORT debug port and jvm debugging.

              
         



              
         


              
         


              
         


              
         


              
         


    Maury

  • Develop the encryption Transparent data with Oracle 10 g XE

    Currently I develop an application that will require encrypted in some tables columns, I will recommended to the customer buying an Oracle database for the application and that you have installed Oracle 10 g XE to begin development, I found that I can't create tables with columns TDE tho I can't create a portfolio. I searched the forums and found that a portfolio manager is not available with Oracle XE.

    My plan was to develop the application and then provide scripts for creating the DBA of the customer so that they can create data tables in their Oracle database... Can I develop the application without transparent data encryption and then say s/n, which must be implemented in the version of the application? The application needs to know the password of portfolio/TDE to encrypt/decrypt the columns!

    Any ideas how I could go on the development of the customer Oracle XE database without access to CDW?

    The T in TDE is transparent, so that your application should need not even be aware that all columns or storage are encrypted. Transparent data encryption are generally implemented in systems that were never designed to encrypt data, so in theory it should be 'perfectly safe' to develop not encrypted and have the client encrypt the columns during installation.

    Of course, when marketing people start talking about things that are 'perfectly safe', it is always a sign of coming danger. Although I have never heard of a case where encrypt a column caused a problem for an application, I would be very doubtful to the development in an environment different from that of production. This includes the exact version of the database (I guess that the customer has installed the last patchsets, so they run 10.2.0.4, for example) as well as editing. If you decide to rely on the fact that everything should go smoothly when you promote to a different version of a different edition of the database with a different schema definition, even if it would normally, you virtually guarantee that you will end up with a problem that will be difficult to solve.

    In your case, I would use XE to the development. It would be much safer to develop against the personal edition. It's not free, but it's the database licensed Enterprise edition to run on developer machines. It is not free, but it is much less than an enterprise edition license.

    Justin

  • Deploy the adf on glassfish with oracle database server.

    I am trying to create a connection from the pool on glassfish 4 oracle database server.

    but I could not. I was trting to ping and show this error ping Connection Pool failed for audio. Class name is incorrect or classpath is not set to: oracle.jdbc.pool.OracleDataSource

    GlassFish 3.1 is supported, 4.x is not.

    Oracle JDeveloper and ADF 12 c (12.1.3) supported systems

  • Book the question of transfer with the only difference being: point Info/display: any device OR any stand-alone devi

    I use ADE to transfer a PC (windows 7) in a corner. I had no problem until a recent book purchase. I can't transfer the book in the corner [title of the book CE_COPY_NOT_ALLOWED - without permission to copy the Book]. I did all the permission things that are always recommended [allow the PC, remove and allow the PC, remove records of Nook, reauthorize Nook, etc.] several times. The Nook fine copy all the old books. But this will not be [I even bought another to check and it is not]. I have 2 books (a copy and we won't) from the same Editor (I bought a few months ago and the other is a new). The only difference I see is that when you select the book, click right, look at the Info under viewing point there are 2 different things. For the book which will copy, an observation: on any device. [For the book that doesn't copy, an observation: on any stand-alone device]. There seems to be a change DRM. What can I do?

    Thanks-*-Roy

    I've not seen the ' display: on any stand-alone device "before.

    One thing to try is to evade the ADE and a copy to the .epub DRM from PC to Nook by using Windows Explorer or similar.

    The info book by ADE will tell you where the file is on the PC.

    Probably should go in the "Digital Editions" folder on the corner, but should be pretty easy to see where the .epub files go. (***)

    Copy almost certainly works independently of the ' watch one: on any stand-alone device ' detail.

    It may or may not be that the meal will be ready to show it once it's there.

    (*) p.s. just realized that you can find where the books are placed on the corner of info book by ADE as well.

    Just look at your Nook library in ADE and watch the news.

    At least, it will work for books in the corner; then say you the right directory.

  • Hello everyone, I just bought a Thunderbolt Apple display to use with my 2012 15 "27" Macbook Pro, Win10/Bootcamp. Is anyone know the procedure to get the display to work with Bootcamp Windows 10?  I have connected screen but no picture. TY

    Hi all

    I just bought a Thunderbolt Apple display to use with my 2012 15 "27" Macbook Pro Win10/Boot Camp running. Is anyone know the procedure to get the display to work with Bootcamp/Windows 10? Is there a setting in the training Camp that must be turned on to make it work? I have connected screen but could not get a desktop display.  Any help would be really appreciated! TY

    The monitor should have a TB and adapter power connector. The monitor works on both OSX. ? If so, shut down of windows, connect monitor and start Windows. Your TB 2012 monitor is not plug-and-play with Windows.

    Please see ports Thunderbolt and views: frequently asked questions (FAQ) - Apple Support .

    1. the "hot pluggable" Thunderbolt devices using Windows with Boot Camp?

    Thunderbolt hot plugging is supported under Windows 8 or 8.1 on all Macs from 2014 and later.

    For all other Mac computers, Windows 7, 8 and 8.1 scans and active them Thunderbolt devices connected to ports Thunderbolt during the Windows startup process. If your device has been plugged in not at startup, Windows detects not without a reboot.

  • Noob question on uneven with sides horizontal arrangement using CSS containers

    I can easily make layouts css horizontal with container into the container when the parent container is a strip of equal height to the Summit on the attached example. I wonder how to provision low scratched on the example attached, which is the color of background with different heights. Usually, the bottom of the container in the middle is an image file and the sides are thoroughly with the image of html colors.

    I don't know if there are web sites with this provision, but if there I'd love to check out them and if there is a tutorial would be great.

    I hope I make sense

    differentHeightSides.jpg

    When the text size is increased in browsers, text will reverse the fixed size containers. Use height min instead of the height.

    I think that the best you can do is create two divisions side by side and add a margin-top to the container on the left side.  See my example built with not only a CSS grid system:

    http://ALT-Web.com/notjustagrid/uneven-containers.html

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB

  • Facing the question with blob url

    Hi all

    I am facing a problem with the URL of the BLOB. When I try to print with "< % = ics. GetVar ("imageUrl") % > ' print fine but when I try to store it in a string variable, its getting changed to "satellitescheme://SSURI/?". "SSURIapptype = BlobServer & id = blobkey & SSURIcontainer = Default & blobwhere = 1403298855215 & SSURIsession = false & ssbinary = true & SSURIsscontext = Server + Satellite & blobcol = urldata and blobtable MungoBlobs #satellite"

    There is no error in the log. Here is my code: -.

    < outstr render: getbloburl = "imageUrl" c =' < % = ics. GetVar ("c") % > ' cid =' < % = ics. GetVar ("cid") % > ' field = "file_req" />

    Can any body tell me what could be the reason for this.

    Kind regards

    NJ

    Use the tag

    Kind regards

    Guddu

  • Facing the question with the Maximum number of connections Timesten

    Hello

    In my project, I need to increase the maximum number of connections that timesten offers me. So, I changed the setting of the nucleus as shown below in the file/etc/sysctl.conf.

    kernel.SEM = 655 670720 128 1024

    The intention here is to get 500 connections max. But even after this setting too, I get only 477 connections. I don't understand why this is happening. Someone help me understand what is happening here.

    In above configuration, my hypothesis is that 155 semaphores are reserved for internal use of timesten and remaining 500 will be available for me, but this isn't the case. Please, help me in this aspect to understand why I get only 477 connections instead of 500 connections.

    Quick help is very appreciated

    Thank you

    Agnes

    Hi Agnes,.

    Thanks for the release of ttStatus. He explains what is happening and confirms my suspicions (second).

    The setting of the 'Connections' in the DSN attribute defines the limit superior on user connections; that is, connections by applications and tools such as ttIsql, ttMigrate etc etc. There is also the concept of connections 'system' (subdaemon, replication agent, agent of cache etc) that do not count against the total "Connections."

    In your case, the database is in fact properly configured for a maximum of 500 user connections. However, as you can see on the first ttStatus, you already have 23 application direct mode of 4 different connections methods of Java (which leaves the available user 477 connections). I of course have no idea what these applications are but probably your. This means that you are able to open additional connections a 477 application before arriving to the configured limit of 500. And that's exactly what we see; When you run your test application (what happens to connect via client/server), it reached 477 connections and then impossible to create more. As expected.

    Therefore, to allow connections you must:

    1. stop the database (replace ramPoilicy by manual (or inUse), stop all applications, stop the replication agent, unload from memory if the policy is manual)

    2. change the value for connections in the attributes of the DSN to a higher value (perhaps 600) - also, you need to make sure that OS semaphores are high enough to allow this number of connections.

    3. load the database back in memory, start the replication agent, starting applications.

    A a tied note, use of ramPolicy 'always' is not encouraged. In addition to the scenarios 'manual' is a better choice. We can "always" deprecated in a future release.

    Chris

  • Facing the question with the analytic function

    Hello

    I do a partition by Id and categorize data by date.
    But the data are not get ordered by date.


    Data:
    TID   Fid   TDate
    
    11     100  19/01/2009
    11     102  12/01/2009
    11     103  13/03/2009
    18     556  01/02/2009      
    16     400  05/03/2009
    16     401  06/04/2009
    17     300  05/02/2009
    
    count(*) over (partition by tid order by tdate)
    Please suggest.

    Published by: user545846 on June 4, 2009 10:26

    Thank you for your example!

    And:

    : D I do not... I had checked after the comment from Alex

    Well, I'm glad that my first thoughts turned to be false.

    How about this, I made the assumption that thebishop 15 should come after thebishop 10 (they both have the same max tdate), because it has a lower counter:

    MHO%xe> select tfid
      2  ,      src
      3  ,      tdate
      4  ,      bid
      5  ,      sid
      6  ,      fid
      7  from  ( select t.*
      8          ,      count(*) over (partition by t.tfid ) cnt
      9          ,      max(tdate) over (partition by t.tfid ) dt
     10          from   trading t )
     11  order by dt desc
     12  ,        cnt desc
     13  ,        tdate desc;
    
          TFID SRC        TDATE                      BID        SID        FID
    ---------- ---------- ------------------- ---------- ---------- ----------
            13 KP         22-02-2009 00:00:00       5468       7865        111
            13 MS         18-02-2009 00:00:00       4669       6893        110
            10 KP         20-02-2009 00:00:00       1258       6985        106
            10 KP         10-02-2009 00:00:00       1548       9675        100
            10 KP         02-02-2009 00:00:00       5468       7895        101
            15 KP         20-02-2009 00:00:00       1548       6975        118
    
    6 rijen zijn geselecteerd.
    
  • Facing the question in calc script while trip data for the current year to the previous year

    Hi all

    Need your serious help in my calc script.

    I am writing a calc script to transfer data from order book of FY15 Q1 to Q4 FY14 here is the problem in my script. If spin this script to copy the same year, it works fine but when trying to load between two different years, it does not work. could someone help me please. where miss me the logic. Thanks for the help in advance.

    Here's the script:

    ESS_LOCALE English_UnitedStates.Latin1@Binary

    SET AGGMISSG

    DIFFICULTY (@List ("real GL", "Real ML", "ACT", & ActualLoadYrBklg))

    () "Dec / (Inc.) in suffering.

    IF (@Ismbr ("Q4"))

    "Dec / (Inc.) in suffering (Non - di) =.

    -1 * (("Q1"-> "starting Backlog",-1,@Relative("Years",0)) @Prior - ' count backward (Non - di) ");

    "DENTE change overdue =.

    -1 * (@Prior ("Q1"-> "Cost",-1, @Relative("Years",0))-"Cost of rear" rear);

    Else if (@IsMbr ("Q1": "Q3"))

    "Dec / (Inc) order book ' =-1 * (@Prior ('Rear start',-1, @Relative("YearTotal",0))-" starting back (Non - di) "");

    'Change of GEAR wheels in suffering' =-1 * (@Prior ("backward Cost",-1,@Relative("YearTotal",0)) - "money back");

    endif ;)

    endfix

    SM.

    My first question is what is the order of members in your dimension years and quarter the level low your dimension of periods? Secondly, what dimensions are rare and dense (can you tell me which members in the calc are in dense and sparse dimensions)

    Third, you cite the specific years FY15 and FY14, I suppose that & ActYearBklg is FY15 assuming this is correct, I would add a substitution variable for & PriorYrBklg with FY14 inside (if I'm back, and then modify the variables) for clarity, I'm going to hardcode the values in the Calc. It also assumes years is sparse

    You can try this

    FIX ("GL 'real 'real ML", "ACT", "FY15") / * you need not @list * /.

    () "Dec / (Inc.) in suffering.

    IF (@Ismbr ("Q4"))

    "Dec / (Inc.) in suffering (Non - di)"-> "FY14 =.

    -1 * ("Q1'-> 'backlog begins' - 'Start rear (Non - di)'->"FY14");

    "DENTE change orders"-> "FY14 =.

    -1 * ("Q1"-> "Of back - cost"Back cost"-> FY14");

    Else if (@IsMbr ("Q1": "Q3"))

    ("Dec / (Inc) order book"-> "FY14' =-1 * beginning backlog->"FY14'-'Begins the backlog (Non - di)');

    'Change of CMV in the order book "->" FY14' =-1 * ('Back cost'-'Back cost'-> "FY14");

    endif ;)

    endfix

    The years may be replaced by the subvars

Maybe you are looking for