Number of decimal places in Write Back

Hi all

We use the writeback option ERPi/FDMEE to rewrite data in Oracle EBS12. Everything works correctly, but when extracting data from Hyperion FDMEE takes data in 7-8 decimal places. Is it possible for this round to 2 decimal places when exporting data?

What version of FDMEE?

When the data is written back to the LES, it is actually extracted using a view.

For EBS, there is a view named AIF_EBS_GL_INTERFACE_V, where you can find the SQL code to extract data from FDMEE

You can try to change this view to include a ROUND for the column amount:

CREATE OR REPLACE VIEW "FDMEE" OF THE FORCE. "" AIF_EBS_GL_INTERFACE_V "("SEGMENT1","SEGMENT2","SEGMENT3", 'SEGMENT4', 'SEGMENT5', 'SEGMENT6', 'SEGMENT7', 'SEGMENT8', 'SEGMENT9', 'SEGMENT10', 'DIRECTION11', 'SEGMENT12', 'SEGMENT13', 'SEGMENT14', 'SEGMENT15', 'SEGMENT16', 'SEGMENT17', 'SEGMENT18', 'SEGMENT19', 'SEGMENT20', 'SEGMENT21', 'SEGMENT22', 'SEGMENT23', 'SEGMENT24', 'SEGMENT25', 'SEGMENT26', 'SEGMENT27', 'SEGMENT28', 'SEGMENT29', 'SEGMENT30', 'QUANTITY', 'ACCOUNTING_DATE', 'CURRENCY',"LOADID","ACCOUNT_TYPE") AS

SELECT UD1X, UD2X, UD3X, UD4X, UD5X, UD6X, UD7X, UD8X, UD9X, UD10X, UD11X, UD12X, UD13X, UD14X, UD15X, UD16X, UD17X, UD18X, UD19X, UD20X, UD21X, UD22X, UD23X, UD24X, UD25X, UD26X, UD27X, UD28X, UD29X, UD30X, ROUND (SUM (AMOUNTX), 2), PERIODKEY, CURKEY, LOADID, ATTR1 FROM TDATASEGW WHERE VALID_FLAG = 'Y' GROUP OF UD1X, UD2X, UD3X, UD4X, UD5X, UD6X, UD7X, UD8X, UD9X, UD10X, UD11X, UD12X, UD13X, UD14X UD15X, UD16X, UD17X, UD18X, UD19X, UD20X, UD21X, UD22X, UD23X, UD24X, UD25X, UD26X, UD27X, UD28X, UD29X, UD30X, PERIODKEY, CURKEY, LOADID, ATTR1;

I hope that helps

Tags: Business Intelligence

Similar Questions

  • To the number of decimal places control user input

    Hey everybody,

    I am all new to LabVIEW and just learn how it works. I was wondering if there was a way to allow user input to change the number of decimal places (the output of my function is infinitely extensible).

    I tried, but it did not work:

    Using a digital input, I appended a string with "%" + '[INPUT]' + 'f' with the number of function concat strings and string functions. I used the resulting string as the formatting string in the value format function.

    This doesn't quite work. The output should be something like "28.274", but instead, it displays "283f. Anyone know why? Is there a better way to do it?

    In addition, attach a picture of the front panel and diagram of block for clarity.

    (Yes, it's homework, but the assignment does not include allowing the user to adjust the number of decimal places, it's just something I would like to add.)

    Get rid of the number 2 for the width of your decimal string number.  It requires a space before a number to a number.  %. 6F is not equal to % .6f.  The string format don't quite understand the first format string.

    (PS.  It helps if you attach your VI.  In this way we can play with what you have rather than trying to recreate it from scratch.)

  • Number of decimal places of precision for numeric fields Standard

    Is there a number of decimal places of precision integrated in PLM4P for standard, off-screen digital box? This level of precision is editable for the system, or on a case-by-case?

    Thank you

    Zach

    We don't currently support it. The default precision is 5 digits.

  • Number of decimal places in the recorded data

    Hello world

    I use the writing on measurement file Express VI and everything works well except for one thing. I have too many decimal places in my saved data. I really need 2 decimal places for my application. Is there a way I can fix this without having to open the file with Excel and format numbers?

    Just FYI I'm writing dynamic data, the VI write is configured for text (.lvm) file format, and it is delimited by tabs.

    Joint are two images: one of the worksheet of stored data, and the other is my writing to measure Express VI.

    Thank you!

    Laura

    Not with the express vi

    You CAN specify a format "%.2f" write to the spreadsheet file

  • Change the number of decimal places according to the value of the field

    Hello world

    I'm doing a form using Adobe Acrobat.

    I want a field that usually has only 2 decimal places, to have 4 decimal positions ONLY when necessary.

    Example: If the value of the field is 3.53 that's fine, but if the value is 3,5346 I want to show him this.

    I played around field properties and I realized that I need to use a custom format script. I don't know where to start, however. Can you point me in the right direction?

    Thank you in advance.

    I just threw together quickly and did not test, take is as a general guide. It is intended to be placed in a JavaScript to the document level and called from custom Format script of the field. You can not put it simply everything as the script to Format because of the way that Acrobat behaves when you do.

    The point of the script is to calculate the number to use as the first parameter to the AFNumberFormant function, which is that Acrobat uses when configuring a digital format. I couldn't think of a clever name for the function, so I leave it to you:

    function fmt1() {
    
        // Set the minimum number of digits to the right of the decimal
        var min = 2;
    
        // Get the field value, as a string
        var val = event.value;
    
        // Round to the nearest 10-thousand of a cent
        var rn = util.printf("%.4f", val);
    
        // Replace any trailing zeroes with nothing
        rn = rn.replace(/[0]+$/, "");
    
        // Get the number of characters after the decimal
        var num = rn.split(".")[1].length;
    
        // Set to the minimum if appropriate
        if (num < 2) num = 2;
    
        // Use built-in formatting function
        AFNumber_Format(num, 2, 0, 0, "\u20ac", true);
    
    }
    

    Call it like that in the case of the field Format:

    fmt1();
    

    If this isn't a calculated field, but the one who interacts with a user, you'll want to add a function with the swing, something like:

    function keystroke1() {
    
        AFNumber_Keystroke(2, 2, 0, 0, "\u20ac", true);
    
    }
    
  • How to round a number to a specific value and not to a certain number of decimal places

    Hello

    I'd round up the numbers according to a grid.

    Let's say I have a grid of 6 between 3 and 4 (3.0 3.2 3.4 3.6 3.8 4.0)

    I'd round up to the nearest number in the grid, so if I choose 3.7125, it will turn to 3.8.

    I found already in the forum how to round decimal degree, but not in my approach.

    You know to force rounding to the nearest of the grid.

    I thought a ramp up to make the grid then interpolate the number and use its index to round. But I don't know that there is a much easier way.

    Thank you

    Zied

    These ideas, everything seems to work if you try to round up to a set of specific values.  But you must set specific values for all the possibilities.

    If you want to round to a given interval, there is an easier way to do it.

    If you want to round each 0.2.  Divide your number of this interval.  Round to the nearest integer.  Multiply your number of this interval.

    If you need to force a number less than or greater than a given to be in this range, such as having range 1.255 round up to 3, then put a stove and Coerce before or after this piece of code.

  • Round a number to 2 decimal places

    Hello

    I have a calculated value that returns 10 more digits after the decimal, example: 2.2482352941176.

    What is the best way to change this value in TestStand to return a number which is rounded to 2 decimal places (2.25)?

    Thank you best regards &,.

    Don1.

    Round (100 +.5 Locals.MyValue*) / 100

  • Format of number to two decimal places

    Hi all

    I tried to find a similar question on OTN position but were not very successful. Found [this: http://forums.oracle.com/forums/thread.jspa?messageID=4231352 & #4231352], but this isn't the right solution for me.

    I want to convert a number (to two decimal places) to a string, but keep the trailing zeros. The number can be of any length.

    So, for example

    Number String          
    1234.5 1234.50
    323213.1 323213.10
    9876.23 9876.23

    Using a mask of format with to_char function does not work for me because the results are recorded in a text using UTL_FILE file and I don't want any white space.

    For example

    Select to_char (1234.40, '9999999.99') of double
    TO_CHAR (1232.70,99999999.99)
    ----------------------------
    1232.70

    As you can see the to_char doesn't work only partially. It keeps the two decimals and add a zero, but it also hads of white space at the front of the number. I could change the format mask to "9999.99', but then if the number is 12345.12 or 123.12 it wouldn't work!

    Thank you!

    Use the format fm modifier:

    Select to_char(1234.40, 'fm9999999.90') from dual;
    
    TO_CHAR(1234.40,'FM9999999.90')
    -------------------------------
    1234.40   
    
  • How can I configure my calculator to round the number to 2 decimal places

    Can someone please help me get my calculator to view my answer to 2 decimal places

    Hello

    The calculator (calc.exe) does not have this feature.

    You can use any third party software that can support the feature.

    WARNING: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    I hope that helps!

  • How to make the calculation script to show 2 decimal places and stop rounding down to integers?

    Hello. First of all, thank you to those of you who have helped me create an interactive PDF file last year that worked perfectly if only integers are entered. This year, my client wants to show two decimal places in the calculations, and I'm back in this forum hoping to find the same expertise to make it happen.

    My form includes 43 fields for various monthly expenses. The sign of dollar for each field is part of the content of the form, not part of the scope of formatting. Users enter values directly in these fields, and the fields are formatted to display two decimal places. Each of these includes a the following validation script:

    Event.RC =! (event.value & & + event.value < 0);


    To the right of each of these fees, the fields are yes/no boxes ( expense Typecalled) that answer the question, "is this essential expense? The value of exports for Yes's 'essential', and the value of exports is "discretionary".


    A value entered in all areas of expenditure is directed to the field Total expenses by checking Yes or field Total discretionary spending by clicking No. two of these total fields are formatted to display two decimal places. In addition to long calculation scripts, the two totals fields include this custom validation script:

    If (event.value == "0") {event.value = util.printx ("", event.value)}

    Here's the problem: when values with two decimal places are entered in any area of expenditure, the calculation in two fields of total script rounded to the whole number closest. When 10.99 is entered in a field of expenditure and the Yes checkbox is checked, the value 10.00 is displayed in the field Total expenses . I want to display 10.99.

    For testing purposes, I inserted a new text field and did a simple calculation in choosing the fields of the somme and the values displayed correctly. The problem is definitely with the script in the two fields in total .


    I can drop the scripts of math here, but they are long and I'm not sure what the Protocol is super-long positions. I could also download the file, but I never did it and will need to understand this.

    Thank you for taking the time to read this. If you can help me, very well!

    To explicitly convert the field values for numbers, do something like this instead:

    var expense0 = + getField('monthly$.0').value,

    depenses1 = + getField('monthly$.1').value,

    etc.

  • Need help on query with decimal places and trailing 0

    Community of Oracle I need help in the following situations:

    I received the following query:
    SELECT (SUM ("VALUE1") COUNT ("VALUE2"))
    FROM sometable;

    This returns the following results:
    200
    222,5

    I want to display as 222.50 222,5 value so I tried ROUND(value,2) but then came to the conclusion that the tour will not show drags me 0.
    So now I tried to_char(value,'9999DD00') and of course he's back 200.00 both 222.50.

    Now how to make it conditional so when a number has no decimal place it shows the whole number and when it has a decimal, it shows it in the format to_char(value,'9999DD00')?

    I hope I have made my situation and question correctly and I hope a solution.

    P. S.
    I need to appear like that since it is an average of the prices of the products

    Published by: Jnijman on July 3, 2010 13:06

    You can use CASES and INSTR:

    SQL> with t as ( -- generating sample data:
      2  select 200 col from dual union
      3  select 222.5 from dual
      4  )
      5  --
      6  -- actual query:
      7  --
      8  select col
      9  ,      case
     10           when instr(col, ',') > 0
     11           then to_char(col, '999d00')
     12           else to_char(col, '999' )
     13         end formatted_col
     14  from   t;
    
           COL FORMATT
    ---------- -------
           200  200
         222,5  222,50
    
  • channel search and move decimal places

    Hello

    I'm writing the code looking for a fractional string in an array and convert MV V in order to be properly compared to the other fractional numbers of string in the table.

    I have a chart that displays x iterations each with a column of minimum and maximum, including several types of decimal strings (negative/positive with several decimal places) each end with mV and V (example of a string:-725.543mV).

    Then, I divided the table in columns that contain the minimum and maximum values for each iteration. I want to compare the minimum values for each iteration and find the minimum, and do the same thing with the maximum values.

    Unfortunately, the way that I do, when I convert a fractional string numbering it removes label the unit V or mV but does not convert the number of mV V. so he compares - 725.543mV with - 52.334V as - 725.543 &-52.334, declaring the minimum value mV. I need the program to recognize that mV is less than V, or search in each table for the values marked with mV and move the decimal place is to the standard format of V.

    The unit label is actually a part of the string and not the screen (as you can see in the code that I have attached) and I understand that it is a little tricky in the way I need to do. But it's a dumbed down piece of code that I have possibly fit in my largest program that reads the values and their units of several different types of oscilloscopes. The laid out the values as strings as they appear on the screen and don't make the difference between mV and V unless they are asked for units that the tags right on the end of the output string.

    I'm sorry for the great post. SO to sum up, I need to find a table to ensure that all values have the same units, if they are not I need to convert each value of the unit appropriate, then output the max and min to the resulting table. my code is attached. Thank you for your help.

  • textField.restrict - how just allow one decimal place

    Hello

    I read somewhere on the textField.restrict.

    I use it to limit user input to just the numbers and the decimal point.

    a.textField.restrict = '. '. 0-9 ";

    However, I find that the user can input more than one decimal place.

    Does anyone know how to limit user input to just one decimal place?

    Thanks for the help.

    This should work for you

    package
    {
    import flash.display.Sprite;
    import flash.text.TextField;
    import flash.text.TextFieldType;
    import flash.events.TextEvent;
    
    public class Test extends Sprite
        {
        public function Test()
            {
            var tf:TextField = new TextField();
            tf.type = TextFieldType.INPUT;
            tf.border = true;
            tf.width = 200;
            tf.height = 16;
            tf.x = tf.y = 20;
            tf.restrict = ".0-9"
            tf.addEventListener(TextEvent.TEXT_INPUT, restrictOneDecimal);
    
            addChild(tf);
            }
    
        function restrictOneDecimal(evt:TextEvent):void
            {
            var matches:Array = evt.currentTarget.text.match(/\./g);
    
            if  (evt.text == "." && matches.length >= 1)
                evt.preventDefault();
            }
        }
    }
    

    or if you want to restrict to one decimal place, but also a number of digits after the decimal point:

    function restrictDecimalPlaces(evt:TextEvent):void
        {
        var matches:Array = evt.currentTarget.text.match(/\./g);
        var allowedDecimalPlaces:uint = 2;
    
        if  ((evt.text == "." && matches.length >= 1) ||
            (matches.length == 1 && (evt.currentTarget.text.lastIndexOf(".") + allowedDecimalPlaces < evt.currentTarget.text.length)))
            evt.preventDefault();
        }
    
  • Print template limit to 4 decimal places

    Please explain to me

    Decimal places must be limit at four places (0.0000) in the PLM application for the information presented in the specifications of the material.


    And also

    In the print template (for the information presented in the material specifications), displayed value is truncated (i.e. not rounded) and should limit to four places (0.0000)

    Hey Gang,

    I thank you for your answer and is very much appreciated.

    Our number slipped.

    Thank you

    Chaitra

  • Bank of cache write-back events are not called

    Hello

    I am trying to create a write-back cache in my logical Web App Server (there is a consistency group targeting this application server).
    I gave config cache specific server to start the server "Arguments" (-Dtangosol.coherence.cacheconfig=/server/appserver/server-cache-config.xml).

    Server-cache - config.xml:
    <>cache-config
    < cache-system-mapping >
    <>cache-mapping
    <>cache-mapping
    < name-cache > MissedTransactionCache < / cache-name >
    < scheme name > missing-Transaction-Cache < / system-name >
    < / cache-mapping >
    < / cache-system-mapping >
    <>- cached patterns
    < distributed plan >
    < scheme name > spleen-transaction-cache-system < / system-name >
    < service name > DistributedCache < / service-name >
    < number > 50 threads < / thread count >
    < support-map-plan >
    < reading-writing-support-map-plan >
    < scheme name > TestScheme < / system-name >
    < internal-cache-system >
    < local plan >
    < system-Ref > categories-expulsion < / plan-ref >
    < / local plan >
    < / internal-cache-system >

    < dumps-plan >
    schema < class >
    > class name < com.example.MissedTransactionCacheStore < / class name >
    < / class-system >
    < / dumps-plan >
    < delay writing > 30 s < / writing-delay >
    < writing-batch-factor > 0.9 < / writing-batch-factor >
    < / reading-writing-support-map-plan >
    < / support-map-plan >
    <>earpiece
    schema < class >
    > class name < com.example.MissedTransactionCacheListener < / class name >
    < / class-system >
    < / earphone >
    < / distributed plan >

    < local plan >
    < name of the schema - > categories-noneviction < / system-name >
    < / local plan >
    < / cache-plans >
    < / cache-config >

    I do not see any exception during the server startup and interaction (get, put, etc.) that the events of the listener (MissedTransactionCacheListener) are fire, cache
    but there is no store operation going. what Miss me? Kindly help me on this.

    Thank you
    Maria

    Published by: Jestina.Nancy on 4 January 2013 01:33

    Published by: Jestina.Nancy on 4 January 2013 01:35

    HI Maria,

    It's because you're talking about cache plans incorrectly.


    MissedTransactionCache
    Missed-Transaction-Cache

    :
    :
    :

    missed-transaction-cache-scheme
    DistributedCache

    The reference to 'Missing-Transaction-Cache' does not exist it must replace 'spleen-transaction-cache-regime' with "Missing-Transaction-Cache" and even applies to the 'TestScheme '. I don't think that this configuration is same loading otherwise you will get errors then check consistency started newspapers for the configuration file is loaded.

    HTH

    See you soon,.
    _NJ

Maybe you are looking for

  • Receipt notice 'activities' re a new sign-in account. What does that mean?

    I downloaded Firefox on a new Mac. Message received: "a device starts the synchronization with the devices connected to your Firefox account." Is there something I would be concerned or is this referring to my current installation of Firefox.Is attac

  • Loss of data

    Why have I lost all open tabs, top sites and history after resigning with the menu item exit?

  • Is Photos from mac to improve?

    I transferred most of my photos from IPhoto on Photos. IPhoto has worked very well with changes in lots of place names etc. Also I could find pictures by location, date etc. You cannot sort photos by date (except the date entered in the system and I

  • Generating events

    I need a Subvi to generate the user events that must be received by hand VI. Currently, I use the user event and would like to find how to send this event generated at hand VI? In other words the Subvi will generate events and if there is a listener

  • CDAQ start task required?

    In an application using the cdaq 9172 and HAVE, I have a Subvi Setup that configures synchronization then starts the job in time loop do some daq display and the Scriptures. I just noticed that the beginning task.vi DAQmx Start is not mandatory. It s