Capture the salary of the employee in different currencies in a single enterprise group

Hello

Scenario: According to group unique buiness, information of the employees of several countries are counted (as there may be very few employees in each of these countries).

Status of pay is NOT implemented, how we capture information on country-specific employee wages to say, capture of an employee's salary in different currencies under unique business group.

Thank you

You can use Add'l salary admin. Details FDF to capture the currency and converted value. Salary of the hand will be in a base currency.

Thank you

Tags: Oracle Applications

Similar Questions

  • Weighted average end days: how the sum in different currencies?

    Hello

    I have to introduce a new column named "averages weighted days late" in one of the models.

    It was easily handled by the code in the Oracle report: Aging Ar: calculated as <? If: SUM_PAYMENT < = 0? > 0 <? end if? > <? If: SUM_PAYMENT > 0? > <? SUM_W_DAYS_LATE div SUM_PAYMENT? > <? end if? > UX f

    The customer wants that this weighted means against the different currencies for a single client: How do I implement that?

    Example: Client A - average weighted days late:-16-20 in USD and EUR. = > report displays only the first currency - in this case EUR = >-16 (which is not what is expected)

    Logic: I need to run (-16) +(-20)/2. The logic is simple. However, where should I create this change? Also, this change must be connected to the period during which the report is run for / just for the money? I guess it's related at the same time.

    Thanks in advance

    and then divide it by the number of transactions.

    That's your logic? If yes then ok

    I don't know full logic

    And this must be done in the sql used in the xml file, I guess. Is there an easier option to calculate the end of days average weighted by a modification of the model code? Curious.

    If you already have some fares in the xml file to recalculate, then you can do so by model

    If you do not have the rate, then you can add it to xml format and then calculate by model

    or you can calculate in sql (as an example of data model) and then only show models

    How will be used it is your decision

  • How to save the data of different rates in a single VI?

    Hello

    I tried to acquire 2-channel measurement of voltage at 10 kHz and analyze data, finally to save the data to both 1 kHz and 1 Hz. What I did is this loop of producer/consumer use to do the work of recording at different rates. I have queued all the data in the main loop, and then removed the data and write it to the file in other loops. I added "wait = 1 ms' a consumer loop for recording data at 1 kHz (loop of fast logging) and added" wait = 1000ms' in another loop to get the slow 1 Hz (logging loop) data record.

    My problem is that the data record works fine in the case of 1 Hz, but it does not work for the case of 1 kHz. Although the time-out period defined as 1ms, the interval between two samples in the loop of fast data recording is about 100ms.  Subsequently, 1ms, 10ms, 100ms, 150ms tried in this loop to see what intervals are in these cases. I found that the intervals are same as assigned in the timeout greater than 100 ms, but if the time-out is set to 1ms or 10ms, the intervals are again around 100ms.

    My question is - why I can't reach data record 1 kHz using loop of consumers/producers, while the same way works for the case of 1 Hz?

    Thank you very much

    Hao

    You are sampling at 10 kHz and you want to back up your data "as if you sampled at 1 kHz and 1 Hz", if I understand correctly.  I also understand that you use the design of producer/consumer model to help with this (a good idea).

    I'm assuming that the producer 'product' a segment of data at a time, to say the value of a second of data or a 2 x 10000 I16 (assuming a 16-bit integer A/D) table you put into a queue and wait for the consumer.

    If you have data at 10 kHz, how do you get representations to 1 kHz or 1 Hz?  There are (at least) two possibilities - average data over the interval of proper time, or (re) sample data.  The good thing is that you can handle the situation 1 kHz and 1 Hz, essentially at the same time and in the same processing loop.  I'll discuss the case 1 kHz - with the assumptions I made, the case of 1 Hz becomes almost trivial.  I'll discuss treatment also just one channel, as it is similarly almost trivial to go from 1 to N-channel.

    If you have 1 second of data sampled at 10 kHz, and will "reduce" 1 second of data sampled at 1 kHz.  Note that you have 10 samples for each data point that you want in the end.  The "Averaging" method said "Replace all 10 points in the average of these 10 points", while "resampling" method said "replace 10 points with, say, the first point, ignoring the others.  An easy way to do this is to use the Reshape feature to transform an array of 10 x 1000 elements of your array of 10000 items 1-D 2D.  Now, you can use a loop FOR an average of 10 items or simply extract the first.  [This is where almost everyone, including me, a mistake - when you put a 10 x 1000 2D array in a loop, you get 10 iterations of 1000 items and we want 1000 iterations of 10 items.]  Oops, what to do?  [Simple - converts 2D array before sending in the loop FOR.]

    So when you have processed your 10,000 points and got both 1000 samples "1 kHz" and 1 "1 Hz" sample, you write each of them in their respective folder and wait for the next item in the queue of the consumer.  Consumer focus on the queue loop, it will automatically 'block', waiting for the producer of the 'feed' some data.  Note that the producer generates data once per second, producing 10000 points for the consumer in the process, but the time to deal with these points and perform the required disk i/o should take only a few milliseconds (certainly not more than 100, even if writing to a floppy!), so you don't have much time to do other interesting things (such as display data).

    Bob Schor

  • Avoid to group all the objects in different layers into a single layer

    When I group objects to different layers, they all end up in single layer... I have a slight memory of what it is possible to the group object without affecting the layers... maybe a setting?

    Vincent,

    Crossposting: I was the addition of the procedure (which I posted accidentally before finishing).

    Here's the Bill:

    But you can create a selection across layers as follows, using the drop down selection:

    Select objects, then > Save selection, selection of a name;

    After that, the choice is displayed at the bottom of the drop-down list selection, available for selection (sorry)

  • SELECT SQL to merge the text of different lines into a single line

    Hello

    I need to create a Select statement to merge multiple lines in a single text. I have a table with the following data:
    SQL> DESC doc_comments
     Name                                                  Null?    Type
     ----------------------------------------------------- -------- ------------------------------------
     DOC                                                            NUMBER
     COMMENTS                                                       VARCHAR2(30)
    
    SQL> SELECT * FROM doc_comments
      2  /
    
           DOC COMMENTS
    ---------- ----------
             1 Note A
             1 Note B
             2 Note C
             2 Note D
             2 Note E
             3 Note F
    
    6 rows selected.
    I need to create a query on the table to show a result like this:
    DOC          COMMENTS
    ------------ --------------------------
               1 Note A, Note B
               2 Note C, Note D, Note E
               3 Note F
    A possible solution would be to create a function to merge the text of the various lines and then use it in the query, but I'm not allowed to create any function in the database, I can use a simple SELECT statement.

    Any ideas on how I can do?

    Assuming that comments contain no vertical bar (|) character:

    with doc_comments as (
                          select 1 doc,'Note A' comments from dual union all
                          select 1,'Note B' from dual union all
                          select 2,'Note C' from dual union all
                          select 2,'Note D' from dual union all
                          select 2,'Note E' from dual union all
                          select 3,'Note F' from dual
                         )
    select  doc,
            replace(ltrim(sys_connect_by_path(comments,'|'),'|'),'|',', ') comments
      from  (
             select  doc,
                     comments,
                     row_number() over(partition by doc order by comments) rn
               from  doc_comments
            )
      where connect_by_isleaf = 1
      start with rn = 1
      connect by doc = prior doc
             and rn  = prior rn + 1
      order by doc
    /
    
           DOC COMMENTS
    ---------- ----------------------------------------
             1 Note A, Note B
             2 Note C, Note D, Note E
             3 Note F
    
    SQL> 
    

    And if the comments may contain the vertical bar (|), then replace the hose in the code above with a character that is not used in the comments.

    SY.

  • How to display the information in the employee table based on the salary in different ranges.

    I have a table that is used with the details of the employee. I want that employees on the basis of the order of the salary range for the list. For eg., list of employees that are there, I first list salary range 1000-3000 and 3000-5000, then 5000-10000. How to write sql queries to solve this problem? your answers are appreciated.

    something like that

    select t.*,
          case
            when sal between 1000 and  3000 then 1
            when sal between 3000 and  5000 then 2
            when sal between 5000 and 10000 then 3
            else 99
          end range
      from scott.emp t
      order by range, 1, 2;
    
  • Update the salary of the employees more then one. v.Urg

    Hello everyone I want to update the salary of 100 employees. .salary is different employee_code would be obviously different... what would be the declaration of PL/SQL for this.

    Hello

    Here is an example:

    To increase the salary of each employee of 2%, we could say:

    UPDATE  employees
    SET     salary = salary * 1.02;
    

    You needn't PL/SQL to do this, but you can use the PL/SQL if you wish.

  • Suppose I have a table emp that has thousands of lines of data. In this table, I have to get only the employees whose salary is equal.

    Hello world

    Suppose I have a table emp that has thousands of lines of data. In this table of employees receive wages between 1000-10000.

    Now I have to get only the employees whose salary is equal.

    for example

    empNo empName sal

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

    1 ram 5000

    2 5000 Shyam

    3 1000 Dilip

    4 deepak 2000

    5 sisi 1000

    6 1000 Priya

    so now...

    Now without using ' select * from emp where Sal IN (5000,1000). "How can I get these employees with the same salary?

    SELECT *.

    EMP e1

    WHERE EXISTS (SELECT 99 FROM emp e2 WHERE e2.sal = e1.sal AND e2.empno! = e1.empno)

    or maybe

    SELECT *.

    WCP

    WHERE sal IN (SELECT sal FROM emp GROUP BY sal HAVING COUNT (*) > 1)

  • Display a salary Total of the Organization as well as the details of the employee in a line

    Hi all

    Salary Total of display of the Organization as well as the details of the employee in an example line below gives me all the lines of "total_sal" 29025

    Select a.empno, a.ename, a.deptno, a.sal, b.total_sal

    of the emp.

    (select sum (sal) total_sal from emp b) b

    Thank you

    Display a salary Total of the Organization as well as the details of the employee in a ro

    Display a salary Total of the Organization as well as the details of the employee in a line

    Your condition is not clear. Can you show your expected results. Will this make?

    SQL > select empno
    2, decode (grp_id, 0, ename, 2, 'Total Department-' | to_char (deptno), 3, "Grand Total") ename
    3, sal
    4 of)
    5. Select empno
    6, ename
    7, deptno
    8, sum (sal) sal
    9                 , (
    10 grouping_id (deptno)
    11 + grouping_id (empno)
    12 + grouping_id (ename)
    (13) grp_id
    14 of PEM
    Group 15
    16 per cumulative (deptno, ename, empno)
    17         )
    18 where grp_id (0, 2, 3);

    EMPNO, ENAME SAL

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

    7782 CLARK 12450

    7839 KING 5000

    Total Department - 10 17450

    7369 SMITH 12975

    7566 JONES 12975

    7788 SCOTT 13000

    7876 ADAMS 11101

    Total Department - 20 50051

    7499 ALLEN 11600

    7521 WARD 11250

    7654 MARTIN 11250

    7698 BLAKE 12850

    7844 TURNER 11500

    Total Department - 30 58450

    Grand Total 125951

    15 selected lines.

  • name of the employee whose average sal is greater than an average salary of their

    name of the employee whose sal is higher than an average wage of their respective Department

    Published by: Kilian on December 27, 2009 11:52

    I guess you mean the employees whose salary is equal then the average salary in their own Department.

    You can use Analytics:

    SQL> select * from (
      2  select ename, deptno, avg(sal) over (partition by deptno) deptavg, sal
      3  from emp
      4  ) where sal>deptavg;
    
    ENAME          DEPTNO    DEPTAVG        SAL
    ---------- ---------- ---------- ----------
    KING               10 2916,66667       5000
    JONES              20       2175       2975
    FORD               20       2175       3000
    SCOTT              20       2175       3000
    ALLEN              30 1566,66667       1600
    BLAKE              30 1566,66667       2850
    

    Or a classic correlated subquery:

    SQL> select ename, deptno, sal
      2  from emp e1
      3  where sal>(select avg(sal) from emp e2 where e2.deptno=e1.deptno);
    
    ENAME          DEPTNO        SAL
    ---------- ---------- ----------
    KING               10       5000
    JONES              20       2975
    SCOTT              20       3000
    FORD               20       3000
    ALLEN              30       1600
    BLAKE              30       2850
    

    Max
    [My Italian blog Oracle | http://oracleitalia.wordpress.com/2009/12/26/leggiamo-meglio-il-dizionario-dati-utilizzando-dbms_metadata/]

  • Capture the output of a workflow in a different workflow

    I'm calling a WF1 workflow from another workflow WF2. I am able to do and WF1 is running perfectly in the background and the desired output via a return number. Newspapers of WF1 to verify that.

    But I want to capture the output (table/integer) to WF1 by WF2. I can't pass the exit (snapshots) WF2.

    I enclose the code and the journal of WF2. I enclose the code and WF1 journal as well.

    Well, well, you seem to met a strange problem... It was me frustrating because your code resembles a re-work of my code here:

    How to retrieve the details of Workflow

    ... If I run MY library workflow that checks the chips of workflow, the output, but all the variations, I tried to get out of the current token element has ended in the same result as what you had: null.

    So, as executions of audit workflow worked rather than the active token, wait until the workflow has completed, and then loop through the workflow runs until you find the one with the matching id of the token you just ran... once that you find, parse the output.

    Given two workflows you set in the last post, replace your task Scriptable text in the 'test' WF follows him with and run it (feel free to delete the code useless, I left all my code test in place in there something of another case may be useful):

    var inputParameters = new Properties();
    inputParameters.put("name", name);
    System.log("name '" +name);
    System.log("hostResource '" +hostResource);
    var curToken = wf.execute(inputParameters); //,"root","vmware");
    while (curToken.state == "running"){
        System.log(".. still running ..");
        System.sleep(1000);
    }
    var tokens = wf.executions;
    // Each execution is a "workflowToken" object
    for each (token in tokens){
        if (token.id == curToken.id && token.isStillValid){
            System.log("");
            System.log("=============== Checking token ===============");
            System.log("Token ID: "+token.id);
            System.log("Start Date: "+token.startDate);
            if(token.endDate != null){
                System.log("End Date: "+token.endDate);
            }
            System.log("Business State: "+token.businessState); // Indicates the business state as defined by the workflow dev in each of the elements of the workflow (not always specified)
            System.log("State: "+token.state); // Indicates the system state of this workflow
            /* State values are likely to be one of the following:
            waiting <- waiting for user input
            failed <- an exception was thrown to cause the workflow to fail
            completed <- workflow competed running successfully
            canceled <- user right-clicked and canceled the workflow
            running <- workflow is still processing
            */
            System.log("");
            System.log("==== Token Inputs ====");
            var inputParams = token.getInputParameters();
            if (inputParams != null){
                for each (key in inputParams.keys){
                    var value = inputParams.get(key);
                    System.log(key + ": " + value + " ("+System.getObjectType(value)+")");
                }
            }
            System.log("");
            System.log("==== Token Attributes ====");
            var attributes = token.getAttributes();
            if(attributes != null){
                for each (key in attributes.keys){
                    var value = attributes.get(key);
                    System.log(key + ": " + value + " ("+System.getObjectType(value)+")");
                }
            }
    
            System.log("");
            System.log("==== Token Outputs ====");
            var outputParams = token.getOutputParameters();
            if (outputParams != null){
                for each (key in outputParams.keys){
                    var value = outputParams.get(key);
                    System.log(key + ": " + value + " ("+System.getObjectType(value)+")");
                }
            }
    
            System.log("");
            System.log("==== Token Log Events ====");
            var logEvents = new Array();
            logEvents = token.logEvents;
            var eventCount = logEvents.length;
            System.log("Event Count: "+eventCount);
            for (i=eventCount-1; i>-1; i--){
                var logEvent = logEvents[i];
                System.log("");
                System.log(" == EVENT ENTRY "+(eventCount - i)+" == ");
                System.log("logTimeStamp: "+logEvent.logTimeStamp);
                System.log("longDescription: "+logEvent.longDescription);
                System.log("originatorId: "+logEvent.originatorId);
                System.log("originatorUri: "+logEvent.originarorUri);
                System.log("originatorUserName: "+logEvent.originatorUserName);
                System.log("severity: "+logEvent.severity);
                System.log("shortDescription: "+logEvent.shortDescription);
            }
        }
    }
    

    And to get an idea of the output, my tab newspapers looked like this:

    [2014-08-01 16:29:25.632] [I] name 'demo
    [2014-08-01 16:29:25.632] [I] hostResource 'null
    [2014-08-01 16:29:26.351] [I] .. still running ..
    [2014-08-01 16:29:27.365] [I]
    [2014-08-01 16:29:27.365] [I] =============== Checking token ===============
    [2014-08-01 16:29:27.365] [I] Token ID: ff80808146af57140147934349c10567
    [2014-08-01 16:29:27.365] [I] Start Date: 2014-08-01 16:29:26
    [2014-08-01 16:29:27.365] [I] End Date: 2014-08-01 16:29:26
    [2014-08-01 16:29:27.365] [I] Business State: null
    [2014-08-01 16:29:27.367] [I] State: completed
    [2014-08-01 16:29:27.367] [I]
    [2014-08-01 16:29:27.367] [I] ==== Token Inputs ====
    [2014-08-01 16:29:27.371] [I] name: demo (string)
    [2014-08-01 16:29:27.371] [I]
    [2014-08-01 16:29:27.371] [I] ==== Token Attributes ====
    [2014-08-01 16:29:27.374] [I] restOperation: null (null)
    [2014-08-01 16:29:27.374] [I] statusCodeAttribute: null (null)
    [2014-08-01 16:29:27.374] [I] snapshotids: null (null)
    [2014-08-01 16:29:27.374] [I] RESTHost: null (null)
    [2014-08-01 16:29:27.375] [I] hostResource: null (null)
    [2014-08-01 16:29:27.375] [I] errorCode:  (string)
    [2014-08-01 16:29:27.375] [I]
    [2014-08-01 16:29:27.375] [I] ==== Token Outputs ====
    [2014-08-01 16:29:27.378] [I] snapshots: 1966,2262,2555,2927,3272,3586,3895,3903,3909,3987,4041,4430,4734,5048 (Array)
    [2014-08-01 16:29:27.378] [I]
    [2014-08-01 16:29:27.378] [I] ==== Token Log Events ====
    [2014-08-01 16:29:27.423] [I] Event Count: 2
    [2014-08-01 16:29:27.423] [I]
    [2014-08-01 16:29:27.423] [I]  == EVENT ENTRY 1 ==
    [2014-08-01 16:29:27.423] [I] logTimeStamp: 2014-08-01 16:29:26.364
    [2014-08-01 16:29:27.423] [I] longDescription: Workflow has started
    [2014-08-01 16:29:27.423] [I] originatorId: a4e950d3-c575-4ddd-8b7f-dd838cdf7b2e
    [2014-08-01 16:29:27.423] [I] originatorUri: undefined
    [2014-08-01 16:29:27.423] [I] originatorUserName: bazbill
    [2014-08-01 16:29:27.424] [I] severity: 0
    [2014-08-01 16:29:27.424] [I] shortDescription: Workflow has started
    [2014-08-01 16:29:27.424] [I]
    [2014-08-01 16:29:27.424] [I]  == EVENT ENTRY 2 ==
    [2014-08-01 16:29:27.424] [I] logTimeStamp: 2014-08-01 16:29:26.401
    [2014-08-01 16:29:27.424] [I] longDescription: Workflow is completed
    [2014-08-01 16:29:27.424] [I] originatorId: a4e950d3-c575-4ddd-8b7f-dd838cdf7b2e
    [2014-08-01 16:29:27.424] [I] originatorUri: undefined
    [2014-08-01 16:29:27.425] [I] originatorUserName: bazbill
    [2014-08-01 16:29:27.425] [I] severity: 0
    [2014-08-01 16:29:27.425] [I] shortDescription: Workflow is completed
    
  • How to capture the pointer when you use print screen in Vista?

    I am writing instructions for three classes of Excel, and I want to capture the different sliders to include in the directions.  Of course, when I use print screen, they disappear, so nobody knows how to capture them?

    Hello

    I suggest you to try the cutting tool and check if it helps.

    Use the cutting tool for screenshots:

    http://Windows.Microsoft.com/en-us/Windows-Vista/use-Snipping-Tool-to-capture-screen-shots

    I hope that helps!

  • update of the commission of 6 percent of the employees in each Department, who got less pay

    How to upgrade add 6% commission to the salary of the employee in each Department, which received less pay

    Vinodh

    ora_1978 wrote:

    create table emp (number of eno, ename varchar2 (20), number of salary, number of dno);

    Insert into emp values(1,'john',1000,10);

    Insert into emp values(2,'smith',2000,10);

    Insert into emp values(3,'bill',5000,20);

    Insert into emp values(4,'mary',6000,20);

    Insert into emp values(5,'charles',1500,20);

    Insert into emp values(4,'mary',2000,30);

    Insert into emp values(4,'patrick',4500,30);

    create table dept (number of dno, dname varchar2 (10));

    Insert into dept values(10, 'HR');

    Insert into dept values(20, 'IT');

    Insert into dept values(30, 'ADMIN');

    How to add 6% commission to the salary of the employee table in each Department, which received less pay

    for example in the emp table for the dno 20 salary charles should get updated at 1500 * 1.6

    Vinodh

    Assuming that the two last emp records have 6 and 7 of Brian eno (and not 4 as you have your copy and paste error)...

    You can identify the records with the minimum in each Department as...

    SQL > ed
    A written file afiedt.buf

    1 Select keep (dense_rank of first order of salary) of the min (eno) as min_eno
    2 of t_emp
    3 * Group of dno
    SQL > /.
    MIN_ENO
    ----------
    1
    5
    6

    3 selected lines.

  • Impossible to update the details of the employee

    Hi friends,

    I developed a page request. The results of the employee are shown in the table and a column of the table that has empid is a command link. By clicking on this link, I am able to go to a page containing the details of the employee. However when I try to update the details of the employee, I get the following error

    ORA-42399: impossible to perform a DML operation on a view read-only ORA-06512

    I checked the view object. It is editable. No idea where I am going wrong.

    Thank you

    The ViewObject (VO) you use for the query is not based on an EntiryObject (EO). Only your EOs based are able to update the data. You can do two things:

    (1) base you VO on an EO

    (2) use the retail ID to open a form in a different VO, inspired by the EO and modify the data here. An example for this can be found here http://tompeez.wordpress.com/2011/07/31/using-diferent-vos-for-master-detail-navigation/

    Timo

  • Capture the event media export in Adobe Premiere

    We develop a html5 Adobe first Extension. The extension is important files to the editor of our archives. The files have two versions. HI-res and low resolution.  We import versions low-resolution to the editor. We want to change the path of the file of bass to high resolution when the user finishes his work and exports media (file-> export-> Media). Is there a way to capture the event of export and change the paths of the files?

    You can change the path using changeMediaPath() on project items.

    There is no way to capture the export event when the user is not interacting with your Panel. However, your panel could have a button "replace all the lower-res with high resolution.

    NOTE: If the dimensions of the image are different between lo-res and hi-res, your movies will look strange (images will be much too big, or too small). Use proxies with the same dimensions as the images high resolution.

Maybe you are looking for