Translation and overrides value

i am confused, which isn't hard to do. We have a USD currency entity that reports to a BRL currency entity.
In the USD entity we have placed an override value for common stock so that it maintains the same value on BRL regardless of latest exchange rate.
This works fine.
The problem is that at the parent level when we want to look value back in USD it does not give me the vlaue i expect in this case i get $74,000 instead of $77,000
Is this normal?
Parent Entity (Parent) has default currency of BRL
Child Entity (700) has default currency of USD
Enitity Currency BRL USD
Parent $128,000 $128,000 $74,000
i
700 $77,000 $128,000 $ 77,000

Here are the steps:
In <Entity Currency> and <Entity Curr Adjs> of each USD base entitiy (it should be written for all foreign currency entities but that would take more metadata and rules updates)
1) Create a list of [Ancestors] of the entity being calculated
2) If any ancestor is not USD then copy the balance sheet amount to a USD override account (we're assuming that if an ancestor is not USD then that data will at some point need to be translated back to USD)
- This requires that you add USD override accounts similar to your BRL override accounts using the same mapping to the balance sheet account (it does not appear from your rules that these accounts exist) and loop through them to copy the data using that mapping
After translation (HS.Value.IsTransCur) into USD (HS.Value.Currency = "USD")
3) Copy the USD override amounts from the USD override accounts into the corresponding balance sheet accounts (similar to how you are using the BRL overrides but this should not be dependent on whether the USD override amount is 'RealData' so it should always use the current period's amount and not last year's translated ending amount)
A few notes:
It is better to use a custom dimension to separate the override data from the trial balance date. It is more efficient from a consolidation perspective and less maintenance in regards to when new accounts are added or designated to use overrides.
Your rules seem to indicate that you are only using BRL overrides which is unusual for (I'm assuming) a USD application. That would mean there are either no other foreign currency entities are they don't have any equity/investement accounts. The rule I outlined above might not work if other USD overrides are being used.
The way your overrides are written restrict how you can build/change your Entity dimension - all translation into BRL must occur at a base entity or you could get incorrect data. If you had 2 USD entities consolidating to another USD entity and then into a BRL entity and one of those base USD entities had a manually entered BRL override it would use that one override for the entire amount in the BRL parent though it should represent a BRL amount from the 2 USD base entities.
Hopefully you understand that I do not want to attempt to write the above rules given that I am not familiar with your application but I could let you know if you are on the right track if you attempt to write them yourself and show me the rules.
Hope this helps.
Brian
Edited by: Brian Maguire on May 25, 2012 10:31 AM

Similar Messages

  • APC Value and Plan Value for an Asset.

    HI Gurus,
                      I am developing a report where I have to display the APC value and Plan value of an Asset.Can anyone pls give an insight how to find this for the Asset.

    Hi,
    why don´t you use the logical database ADA which most of the FI-AA standard reports do? The logical database is a service to get this information without developing all the READ information and translation by yourself, especially when talking about mid-year-reporting, consistence checks, etc..
    If you decide to use ADA, then the events GET ANLA0, GET ANLAV and GET ANLCV are from interest for you for information about APC and planned/posted depreciation value.
    Regards,
    Markus

  • 11i General Ledger : Translation and Revaluation issue.

    Hi,
    I'll post the problem as descriptively as i can.
    * The client has an Equity account under the natural code of 7341. He has not defined the GL : Owner's Equity Translation rule.
    * The currency rate table shows that the rate type used for this natural code is Period
    * Functional currency is USD
    In August 2006, the client had made an entry to this account to the value of AUD 24,713 which was converted at journal entry point to USD 18,977. The entry was subsequently reversed in September 2008 and the USD book shows a '0' balance after it, which is correct. Just before the reversal the balance was USD 21,332 (taking into account subsequent revaluations till Aug 2008)
    Client performs monthly translations and revaluations. In August 2006, the entry was translated to LKR books with a value of LKR 1,929,634. After which monthly revaluations which happened in the functional currency books also got translated and hit the LKR books till September 2008.
    The total USD reversal in USD books as stated earlier was USD 21,332. This comprised of an initial entry and subsequent revaluations that were translated LKR books at different historical rates. But the reversal was translated to LKR books only on the closing rate as at September 2008. Leaving a small LKR balance of just over 100k.
    Is there anyway that the client can perform the translation in such a way that after the reversal the closing value of the LKR books is also '0'. Please note that he is not willing to change the classification of the account from Owner's Equity.
    Thanks,
    Miranga

    Instead of reversing the Original Journal, Pass a reversal entry nullifying the effect of the Original Entry.
    Hope it resolves your issue.
    Regards,
    Sridhar

  • WLC Applying cached RADIUS Override values for mobile

    Hello!
    We have a WiSM2 (version 7.4.110.0) with approx 200 APs. We are doing RADIUS authentication via a PacketFence backend. Everything usually works fine, but we are having an intermittent issue...
    The WiSM2 gets its VLAN assignment for a client from the PacketFence server and does AAA override. If a client has not registered their device, go on one VLAN. Once they register, PacketFence disconnects them via RADIUS to the WiSM2, and then they should get their new VLAN assignment. This works fine in the majority of cases, but occasionally, after registering, the client disconnects and reconnects but is still put back on registration VLAN.
    debug client mac shows this in the logs:
    Applying cached RADIUS Override values for mobile 00:25:56:3d:f6:7b (caller pem_api.c:2210)
    And I do not see the WiSM2 asking the PacketFence server for a VLAN assignment in the PacketFence logs.
    Eventually, if the client stays disconnected long enough (5+ minutes), they can reconnect and get the proper VLAN assignment. I had previously opened a TAC about this, and they suggested a WiSM2 software upgrade and setting the Session Timeout on the WLAN to 900 seconds, which I did. This issue then disappeared for several weeks, but it has started happening again today (we saw it happen to about 15 clients throughout the day).
    Anyone have any ideas on why this is happening, and how to stop the caching? Any thoughts would be greatly appreciated.
    Here is the output from a show wlan of one of our WLANs we have seen this on:
    WLAN Identifier.................................. 2
    Profile Name..................................... BlitzNet
    Network Name (SSID).............................. BlitzNet
    Status........................................... Enabled
    MAC Filtering.................................... Enabled
    Broadcast SSID................................... Enabled
    AAA Policy Override.............................. Enabled
    Network Admission Control
      Client Profiling Status ....................... Disabled
       DHCP ......................................... Disabled
       HTTP ......................................... Disabled
      Radius-NAC State............................... Disabled
      SNMP-NAC State................................. Disabled
      Quarantine VLAN................................ 0
    Maximum number of Associated Clients............. 0
    Maximum number of Clients per AP Radio........... 200
    Number of Active Clients......................... 538
    Exclusionlist Timeout............................ 60 seconds
    Session Timeout.................................. 900 seconds
    User Idle Timeout................................ 300 seconds
    User Idle Threshold.............................. 0 Bytes
    NAS-identifier................................... WISM2_SDC
    CHD per WLAN..................................... Enabled
    Webauth DHCP exclusion........................... Disabled
    Interface........................................ blitznet
    Multicast Interface.............................. Not Configured
    WLAN IPv4 ACL.................................... unconfigured
    WLAN IPv6 ACL.................................... unconfigured
    mDNS Status...................................... Disabled
    mDNS Profile Name................................ unconfigured
    DHCP Server...................................... Default
    DHCP Address Assignment Required................. Disabled
    Static IP client tunneling....................... Disabled
    PMIPv6 Mobility Type............................. none
    Quality of Service............................... Silver
    Per-SSID Rate Limits............................. Upstream          Downstream
    Average Data Rate................................   0                      0
    Average Realtime Data Rate.......................   0                      0
    Burst Data Rate..................................   0                      0
    Burst Realtime Data Rate.........................   0                      0
    Per-Client Rate Limits........................... Upstream          Downstream
    Average Data Rate................................   0                      0
    Average Realtime Data Rate.......................   0                      0
    Burst Data Rate..................................   0                      0
    Burst Realtime Data Rate.........................   0                      0
    Scan Defer Priority.............................. 4,5,6
    Scan Defer Time.................................. 100 milliseconds
    WMM.............................................. Allowed
    WMM UAPSD Compliant Client Support............... Disabled
    Media Stream Multicast-direct.................... Disabled
    CCX - AironetIe Support.......................... Enabled
    CCX - Gratuitous ProbeResponse (GPR)............. Disabled
    CCX - Diagnostics Channel Capability............. Disabled
    Dot11-Phone Mode (7920).......................... Disabled
    Wired Protocol................................... None
    Passive Client Feature........................... Disabled
    Peer-to-Peer Blocking Action..................... Drop
    Radio Policy..................................... All
    DTIM period for 802.11a radio.................... 1
    DTIM period for 802.11b radio.................... 1
    Radius Servers
       Authentication................................ ipofradiusserver 1812
       Accounting.................................... Global Servers
          Interim Update............................. Disabled
       Dynamic Interface............................. Disabled
       Dynamic Interface Priority.................... wlan
    Local EAP Authentication......................... Disabled
    Security
       802.11 Authentication:........................ Open System
       FT Support.................................... Disabled
       Static WEP Keys............................... Disabled
       802.1X........................................ Disabled
       Wi-Fi Protected Access (WPA/WPA2)............. Disabled
       WAPI.......................................... Disabled
       Wi-Fi Direct policy configured................ Disabled
       EAP-Passthrough............................... Disabled
       CKIP ......................................... Disabled
       Web Based Authentication...................... Disabled
       Web-Passthrough............................... Disabled
       Conditional Web Redirect...................... Disabled
       Splash-Page Web Redirect...................... Disabled
       Auto Anchor................................... Disabled
       FlexConnect Local Switching................... Disabled
       flexconnect Central Dhcp Flag................. Disabled
       flexconnect nat-pat Flag...................... Disabled
       flexconnect Dns Override Flag................. Disabled
       FlexConnect Vlan based Central Switching ..... Disabled
       FlexConnect Local Authentication.............. Disabled
       FlexConnect Learn IP Address.................. Disabled
       Client MFP.................................... Optional but inactive (WPA2 not configured)
       PMF........................................... Disabled
       PMF Association Comeback Time................. 1
       PMF SA Query RetryTimeout..................... 200
       Tkip MIC Countermeasure Hold-down Timer....... 60
    AVC Visibilty.................................... Disabled
    AVC Profile Name................................. None
    Flow Monitor Name................................ None
    Call Snooping.................................... Disabled
    Roamed Call Re-Anchor Policy..................... Disabled
    SIP CAC Fail Send-486-Busy Policy................ Enabled
    SIP CAC Fail Send Dis-Association Policy......... Disabled
    KTS based CAC Policy............................. Disabled
    Assisted Roaming Prediction Optimization......... Disabled
    802.11k Neighbor List............................ Disabled
    802.11k Neighbor List Dual Band.................. Disabled
    Band Select...................................... Disabled
    Load Balancing................................... Disabled
    Multicast Buffer................................. Disabled
    Mobility Anchor List
    WLAN ID     IP Address            Status
    802.11u........................................ Disabled
    MSAP Services.................................. Disabled

    There is nothing in the RADIUS server logs. It is as if the WiSM2 does not talk to it for the 2nd request. The flow for a problem client is like this:
    1. New client associates
    2. WiSM asks RADIUS server for VLAN
    3. RADIUS Server hasn't seen it, so it puts it on VLAN 84 (our registration VLAN)
    4. Client goes through captive portal
    5. RADIUS server sends disconnect client message to WiSM
    6. Client disconnects, reconnects
    7. WiSM2 puts it back on VLAN 84, when it should put it on a VLAN determined by the SSID. The WiSM2 never asks the RADIUS server for the VLAN again, until the client has stayed disconnected for 5+ minutes, and I see the message in the wism2 log that I wrote above.
    In the vast majority of cases, step 7 works properly. That is, when the client reconnects, it asks the RADIUS server what VLAN to put it on (I see it in the RADIUS server logs). I see the second request come in, and the RADIUS server replies with appropriate VLAN for the SSID.
    After they get their proper VLAN, this doesn't occur again. It is as if the RADIUS server caches the client's VLAN override attribute somewhere and uses that, rather than asking the RADIUS server.

  • Override values do not rollup to parent

    I'm getting some confusing results. i have an account for which i have overrides values. The children work nicely, the problem is that the parent does not add the override amounts, it calcs it own value based on the current exchange rate.
    Is that the way it's suppose to be or am i missing something
    Thanks in advance
    Exchange Rate assume it .075
    Entity Currency USD
    Parent 1500 112.50
    Child 1 1000 100
    Child 2 500 50

    Guys this is HFM Consolidation hope there is no time balance settings in accounts attributes and we have not mentioned grouplabel to parent entity if that is the case it is as group label base entities will not aggrigate to parent entity but here few accounts are not aggrigating parent entity.
    Thanks / Rama

  • LSMW Fixed, Translations and User defined routines??????

    Hi Experts,
      I have another questions here.. I can see the step called Maintain Fixed values, Translation and User defined routines in LSM Workbench, why is it used, when its used and where???
    If its possible can someone give me examples for this particular step...
    Well, I wanted to award some points to experts like RICH, CHRISTIAN AND ZHENGLIU, but my screen is not showing the points radio button.  But I will award, as soon as possible.
    Thanks and waiting for your replies.
    Regards,
      -Ken C

    Also check http://help.sap.com/saphelp_erp2005/helpdata/en/7a/5e3d38faba11d1b40f006094b944c8/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/7a/5e3d38faba11d1b40f006094b944c8/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/7a/5e3d38faba11d1b40f006094b944c8/frameset.htm
    Hope you'll find your answers..
    Cheers !!!

  • Translate static LOV values ?

    Hello,
    I need to translate a French application into English. I've followed the translate processus, but I've got a problem with static LOV values.
    I use radiogroup with static LOV, and it seems that I can't translate these static values, but I have to do it.
    Any idea to help me?
    Tanks

    Another solution is to define both French and English (or whatever) item in the LOV. For each item in it, you specify a "Conditional Display: current language = Expression" --> fr-ca for exemple. So in your LOV, you will have something like this.
    YES --> Y
    NO --> N
    Oui --> Y
    Non --> N
    Depending on the current language, you will see only 2 items in that LOV.
    That should do it.
    Christian

  • Translate and next day function

    hi everybody, i am trying to learn how translate and next_day function works in oracle.
    i have the following query
    select translate(to_char(sysdate,'yyyy/mm/dd'), 'A0123456789','A') FROM DUAL;
    when i execute it, the result is //
    my question is why is that, i thought it suppose to be AAAA/AA/AA
    translate suppose to replace any character in the string 'A1234...' with A
    but this is not happening. can somebody explain how is this working?
    also i have this query
    select next_day(to_date('06/23/1998','mm/dd/yyyy'), 'friday') from dual;
    when i execute it, it gives me 6/26/98 which is a thursday and not a friday. again why is this?
    when i execute this query, select next_day(to_date('07/10/2000','mm/dd/yyyy'), 'friday') from dual;
    i get 7/14/2000 which is correct. any ideas on this?

    Hi,
    Whenever you have a question about a function, start by looking at the [SQL Language manual|http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/functions204.htm#sthref2476].
    Under "Translate", the very first paragraph looks like it was written in response to your question:
    "TRANSLATE returns expr with all occurrences of each character in from_string replaced by its corresponding character in to_string. Characters in expr that are not in from_string are not replaced. The argument from_string can contain more characters than to_string. In this case, the extra characters at the end of from_string have no corresponding characters in to_string. If these extra characters appear in expr, then they are removed from the return value."
    I find it helpful to write the 3rd argument of TRANSLATE directly under the 2nd argument, to make it clear with what each character of the 2nd argument is being replaced:
    select  translate ( to_char (sysdate, 'yyyy/mm/dd')
                , 'A0123456789'
                , 'A'
    FROM      DUAL;makes it clear that (for example) '5' will be replaced with nothing (that is, removed) because there is nothing directly below '5'.
    On the other hand:
    select  translate ( to_char (sysdate, 'yyyy/mm/dd')
                , '0123456789'
                , 'AAAAAAAAAA'
    FROM      DUAL;makes it clear that '5' will be replaced with 'A', because there is an 'A' directly below '5'.
    Notice in the last example, there's no need to include 'A' in the 2nd argument.

  • Mapping param override values

    I have 2 supposedly identical environments running the DAC v 10.1.3.4.1 and Informatica 9, in one environment all is well, in the other a number of vanilla mappings fail because parameters are null. In the environment that doesn't work the session logs shows this:
    Severity     Timestamp     Node     Thread     Message Code     Message
    INFO     11/06/2012 20:12:59     node01_udapbia1     DIRECTOR     VAR_27027     Use default value [] for mapping parameter:[MPLT_ADI_CODES.$$CATEGORY].
    In the environment that does work its shows this:
    Severity     Timestamp     Node     Thread     Message Code     Message
    INFO     10/06/2012 20:15:27     node01_utapbia1     DIRECTOR     VAR_27028     Use override value ['ABSENCE_TYPE'] for mapping parameter:[MPLT_ADI_CODES.$$CATEGORY].
    Clearly the second one works because the the value ABSENCE_TYPE has been substituted, but why isn't it in the first one,this is a vanilla mapping - SDE_ORA_CodeDimension_Absence_Type,it hasn't been changed.
    Both environments have identical, paths to indentical parameter files.
    The same issue happens for most of the other CodeDimension related mappings.
    Many thanks
    Ed
    Can anyone advise me where these override values are stored and why they are used in one environemnt but not the other, please?

    Can check this proparty is set at Integration Service using AdminConsole
    overwriteMpltVarWithMapVar=Yes
    If it is helpful, please mark as correct or helpful

  • PlotScaledIntensity and NAN values

    I often use NAN values in CVI plots and graphs (and in LabVIEW too) so that some portions of traces are not drawn, for example when my application hasn't been able to calculate some of the values.
    I noticed that the behavior of PlotScaledIntensity is different, and NAN values are drawn with a color that is more or less the of of the center-scale.
    Is this an intended behavior?
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

    Hi
    unfortunately your suggestion is not an option:
    int PlotScaledIntensity (int panelHandle, int controlID, void *zArray, size_t numberOfXPoints, size_t numberOfYPoints, int zDataType, double yGain, double yOffset, double xGain, double xOffset, ColorMapEntry colorMapArray[], int hiColor, size_t numberOfColors, int interpColors, int interpPixels);
    values higher than the highest in the colorMapArray are translated into hiColor (that I can customize); but I use hiColor for other purposes
    values lower than the lowest in the colorMapArray are translated into the first color in colorMapArray;
    The mai question is: is this handling of NAN an intended behavior or not?
    It's different from how NAN is handled in other graphs, so I think it's not an inteneded behavior, but rather a bug... but I'm not sure
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

  • Compensation Default and override - Component Id error

    Hi,
    I am working on a fast formula of 'Compensation default and override type' .
    The logic within requires 'component id'. There is an input variable CMP_IV_COMPONENT_ID for this formula type .
    I am attaching the fast formula to a component specific column in the worksheet for a particular plan.
    I back the plan and start it.
    The formula is not getting executed at all.
    I also tried attaching this formula to a normal column (which is not specific to a component) .. But in this case the component id was not recognized and the start Batch process errored out.
    Please let me know how to attach this type of formula to a plan and run it .
    Edited by: 998873 on May 13, 2013 11:34 PM

    Please note ASG_HR_ASG_ID and PAYROLL_ASSIGNMENT_ID are not same in Fusion. That's why it' not returning any value as element entries are created for payroll assignment id. Since you are able to get value for ASG_HR_ASG_ID, it must be setting value for PAYROLL_ASSIGNMENT_ID as well. Please check value for PAYROLL_ASSIGNMENT_ID and EFFECTIVE_DATE context using following code:-
    L_EFFECTIVE_DATE_TEMP='0001/01/01 00:00:00' (Date)
    L_PAY_ASG_ID = GET_CONTEXT( PAYROLL_ASSIGNMENT_ID, -1)
    L_EFFECTIVE_DATE=GET_CONTEXT(EFFECTIVE_DATE,L_EFFECTIVE_DATE_TEMP)
    If it's returning value, it means payroll assignment id and effective date contexts are already set and you don't need to set them explicitly. You can directly get value for STOCK_OPTIONS_NUMBER_OF_SHARES_ASG_ENTRY_VALUE.
    Hope this help!

  • Finding x and y values of a Line Chart

    Hi,
    For instance, I had a line chart with x and y axis. When I move mouse to the line chart how can I determine x and y axis values? With mouseMoved metod i can find the coordinates but coordinates doesn't help me to find x and y values of the line chart.
    How can I find x and y values of a Line Chart?
    Thanks in advance

    Translate from model to view and back. Another way to do this is to create an
    AffineTransform for the modelToView and use it to transform the points. Create an inverse
    transform to use in the viewToModel method. Add a ComponentListener and reset the transforms
    in the componentResized method to keep them updated.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.font.*;
    import java.awt.geom.*;
    import java.text.NumberFormat;
    import javax.swing.*;
    public class Translation extends JPanel {
        JLabel xLabel;
        JLabel yLabel;
        NumberFormat nf;
        double[] data = { 16.0, 32.9, 7.4, 18.9, 12.3 };
        final int Y_GRADS = 5;
        final int PAD = 35;
        final int SPAD = 3;
        final int TICK = 2;
        double maxVal;
        public Translation() {
            nf = NumberFormat.getInstance();
            nf.setMinimumFractionDigits(1);
            nf.setMaximumFractionDigits(1);
            maxVal = getMaxValue();
            addMouseMotionListener(sweep);
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            drawAxes(g2);
            plotData(g2);
        private void plotData(Graphics2D g2) {
            for(int j = 0; j < data.length; j++) {
                Point2D.Double p = modelToView(j, data[j]);
                if(j < data.length-1) {
                    Point2D.Double next = modelToView(j+1, data[j+1]);
                    g2.setPaint(Color.blue);
                    g2.draw(new Line2D.Double(p, next));
                g2.setPaint(Color.red);
                g2.fill(new Ellipse2D.Double(p.x-2, p.y-2, 4, 4));
        private Point2D.Double modelToView(double x, double y) {
            double h = getHeight();
            Point2D.Double p = new Point2D.Double();
            p.x = PAD + x*(getWidth() - 2*PAD)/(data.length-1);
            p.y = h-PAD - y*(h - 2*PAD)/maxVal;
            return p;
        public Point2D.Double viewToModel(double x, double y) {
            double h = getHeight();
            Point2D.Double p = new Point2D.Double();
            p.x = (x - PAD) * (data.length-1) / (getWidth() - 2*PAD);
            p.y = (h - PAD - y) * maxVal / (h - 2*PAD);
            return p;
        private void drawAxes(Graphics2D g2) {
            int w = getWidth();
            int h = getHeight();
            double xInc = (double)(w - 2*PAD)/(data.length-1);
            double yInc = (double)(h - 2*PAD)/Y_GRADS;
            // Abcissa
            g2.draw(new Line2D.Double(PAD, h-PAD, w-PAD, h-PAD));
            // Tick marks
            double y1 = h-PAD, y2 = y1+TICK;
            for(int j = 0; j <= data.length; j++) {
                double x = PAD + j*xInc;
                g2.draw(new Line2D.Double(x, y1, x, y2));
            // Labels
            Font font = g2.getFont().deriveFont(14f);
            g2.setFont(font);
            FontRenderContext frc = g2.getFontRenderContext();
            LineMetrics lm = font.getLineMetrics("0", frc);
            float sx, sy = h - PAD + SPAD + lm.getAscent();
            for(int j = 0; j < data.length; j++) {
                String s = String.valueOf(j);
                float width = (float)font.getStringBounds(s, frc).getWidth();
                sx = (float)(PAD + j*xInc - width/2);
                g2.drawString(s, sx, sy);
            // Ordinate
            g2.draw(new Line2D.Double(PAD, PAD, PAD, h-PAD));
            // Tick marks
            double x1 = PAD, x2 = PAD-TICK;
            for(int j = 0; j <= Y_GRADS; j++) {
                double y = PAD + j*yInc;
                g2.draw(new Line2D.Double(x1, y, x2, y));
            // Labels
            for(int j = 0; j <= data.length; j++) {
                String s = nf.format(maxVal*(1.0 - (double)j/data.length));
                float width = (float)font.getStringBounds(s, frc).getWidth();
                sx = (float)(PAD - SPAD - width);
                sy = (float)(PAD + j*yInc + lm.getAscent()/3);
                g2.drawString(s, sx, sy);
        private double getMaxValue() {
            double max = -Double.MAX_VALUE;
            for(int j = 0; j < data.length; j++) {
                if(data[j] > max) {
                    max = data[j];
            return max;
        MouseMotionListener sweep = new MouseMotionAdapter() {
            public void mouseMoved(MouseEvent e) {
                Point2D.Double p = viewToModel(e.getX(), e.getY());
                xLabel.setText(nf.format(p.x));
                yLabel.setText(nf.format(p.y));
        private JPanel getLast() {
            xLabel = new JLabel();
            yLabel = new JLabel();
            Dimension d = new Dimension(45, 25);
            JPanel panel = new JPanel(new GridBagLayout());
            GridBagConstraints gbc = new GridBagConstraints();
            gbc.insets = new Insets(2,2,2,2);
            addComponents(new JLabel("x ="), xLabel, panel, gbc, d, true);
            addComponents(new JLabel("y ="), yLabel, panel, gbc, d, false);
            return panel;
        private void addComponents(JComponent c1, JComponent c2, Container c,
                                   GridBagConstraints gbc, Dimension d, boolean b) {
            gbc.weightx = b ? 1.0 : 0;
            gbc.anchor = GridBagConstraints.EAST;
            c.add(c1, gbc);
            c2.setPreferredSize(d);
            gbc.weightx = b ? 0 : 1.0;
            gbc.anchor = GridBagConstraints.WEST;
            c.add(c2, gbc);
        public static void main(String[] args) {
            Translation test = new Translation();
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(test);
            f.getContentPane().add(test.getLast(), "Last");
            f.setSize(500,400);
            f.setLocation(200,200);
            f.setVisible(true);
    }

  • Reporting level Currency translation and group level Currency translation

    Hi All,
    Could any body explain me reporting level Currency translation and group level Currency translation.Please expalin me step by step scenario.
    Thanks in advance.
    Setty.

    Hi Jian,
    In my recent implementation completed, business only had one currency to deal with i.e. USD. Data was coming from ECC and we loaded all the data in LC instead of USD using transformation *NEWCOL(LC). Next, you can maintain a rate of 1 in the rate model and run the currency conversion.
    This will generate the same data values against USD. So, your statement " if we load LC and than convert it into USD, the data vulu will de double." is incorrect. In the system, you will have same set of values against LC as well as USD.
    I suggest that you configure Currency Conversion for future reqmts if any.
    Regarding BCF, balances from previous year (Balance Sheet Accounts) will need to be carried forward as opening balances to next year else your BS won't give true picture.
    Regards,
    Ashish

  • Currency Translation and Account Transformation Business Rules Together?

    Hi I am fresh out of college and working on a BPC project. I have this working but fear down the road problems.
    We are using currency translation and struggling with getting our NetIncome to write the correct value to the Current Year Retained Earnings when it converts from LC to USD; USD value did not match Net Income in P&L.
    Initially, we did the Account Transformation first in our default logic only on LC, then FX runs and creates the corresponding USD value which does not match the Net Income.
    It looks like the logic is correctly summing the YTD value but it converts using the AVG rate for the period (as opposed to multiplying each month by that monthu2019s average rate) creating a variance.
    Weu2019ve moved the account transformation to run after FX and have it also running on USD. This currently works but seems like a workaround, and as we configure the remaining CTA rules will we run into problems?
    Have any experts run into this issue before and what should I do?
    Edited by: MichaelUCF2010 on Oct 12, 2010 10:18 PM

    Hi, perhaps this is my lack of accounting knowledge rearing itself.
    RE = BS = End (if you take into account translation adjustment for Net Income and Additions/Substractions & OB)
    However If you are talking about the RE Reserve (and computing that correctly)
    RE Reserve
    OB - Opening
    Inc - Avg
    Sub - Avg
    NI - Avg [I assume it is this line you are talking about - please try the apply periodic option for avg]
    CTA - calculated
    CB - End

  • Root.sh and override ORACLE_HOME, ORACLE_OWNER

    Hi
    I'd like to override the ORACLE_HOME and ORACLE_OWNER value used by the root.sh script.
    Oracle (in this file) say that it's possible by setting the ORACLE_HOME and ORACLE_OWNER variable. (# (1) ORACLE_HOME and ORACLE_OWNER can be defined in user's environment to override default values defined in this script.)
    if we do this, is it necessary to delete the lines below...
    # Default values set by Installer
    ORACLE_HOME=/oracle/product/10.1.3
    ORACLE_OWNER=fantomas
    and is it necessary to do something else ?
    Thanks in advance
    Regards
    A.G.

    Hi
    I'd like to override the ORACLE_HOME and ORACLE_OWNER value used by the root.sh script.
    Oracle (in this file) say that it's possible by setting the ORACLE_HOME and ORACLE_OWNER variable. (# (1) ORACLE_HOME and ORACLE_OWNER can be defined in user's environment to override default values defined in this script.)
    if we do this, is it necessary to delete the lines below...
    # Default values set by Installer
    ORACLE_HOME=/oracle/product/10.1.3
    ORACLE_OWNER=fantomas
    and is it necessary to do something else ?
    Thanks in advance
    Regards
    A.G.

Maybe you are looking for