Currency Data Model doubt

Dear experts,
I have a doubt regarding data modelling in BPC.
I have a dimension called Units which is my Currency dimension in the Application, I don't use the standard RptCurrency diemnsion. This dimension has members which are crrencies such as EUR, DOL, LC and units such as BOX, KG.
We have done this because we plan in the input schedules, Sales Volumes in BOX and Prices in EUR.  Now we want to calculate de Net Incomes, which should be BOX * EUR. We are not able to create the script logic which does this because of the currency. 
Is this model correct? This is, does it have sense in BPC or is it possible, to multiply two accounts with different currencies, or should we instead, need another dimension (user defined) for the units maintaining the standard currency Dimension (RptCurrency)?
This is a very common thing to do when planning, how do you experts solve this?
Thanls a lot for your time and your help.
Best regards,
Cecilia

it contains only 11 places before decimals ...
below program gives a dump with
'Overflow when converting from "1234567890123.11"'
data : v_curr type PAD_AMT7S. "( Curr 13 , 2)
v_curr = '1234567890123.11'.
while it runs perfectly when we give
v_curr = '12345678901.11'. " ( 11 + 2 )

Similar Messages

  • Report locale, subtemplates and Data Model

    Hi,
    I have the following situation:
    We have 4 templates according to language, with french the default language:
    - FR: template.rtf
    - NL: template_nl.rtf
    - DE: template_de.rtf
    - EN: template_en.rtf
    The report locale is enough for BI Publisher to select the correct template, so that's OK.
    Some data from our database is also based on locale (eg street names and cities).
    Question 1: is it possible to use the current locale as parameter for the (sql) data model in some way (eg by using a specific parameter name)? For now we set the report locale to the correct language AND we send that same value through as a parameter. It would be cleaner to just set the report locale and be able to use that value in some way.
    Question 2: all of the above templates have a footer that's being reused, each also share the same data model, but the data is again based on the current locale.
    so: footer.rtf, footer_nl.rtf, footer_de.rtf and footer_en.rtf. Do I need to import all of these in their respective files or will localisation work (I doubt it)?
    Question 3: Is there a way to implicitly pass all parameters that were passed to the main template, also pass to the subtemplates? (eg LANG parameter is passed to template_nl.rtf, who can use it in his data model, is there a way to automatically make LANG available for footer_nl.rtf's data model or do I need to explicitly pass it as a parameter in the <?call-template: footer?>) - again if the report locale is available in some way to the data model, it would be easy.
    Thanks in advance

    Hello,
    Probably the easiest would be to use an OnDemand Process and some AJAX to pull your data into the extjs object.
    Here's an example of an OnDemand Process.
    http://apex.oracle.com/pls/otn/f?p=11933:11
    For data the easiest at the moment would be probably to use the Oracle XML functions to generate your data in XML and use that as your data feed.
    You might want to take a look the new Interactive Reports included in APEX 3.1, while extjs has alot of functions there is a bit of setup involved , while the Interactive Reports all you need is a SQL query http://www.oracle.com/technology/products/database/application_express/html/irrs.html
    You should search the forum for extjs as there has been quite a few successful integrations of APEX and extjs / YUI / jQuery etc.
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • Xcode, how do you take an app from an idea to a data model, data structure, or class structure?

    Hey everyone!
    I'm a beginner xcoder and computer engineering sophomore and have literally spent every hour of the past few weeks reading as much as I possibly can about becoming a developer.
    I've found plenty of documentation, and guides on how to do very specific things in xcode and objective-C but am still looking for more information on one topic; how do you decide which data models/structures/controllers etc to use?
    I mean, you personally. I've been looking for a resource on this and have not been able to find one. I just finished Apple's iOS Developers Guide and they mention "choosing a data model" but do not describe them in much detail.
    The following is what is provided in the guide:
    ● Choose a basic approach for your data model:
    ● Existing data model code—If you already have data model code written in a C-based language, you
    can integrate that code directly into your iOS apps. Because iOS apps are written in Objective-C, they
    work just fine with code written in other C-based languages. Of course, there is also benefit to writing
    an Objective-C wrapper for any non Objective-C code.
    ● Custom objects data model—A custom object typically combines some simple data (strings, numbers,
    dates, URLs, and so on) with the business logic needed to manage that data and ensure its consistency.
    Custom objects can store a combination of scalar values and pointers to other objects. For example,
    the Foundation framework defines classes for many simple data types and for storing collections of
    other objects. These classes make it much easier to define your own custom objects.
    ● Structured data model—If your data is highly structured—that is, it lends itself to storage in a
    database—use Core Data (or SQLite) to store the data. Core Data provides a simple object-oriented
    model for managing your structured data. It also provides built-in support for some advanced features
    like undo and iCloud. (SQLite files cannot be used in conjunction with iCloud.)
    ● Decide whether you need support for documents:
    The job of a document is to manage your app’s in-memory data model objects and coordinate the storage
    of that data in a corresponding file (or set of files) on disk. Documents normally connote files that the user
    created but apps can use documents to manage non user facing files too. One big advantage of using
    documents is that the UIDocument class makes interacting with iCloud and the local file system much
    simpler. For apps that use Core Data to store their content, the UIManagedDocument class provides similar
    support.
    I suppose my question boils down to, how do you decide which structures to use? If you can provide an example of an app idea and how its implemented that would be very helpful and much appreciated!
    For example, to implement the idea of an app which allows users to progress through levels of knowledge of a certain subject and rewarding them with badges and such (this is not an actual app just a whim) how would one model that?
    Thanks in advance for all your help!!!

    SgtChevelle wrote:
    how do you decide which structures to use?
    Trial and error.
    I wish I had a better answer for you, but that pretty much encapsulates it. There is some, but not much, good wisdom out there, but it takes a significant amount of experience to be able to recognize it. The software development community if currently afflicted with a case of copy-and-paste-itis. And the prognosis is poor.
    The solution is to be brutal to yourself and others. Focus on what you need and ignore everything else. Remember that other people have their own needs and methods and they might not be applicable to you. Apple, for example, can hire thousands of programmers, set them to coding for six months, pick the best results, and have the end-users spend their own time and monety to test it. If you don't have Apple's resources and power, think twice about adopting Apple's approach. And I am talking from a macro to a micro perspective. Apple's sample and boilerplate code is just junk. Don't assume you can't do better. You can.
    Unfortunately, all this takes time and practice. You can read popular books, but never assume that anyone knows more than you do. Maybe they do and maybe they don't. It takes time to figure that out. Just do your best, ignore the naysayers, and doubt other people even more than you doubt yourself.

  • Session variables in bi publisher 11g data model

    Hello ,
    I am new to bip data models , i am creating data model using bi answers issued sql query . In that bi answers there is an column containing session variable (nq.session.Currency) . When using column in bip data model . How do i give filter column telling it has session variable and setting the session variable currency as bind parameter .
    Please provide inputs how to use columns containg session variable in bi publisher data model
    Thanks,
    SRIKANTH

    Hi,
    You can use VALUEOF("session_variable_name") in the filter condition in your logical query.
    BR.

  • Reporting Services (SSRS) connecting to a Tabular data model: losing formatting

    Hi all,
    we are developing a SSAS Tabular data model to enable users to connect to it via:
    - excel pivot table
    - power view reports
    - reporting services reports
    We invested a lot of time in correctly setting the format of the different columns directly in the data model, in order to have the same consistence format layout in all the reporting clients. For example currencies column with no decimals and with thousand
    separator, percentage with just 1 decimal and with the % symbol, date in short date format and so on.
    The same with KPIs: for every KPI we decided in the data model which representation to use
    When using excel pivot table or power view reports everything works ad expected.
    When using Reporting Services instead all the formatting chosend in the data model is gone and also the KPI representations. Why? Is there a way to have them also in SSRS?
    Thank you,
    Roberto

    Hi jdb09,
    Your issue can be caused by many factors, it can be caused by the connection string is not correct, please check to make sure the it is correct.
    Please check details information below to make sure you have done the correct connection and configuration first:
    Connecting and Configuring SQL Server Parallel Data Warehouse (PDW) Clients
    Similar theads for your reference:
    https://support.microsoft.com/kb/2750044/en-us?wa=wsignin1.0
    http://communities.bentley.com/products/assetwise/assetwise_platform/w/wiki/ssrs-report-server-mssqlserver-cannot-load-the-sqlpdw-extension
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • File with pls extension opens with data modeler instead of sql developer

    Hello,
    I have both SQL Developer and Data Modeler installed as separate installations. If I  click in  the Windows File navigator on a file with the extension pls, the SQL Developer should open since the pls extension has been connected to SQL Developer.
    If I have neither SQLD nor DM open, SQLD opens -> ok
    If I have only SQLD open, the file is opened in SQLD -> ok
    If I have only DM open, the file is opened in DM -> not ok
    If I have both SQLD and DM open, the last started application opens the file -> sometimes ok
    Is it possible to manage the opening of a pls to open always in SQL Developer?
    Joop

    This is quite an old problem which I have seen with JDeveloper and SQLDeveloper so it may be framework related. I don't currently have both installed to check it out, but as it has been around a long time I doubt it has gone away.
    SQL files would open in either JDeveloper or SQL Developer following the pattern Joop described. Java files would only ever open in JDeveloper.    IIRC there was never a SQL file association for JDeveloper and SQLDeveloper was always the default.

  • Physical Data Model For GL

    Hi Experts,
    I am new to Oracle Apps, I need Data Model for GL tables..from wherer we can get it.
    Please suggest !
    Regards
    S

    Hi,
    As you aware major part of GL is based on Chart of Account, Calander (GL Period) and Currency, you can check all tables related to these.
    You can use below query to get those tables :
    select from all_tables where table_name like 'GL%' and owner='GL'*
    and table_name not like 'GL_ALLOC%' and table_name not like 'GL_CONS%'
    Please do refer the doc suggested by the other expert in this thread..
    Regards,
    S.P DASH
    N.B : We believe you put a GL question in a wrong folder/Thread (Procurement) :).. you could have received a better response had it been in Finance folder.. :)

  • Physical data model

    We are trying to report our physical data model from Designer2000 meta data.
    Actually individual reports exists within Designer showing tables, attributes.
    However, we would like to have a single report, combining all tables with their text description, along with their attributes and their characteristics (nullable, type, length, domain...)
    Is anybody as always did that ???
    Thanks,
    Alain

    Hi,
    As you aware major part of GL is based on Chart of Account, Calander (GL Period) and Currency, you can check all tables related to these.
    You can use below query to get those tables :
    select from all_tables where table_name like 'GL%' and owner='GL'*
    and table_name not like 'GL_ALLOC%' and table_name not like 'GL_CONS%'
    Please do refer the doc suggested by the other expert in this thread..
    Regards,
    S.P DASH
    N.B : We believe you put a GL question in a wrong folder/Thread (Procurement) :).. you could have received a better response had it been in Finance folder.. :)

  • Network data model for public transport

    Hi,
    I've been playing with Gis for the last 10 years and now I am enrolled in a project to find best way to go from one point to another in Barcelona (Spain) locations, using the public transport network.
    The goal is to get a route, from one address to another (both given as inputs), formed by:
    -     a 1st piece of path walking to the bus stop
    -     a 2nd piece of path involving the bus used to go from one bus stop to another
    -     optional 3rd piece of path with a second bus
    -     the last piece of path to walk from the destination bus stop to the destination address.
    This is a nice problem to resolve with a quite good looking software like the Oracle NDM. I know the big problem will be to put all the data in the right format.
    But the question I’d like to share with you would be to approve or improve the algorithm I am thinking to resolve this:
    STRUCTURE
    Network Data Model NDM_1: creation of a SDO spatial network with all the streets and cross-roads to walk through
    Other NDM_2 to store the bus stops with the bus-route-linking information.
         The reason to put them separately is for easily maintenance (a priori).
         [A second approach perhaps would be to put the bus stops as nodes of NDM_1 also]
    ALGORITHM
    1. Look for bus-stops near the geolocated origin address. (say listing BS_ORIG_list)
    2. Look for bus-stops near the geolocated destination address. (say listing BS_DEST_list)
    3. Search through NDM_2 for possible correspondences between BS_ORIG_list and BS_DEST_list through single bus line or by two different bus lines applying a network constraint.
    (if not correspondence found or if more than 2 bus lines needed, abort by app requirement)
    4. Find the walking paths needed to complete the various routes found in step 3 to get from address origin to destination
    5. Order the results by time spent or by meters to walk.
    Sure there might be improvements to this solution and also other ways to face such a common problem.
    Thanks in advance,
    David Foix

    Hi Andrejus,
    Thanks for answering.
    I read through your thread already...
    I understand and agree it would be a multimodal network. But what would that mean in the time of storing the data and asking for the route?
    But I am still doubting the way to query for the resulting route. Having two adresses to join, would there be a nice function or procedure to ask for the route giving preference to walk the minimum meters and use preferently the bus network?
    Or should I rely on the first algorithm I proposed? I thought there would be a nicer solution.
    In your case, "road transport, railway transport, naval transport and air transport" I understand it would be a case to use different networks as they don't share spatial geometry, only some nodes..isn't it? Did you have the need to join all of them to find route solution giving preference to one of them?
    Regards,
    David

  • Relation between server's and runtime Data Model?

    I am working on a project utilizing the MVC architecture.
    After some doubts, I decided to create one DataModel class for each table of the server's normalized database and create the necessary relations at runtime and not in SQL prior to download.
    The database is only a few MB and I need the flexibility.
    I would appreciate some links to theoretical material regarding the relation between the runtime and the server's DB data model.
    Thanks,
    David

    Hi Anirudh/Deepa,
    As You said first I have created Outbound Connection Pool for DB adapter and given eis/DB/HRDBDataSource as JNDI name. It asked to save the file Plan.xml and i saved it in Oracle_soa1/Soa/Plan.xml
    Next I created datasorce with JNDI name jdbc/HRDBDataSource and provided all credentials.
    For AQ also i created connectionpool with JNDI name eis/AQ/MyAQ . Here also it asked to save the Plan.xml and Isaved it in Oracle_soa1/Soa/applications/Plan.xml
    In Jdev while configuring AQ adapter I have selected the database [for this only i created connection pool and datasource] and given the JNDI Name as eis/AQ/MyAQ . (I tried with and without giving datasorce value jdbc/HRDBDataSource in AQ adapter )
    Still I am getting the below error.
    *Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Enqueue' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. Queue:EnQueue [ Enqueue_ptt::Enqueue(EMP_MESSAGE_TYPE) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: No suitable driver found for . ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. No suitable driver found for 0*
    Please guide me
    Regards
    PavanKumar.M

  • Excel Workbook with Excel Data Model stored on SharePoint - daily refresh

    I'm not sure if this is exactly the right forum but I'm hoping that someone here can either answer or point me in the right direction.
    I have an Excel Workbook with an Excel Data Model.
    The Excel Data Model uses SQL to contact our data warehouse and pull through data into tables.
    We are storing the Workbook on a SharePoint site and viewing it using Excel Services.
    The data in our data warehouse is updated daily and so I would like to refresh the workbook daily and remove the option to refresh the data in the browser.
    Is this possible with a workbook that has an Excel Data Model (I've seen lots of posts that relate to workbooks with connections to tabular models).
    Thanks
    Paul

    Hi Paul,
    I have answered this issue in this thread that you posted in SQL Server PowerPivot for SharePoint forum, please see:
    http://social.msdn.microsoft.com/Forums/en-US/9627939c-e9f1-48ae-a6ed-0c238d8f2d69/excel-workbook-with-excel-data-model-stored-on-sharepoint-daily-refresh?forum=sqlkjpowerpointforsharepoint
    Furthermore, this issue is more related to PowerPivot for SharePoint. If you have any more questions about PowerPivot for SharePoint, I would sugget you open a new thread in the forum below for better support:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=sqlkjpowerpointforsharepoint
    Thanks for your understanding.
    Regards,
    Elvis Long
    TechNet Community Support

  • Issue while creating Data Model in BI Publisher and logging into xmlpserver

    Hi All,
    We are facing an issue in OBIEE 11.1.1.5.
    If we are logging with Non Admin Id (other than weblogic) and select New Data Model, a blank screen is coming. Where as, if we use Admin Id, we are getting screen as usual for creating data model. There were some blogs mentioning to change Priviledges for  SOAP access, but that approach is also not working.
    Further, we are also not able to open xmlpserver with Non Admin Id.
    Any help or pointers would be great.
    Regards,

    how about pasting the content of your data template here, so that forum members can see what could be the problem.

  • Data Modeler : Modifying the Table Report layout

    Hi ,
    I'm using SQL Data Modeler (DM) 4.0 EA .
    I used the File -> reports option to generate the reports on Table and in the report
    1) I couldn't see the column data type ? (Refer below table ) , Is there any options to bring on the Data Type in the Report ?
    No
    Column Name
    PK
    FK
    M
    Data Type
    DT
    kind
    Domain Name
    Formula
    (Default Value)
    Security
    Abbreviation
    1
    ID1
    P
    Y
    (10)
    LT
      2
    ID2
    F
    Y
    (10)
    LT
    3
    ID3
    Y
    (1)
    LT
    4
    ID4
    Y
    (10)
    LT
    5
    ID5
    F
    (20,4)
    LT
    2) In options to manage the Table report (Reports -> Manage). Currently I can only remove a heading (like Descriptions Notes ,columns,column comments.). Is there is any way to customize the report in such a way that I can remove some columns (mostly the empty ones) from the report and add the column comments along with the column table than a new column comments table.
    Please let me know  ,is there is an option to customize the report .
    Note: I even tried generating the report using the search then report , but it doesn't give a complete report (i was only able to generate a report on column or table name or constraints , not all together.)
    Thanks,
    Srinivasan.K

    Thanks for the immediate reply.
    I checked on the DM again, the report comes good for the one which has the data type . But now all my data type changed to UNKNOWN and lokks like ,due to this my table report is coming without the "Data Type".
    Can you please help me in fixing this unknown data type issue ?
    Table report for the ones with proper Data type:
    Columns
    No
    Column Name
    PK
    FK
    M
    Data Type
    DT
    kind
    Domain Name
    Formula
    (Default Value)
    Security
    Abbreviation
    1
    ID1
    Y
    NUMERIC (10)
    LT
    2
    SCRIPT
    Y
    VARCHAR (1024)
    LT
    3
    UPGRADE_S
    Y
    VARCHAR (10)
    LT
    4
    UPGRADE_D
    Y
    VARCHAR (250)
    LT
    5
    UPGRADING_F
    Y
    VARCHAR (20)
    LT
    6
    TIMESTAMP2
    Y
    Timestamp
    LT

  • Can "trigger" management be addressed in the data modeler?

    Please add an easier way to add/modify triggers.
    I reverse-engineered my model into the data modeler and my triggers all migrated correctly to the model but, for the life of me, had no idea how to view, modify or create triggers.  After extensive research, I found that they can be accessed in the left-hand Browser by drilling some 8 levels to view the triggers for each table - why?  Why can't this functionality be added to properties context menu for the table.  I'm not a big advocate for triggers but if I need to work on one, the current methodology is tedious at best.
    Of course, if there's some other way to do this, please inform...
    Accessing Triggers via the Browser
    Design -> Relational Model -> APEX_DEMO -> Physical Model -> Oracle Database 11g -> Tables -> ACTIVITY_LOG -> Triggers

    Thanks Joop and Phillip...
    While I occasionally use SQL Developer, I currently use PL/SQL Developer (Allround Automations) as my development tool of choice and bringing a 3rd tool as SQL Developer into the mix, makes no sense to me.
    I completely agree that managing a trigger via a development tool is much easier but one occasionally wants to quickly add a trigger either manually or via a template and this is not easy currently.
    While functions, procedures, package, etc. are all important to a data model, the existence of most triggers are completely dependent on a table and are a critical component in any model that uses them.  The ability to access and modify them easily in Data Modeler is important and shouldn't be an afterthought as is perceived here.  If trigger access cannot be added to the Table Properties (as noted in the image below), at the very least, please provide a shortcut methodology to do so.

  • Not able to save a newly created Data Model in BI Publisher.

    Hello everyone,
    I was trying to create a new Report (my very first report) in BI Publisher. I created a new Data Model and a Data Set. But I am not able to save the Data Model and thus not able to proceed to the report. There's no error shown. Same happens with reports too.
    Kindly provide me with a solution.
    Regards
    Ash
    Edited by: 902739 on 28-Dec-2011 01:02

    You should have a group called 'XMLP_ADMIN' in your repository and administrator or the user you are using should be part of that group. Look into paint.rpd for all these.

Maybe you are looking for

  • Is there a Spell check feature in Flex?

    I want to have the spelling check funtion in my Flex application. Does anyone know how to do it? Thanks, lucy

  • About sun certifications?

    In terms of complexity how do the following Sun certifications rate : SCJP and SCWCD ? What other SUn certifications are desirable for jobs in designing secure web based systems which handle financial transactions? THX :>)

  • Changing the encoding to 256 kbps from the standard 128 kbps

    I just read an article on the Internet about earbuds, especifically the Shure 4c, in which it was "highly reccomended" to change the encoding to higher levels such as 256 kbps from the "standard" 128 kbps. The question is, once you have all your song

  • Error -- ORA-20101: ORA-06512: at "DEV_PORTAL.WWPOB_API_PA

    Hi! When I click on a tab in Oracle Portal page i got the following error: - ORA-01403: no data found ORA-20101: ORA-06512: at "DEV_PORTAL.WWPOB_API_PAGE", line 5247 ORA-01403: no data found ORA-01403: no data found. In WLS_PORTAL.log fileL do not ap

  • SGA Sizing Questions

    Hello, I have a Windows 64-bit server with 16GB of RAM. Right now, both my sga_max_size and sga_target are set to 4896M. I've been reading that if I set the SGA too high, it could cause performance issues, but I would still like to increase this a bi