Modify SIL_GLBalanceFact to populate Balance_Global1_Amt column.

Hello Everyone,
Any help on the following scenario Will be much appreciated!
-->We have data coming in from 2 Peoplesoft instances(one with USD currency values and other with CAD currency values)
-->Currently we are extracting these values and loading them as local amounts in the Balance_loc_Amt column in W_GL_BALANCE_F table in the datawarehouse without any conversions.
-->Now we have a flat file which has the Currency conversion rate to SEK(Swedish Currency)
1st task:
-->Populate the SEK currency rate to W_EXCH_RATE_G table manually.
2nd task:
-->Modify the Informatica mapping such that the records coming from USD and CAD are converted to SEK using the flatfile as source and W_EXCH_RATE_G table and get populated in Balance_Global1_Amt column in W_GL_BALANCE_F table.
Thanks for the help in advance!
-Nikki.

Hi Nikki,
The BI Applications have currency conversion features built in; I would explore them in the first instance.
Up to three global currencies are supported; these are setup using DAC parameters:-
$$GLOBAL1_CURR_CODE
$$GLOBAL2_CURR_CODE
$$GLOBAL3_CURR_CODE
$$GLOBAL1_RATE_TYPE
$$GLOBAL2_RATE_TYPE
$$GLOBAL3_RATE_TYPE
The ETL populates these for each datasource into the Warehouse table W_GLOBAL_CURR_G (using mapping SIL_GlobalCurrencyGeneral_Update).
The rate type parameters tell the ETL where to source exchange rates from in your source system. If you want to source rates from a different data source (e.g. a flatfile) then you will have to customise mappings to load W_EXCH_RATE_G accordingly (see the mappings SIL_ExchangeRateGeneral and the corresponding SDE mapping(s) for your data source e.g. PeopleSoft).
If you look at the SIL mapping for the W_GL_BALANCE_F table (SIL_GLBalanceFact) you will see a Mapplet called MPLT_CURCY_CONVERSION_RATES1 which gets the three global exchange rates for a given DATASOURCE_NUM_ID, TENANT_ID, EXCH_DT and DOC_CURR_CODE. This mapplet references W_GLOBAL_CURR_G to get the rate types. A latter Expression transformation called Exp_W_GL_BALANCE_F_Update_Flag then multiplies the retrieved rates by the local amounts to get the global amounts.
So, the custom mapping that loads the exchange rate table should load rates (between local and global currencies) with all the necessary dates for conversion, the correct datasource_num_id and tenant_id. The rate type should then be defined in the DAC parameter(s).
Please see the following section of the configuration guide:-
http://docs.oracle.com/cd/E20490_01/bia.7963/e19039/anyimp_oracle_apps.htm#BABJJJHF
Please mark if helpful / answered,
Andy.

Similar Messages

  • How to populate who column values, when commiting the transaction?

    Hi,
    In Oracle forms we can populate who columns thru FND_STANDARD.SET_WHO;
    How is it in OAF?. Standard setter methods are sufficient or do I need to code something to get the values.
    Thanks

    Yes, all Setter methods are in EOImpl object. After I commit the trasnaction, who columns are showing as null.
    CreationDate
    CreatedBy
    LastUpdatedBy
    LastUpdateDate
    LastUpdateLogin
    * Gets the attribute value for CreationDate, using the alias name CreationDate
    public Date getCreationDate()
    return (Date)getAttributeInternal(CREATIONDATE);
    * Sets <code>value</code> as the attribute value for CreationDate
    public void setCreationDate(Date value)
    setAttributeInternal(CREATIONDATE, value);
    * Gets the attribute value for CreatedBy, using the alias name CreatedBy
    public Number getCreatedBy()
    return (Number)getAttributeInternal(CREATEDBY);
    * Sets <code>value</code> as the attribute value for CreatedBy
    public void setCreatedBy(Number value)
    setAttributeInternal(CREATEDBY, value);
    * Gets the attribute value for LastUpdatedBy, using the alias name LastUpdatedBy
    public Number getLastUpdatedBy()
    return (Number)getAttributeInternal(LASTUPDATEDBY);
    * Sets <code>value</code> as the attribute value for LastUpdatedBy
    public void setLastUpdatedBy(Number value)
    setAttributeInternal(LASTUPDATEDBY, value);
    * Gets the attribute value for LastUpdateDate, using the alias name LastUpdateDate
    public Date getLastUpdateDate()
    return (Date)getAttributeInternal(LASTUPDATEDATE);
    * Sets <code>value</code> as the attribute value for LastUpdateDate
    public void setLastUpdateDate(Date value)
    setAttributeInternal(LASTUPDATEDATE, value);
    public Number getLastUpdateLogin()
    return (Number)getAttributeInternal(LASTUPDATELOGIN);
    * Sets <code>value</code> as the attribute value for LastUpdateLogin
    public void setLastUpdateLogin(Number value)
    setAttributeInternal(LASTUPDATELOGIN, value);
    protected void updateRowWho()
    OADBTransaction oadbtransaction = getOADBTransaction();
    if(oadbtransaction.isLoggingEnabled(2))
    oadbtransaction.writeDiagnostics(this, "Entering updateRowWho", 2);
    oadbtransaction.writeDiagnostics(this, "Not updating WHO columns", 2);
    oadbtransaction.writeDiagnostics(this, "Leaving updateRowWho", 2);
    protected void createRowWho()
    OADBTransaction oadbtransaction = getOADBTransaction();
    if(oadbtransaction.isLoggingEnabled(2))
    oadbtransaction.writeDiagnostics(this, "Entering createRowWho", 2);
    oadbtransaction.writeDiagnostics(this, "Not updating WHO columns", 2);
    oadbtransaction.writeDiagnostics(this, "Leaving createRowWho", 2);
    Thanks

  • How to populate the column "Network" in Transaction FAGLL03

    Hello Friends,
    I need to populate the column "Network" in Transaction FAGLL03. I have followed the SAP note 984305 - "Line item: Definition of special fields (T021S)" to display the column "Network". But the problem is field Network (BSEG-NPLNR) is empty for all line items and hence it is coming blank in Transaction FAGLL03. The value of Network is maintained in table AUFK.
    I have executed program BALVBUFDEL and RFPOSXEXTEND.
    But the column "Network" is still coming empty.
    Thank you
    Jeet

    Hi Jeetendar,
    I think at the time of posting you have not provided the network field or it might be suppressed. Due to this the line items are showing blank.
    Regards,
    Mukthar

  • How can we modify the maximum no. of columns in pivot table ?

    hi all,
    How can we modify the maximum no. of columns in pivot table ?
    do i need to change the nqconfig.ini or instanceconfig file or else?
    thnx..

    A little search on the forum :
    In the instanceconfig.xml add a <PivotView> element under <ServerInstance> if one does
    not exist already.
    Within the <PivotView> element add an entry that looks like:
    <MaxCells>nnnnnn</MaxCells>
    where nnnnnn is your desired limit for the maximum total number of cells allowed
    in a pivot.
    Warning: an excessively large number will cause more memory consumption and
    slower browser performance.The details here :
    Oracle BI EE (10.1.3.2): Maximum total number of cells in Pivot Table excee

  • Auto populate List Column

    I want to auto populate a Column that's in all my document libraries.  I want to set this Column to the document library name.
    I know I can create an ItemAdding Event Receiver to grab ListTitle. 
    But my situation wouldn't be based on an event.  I only want to run this once to populate this Column, then it will never change.
    I would have to be based it on a WorkflowStarted.  But in the WorkflowStarted Event Receiver, I don't see how to grab ListTitle.
    Does anyone know how to grab ListTitle in the WorkflowStarted Event Receiver?
    Or do you know of another way to grab ListTitle and populate a Column with that value?
    thanks!

    Hello,
    You may try with "properties.ActivationProperties.List" to get current list name.
    http://blogs.technet.com/b/sharepointdevelopersupport/archive/2013/06/28/how-to-access-list-item-in-workflowstarting-event-receiver-when-required-documents-to-be-checked-out-option-is-set-to-yes.aspx
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Populate a column based on if it's null or not..!

    Hello Gurus, 
    I'm trying to populate a column based on if it's null or not. 
    If it's null i want to populate with another column values. If it's not null then populate with the same column value. 
    I wrote the query like below but I'm getting error saying 'SQL command not properly ended'
    select school_id, class_id  from school
         where class_id= case when
    class_id  IS NOT NULL  then
    class_id  
                    when class_id    IS  NULL then
    school_id
                    end as
    class_id
    Please help me!! Thanks

    You asked your question in a wrong forum. Please find a forum for Oracle question. Thanks.
    Check this:
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/functions023.htm#SQLRF00617

  • How to populate a column value dynamically based on org id value

    Hi,
    I have two columns in a table program_id and org_id,
    I need to populate program_id = 1 for org_id = 100
    I need to populate program_id = 2 for org_id = 101
    for populating org_id i am using "fnd_profile.value('ORG_ID')". This is working fine. But when i decode doe program_id it is not working.
    below is the samle control fille i am using.
    into table ap_credit_card_trxns_all
    when (1) = '1' and (431:432) <> 'CA' and (431:432) <> '04' and (431:432) <> '03' and (431:432) <> '01' and (431:432) <> 'NF'
    trx_id                    "ap_credit_card_trxns_s1.nextval",
    validate_code               constant 'N',
    payment_flag               constant 'N',
    card_program_id          "decode(:org_id,82,10000,83,10001,null)", --
    org_id           "fnd_profile.value('ORG_ID')"
    I tried all possible ways but still not working. Can any experts please help me on this.
    Thanks,

    Pl post details of OS, database and EBS versions.
    AFAIK, you cannot use multiple WHEN clauses in your control file.
    >
    when (1) = '1' and (431:432) 'CA' and (431:432) '04' and (431:432) '03' and (431:432) '01' and (431:432) 'NF'
    >
    Srini

  • How to Populate multi column datagrid

    I would like to populate a datagrid from my dynamic xml
    source. The datagrid is two collumns, the "name" collumn and the
    "id" collumn, my problem comes in when i try to get both the name
    and the id values from a single nested xml string rather then two
    seperate ones. What i get is a list in the first row of each
    collumn is a comman deliminated list like this "product 1, product
    2, product 3,", do i need to convert this to an array? I would also
    like to be able to sort this grid but im not sure if thats done on
    the data side in my xml source with a particular "Tag" or what..
    Examples are below:
    -xml-rendered-by-source-to-HTTPService-is-confirmed-
    <products>
    <name>product 1</name>
    <pid>101</pid>
    <name>product 2</name>
    <pid>102</pid>
    <name>product 3</name>
    <pid>103</pid>
    <name>product 4</name>
    <pid>104</pid>
    </products>
    -end-xml--------------------------------------------
    -flex-application-----------------------------------
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="400" height="300"
    creationComplete="getCat();changeCat('Tile')">
    <mx:HTTPService id="prodByCatStream"
    url="
    http://localhost/rogerwilko/AndeanStone/xml.asp"
    method="post"/>
    <mx:DataGrid id="prodList"
    dataProvider="{mx.utils.ArrayUtil.toArray(this.prodByCatStream.lastResult.products)}"
    columnWidth="200" width="200" left="10" top="62" bottom="10"
    cornerRadius="2">
    <mx:columns>
    <mx:DataGridColumn headerText="{prodCatList.value}"
    dataField="name"/>
    <mx:DataGridColumn headerText="PID" dataField="pid"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:Canvas>
    -end-flex-application-------------------------------
    Thanks alot to anyone willing to help!
    leo

    Ok after reading 3 paragraphs from an XML pdf i realised how
    stupid my mistake was,
    by changing the xml output to this i fixed all my issues
    including the sort arrow error i was having.
    <products>
    <name>Test 1</name>
    <pid>101</pid>
    </products>
    <products>
    <name>Test 2</name>
    </products>
    leo

  • How to auto populate a column/SharePoint list with Current Date?

    I have a SharePoint list and I created a column called ‘CurrDate’. 
    I need this column to;
     Display the current      date,
    Auto populate all rows with the current date in the      SharePoint list
    Dynamically update with the current date
    I first tried creating the column using the default SharePoint interface Date Time but it’s not doing any of the steps listed above:
    I even tried entering =[Today] in the Calculated Value field. 
    Still nothing…
    So, I’m sure you will toss out a code snippet to make this work, which is great. 
    However, I’m a total noob with SPD, where the heck do I insert this snippet?
    Always in need of help.

    Hi ,
    I understand that you want to add a column  to a list to hold current date. Here is a workaround:
    Add a single line of text column to the list. Name the list as Today.
    Add a calculated column to the list. Use the [Today] as the formula. Set the calculated column to be Date and Time type.
    Delete the Today column from the list.
    Thanks,
    Entan Ming
    TechNet Subscriber Support in forum
    If you have any feedback on our support, please [email protected]
    Entan Ming
    TechNet Community Support

  • Modify long raw to blob column

    Hello,
    I would like to know if it is possible to modify a long raw column into a blob column, without having to drop and recreate my table.
    There is already data inserted in the long raw column.
    Thanks in advance,
    Cindy

    'Fraid not.
    A LOB is stored "out-of-line", which means the actual "raw" data is held separately from the table. A long raw stores the data in-line. This means that you'll have to write some code to extract the "raw" data and write it to the LOB. Methinks you won't be able to add a LOB-type column to the table if you have a long raw existing in it already.

  • Most Efficient Way to Populate My Column?

    I have several very large tables, some of them are partitioned tables.
    I want to populate every row of one column in each of these tables with the same value.
    1.] What's the most efficient way to do this given that I cannot make the table unavailable to the users during this operation?
    I mean, if I were to simply do:
    update <table> set <column>=<value>;
    then I think I'll lock every row for writing by others until the commit. I figured there might be another way that makes better sense in my case.
    2.] Are there any optimizer hints I might be able to take advantage of here? I don't use hints much but with such a long running operation I'll take any help I can get.
    Thank you

    1. May be a better solution exists.
    Since you do not want to lock the table...
    Save the ROWID's of all the rows in that table in a temporary table.
    Write a routine which will loop through this temporary table and use the ROWID to update the main table and issue commit at regular intervals.
    However, this does not take into account the rows that would be added to main table after the temporary table has been created.
    2. Not that I am aware of.

  • Populate 3 columns in obiee

    Hi,
    i wanted to populate these 3 columns from the given table but how to create such a condition in table level
    SELECT 'Press' AS Location,
    ROUND(CONVERT(DECIMAL(8,2), DATEDIFF(mi,'[Param.1]', '[Param.2]')/60.0),0) AS ScheduledPressHours,
    CONVERT(DECIMAL(8,2),SUM(rs.Duration)/3600.0) AS UtilizedHours,
    CONVERT(DECIMAL(8,2),((CONVERT(DECIMAL(8,2),SUM(rs.Duration)/3600.0))/(DATEDIFF(hh,'[Param.1]', '[Param.2]')))*100) PressUtilization
    FROM
    SELECT a.MOT,a.PieceID,a.Grade,a.Heat,a.Ingot,a.OriginalRecipeID,
    rtrim(cast(a.OriginalRecipeID as char)) + '.' +
    rtrim(cast(a.MajorRevision as char)) + '.' +
    rtrim(cast(a.MinorRevision as char)) Press_recipe,
    MIN(a.[TimeStamp]) AS ForgeInTime,
    MAX(a.[TimeStamp]) AS ForgeOutTime,
    --MIN(a.TimeStamp) AS ForgeInTime, MAX(a.TimeStamp) AS ForgeOutTime,
    DATEDIFF(ss, MIN(a.[TimeStamp]), MAX(a.[TimeStamp])) AS Duration
    --sum(a.TotalContactTime) Forging_time
    FROM
    --prddat.ArmsPressPassDataView a
    prddat.ArmsPressStrokeDataView a
    where a.timestamp BETWEEN '[Param.1]' AND '[Param.2]'
    --a.grade          = '365'
    --and a.timestamp >= '2010-10-01'
    and a.MOT <> 'PRTEST'
    group by a.MOT, a.PieceID, a.Grade, a.Heat, a.Ingot, a.OriginalRecipeId,
    a.transid, a.MajorRevision, a.MinorRevision
    HAVING DATEDIFF(ss, MIN(a.[TimeStamp]), MAX(a.[TimeStamp]) ) > 0
    ) rs
    thanks

    I've solved the problem: the <managed-bean-scope> tag of bean was defined in the faces-config.xml as 'request' and not 'session'. When I set to 'session', it functioned perfectly...

  • Populate other column value based on previous row value using t-sql

    Hi All,
    I have one table with 6 columns, let say ID1, ID2,status, EnteredDate,NewValue, Old Value. Where ID1 is the primary key field
     ID1       ID2       status             EnteredDate        NewValue      
    Old Value
      1          XYZ       New              07/12/2012           
    ABC               null
      2          XYZ       Renewal        08/19/2012            DEF               
    null
      3          XYZ       Cancel           10/21/2012            GHI               
    null
      4          ZYX       New              09/15/2012           
    BDF               null
      5          ZYX       Cancel           10/21/2012            MNS             
    null
      6          MBS       New              05/29/2012           
    EXP               null
      7          SBX        New              05/29/2012           
    SKS               null
      8          SBX        Renewal        06/21/2012            QSR              
    SKS
    Basically I need a sql query which should populate Output as below. Status=New will always have old date compared to Renewal and Cancel and also OldValue field will be null always for status=New
    Output:
     ID1       ID2       status           EnteredDate        NewValue      
    Old Value     Row_Num(based on ID1,ID2,Entereddate)
      1          XYZ       New              07/12/2012           
    ABC               null                 1
      2          XYZ       Renewal        08/19/2012            DEF               
    ABC                2
      3          XYZ       Cancel           10/21/2012            GHI               
    DEF                 3
      4          ZYX       New              09/15/2012           
    BDF               null                   1
      5          ZYX       Cancel           10/21/2012            MNS              
    BDF                 2
      6          MBS       New              05/29/2012           
    EXP               null                  1
      7          SBX        New              05/29/2012           
    SKS               null                  1
      8          SBX        Renewal        06/21/2012            QSR              
    SKS                2
    Thanks in Advance, its very urgent. Pls send me the query ASAP.
    RH
    sql

    Hi,
    In case of you are using SQL 2012, you can use new built-in function like LAG, try this;
    USE tempdb
    GO
    CREATE TABLE dbo.Test
    ID1 int PRIMARY KEY
    , ID2 char(3) NOT NULL
    , Status varchar(20) NOT NULL
    , EnteredDate date NOT NULL
    , NewValue char(3) NOT NULL
    , OldValue char(3) NULL
    GO
    INSERT INTO dbo.Test
    (ID1, ID2, Status, EnteredDate, NewValue, OldValue)
    VALUES
    (1, 'XYZ', 'New', '07/12/2012', 'ABC', null)
    , (2, 'XYZ', 'Renewal', '08/19/2012', 'DEF', null)
    , (3, 'XYZ', 'Cancel', '10/21/2012', 'GHI', null)
    , (4, 'ZYX', 'New', '09/15/2012' ,'BDF', null)
    , (5, 'ZYX', 'Cancel', '10/21/2012', 'MNS',null)
    , (6, 'MBS', 'New', '05/29/2012', 'EXP', null)
    , (7, 'SBX', 'New', '05/29/2012', 'SKS', null)
    , (8, 'SBX', 'Renewal', '06/21/2012', 'QSR', 'SKS')
    WITH cte
    AS
    (SELECT ID1, ID2, Status, EnteredDate, NewValue, OldValue
    , ROW_NUMBER() OVER(PARTITION BY ID2 ORDER BY ID2) Row_Num
    , LAG(NewValue, 1, 0) OVER(PARTITION BY ID2 ORDER BY ID2) NewOldValue
    FROM dbo.Test)
    SELECT ID1, ID2, Status, EnteredDate, NewValue
    , NULLIF(NewOldValue, '0') NewOldValue, Row_Num
    FROM cte
    ORDER BY ID1, ID2;
    Dinesh Priyankara
    http://dinesql.blogspot.com/
    Please use Mark as answer (Or Propose as answer) or Vote as helpful if the post is useful.

  • How to populate note_to_vendor column in po_requisition_lines_all

    Hi,
    I want to populate the note_to_vendor column in po_requisition_lines_all through Requisition open interface.But i am not able to find any column in po_requisitions_interface_all for the same.
    Also is there any way to find the mapping of the columns in interface tables and standard apps tables.
    Pls suggest a solution.
    Thanks...
    Regards,
    Sudeep

    Please see note 214012.1.
    * The NOTE_TO_VENDORS column was added to the PO_REQUISITION_LINES_ALL by Bug 981901. It is not used in the Reqimport process.
    fix:
    To create a note to the Supplier for the requisition, define an attachment and
    use the NOTE1_ID thru NOTE10_ID columns.
    For the mapping information - you will want to see note 359295.1 which has a link to the following manual -
    Oracle® Purchasing Release 11i10 Open Interfaces and APIs
    Regards,
    Mike

  • Can I populate specific columns and rows in a grid in SSRS?

    Hello,
    Using SSRS 2008, I need to create a report that populates information with a specific layout — that layout will always be the same. Just what populates it will change. In other words, I need to populate a grid but only certain rows and columns.
    Something sort of like this:
    Item 3
    Item 4
    Item 7
    Item 1
    Item 5
    Item 8
    Item 2
    Item 6
    Item 9
    Item 10
    Is there a way to do this?
    Thank you for the help.
    ~J

    Hi J,
    Based on your sample data, we can use matrix to get the same effect.
    Please refer to the steps below:
    Add a matrix in the repot body. Please refer to the following values:
    Row Group: [Row]
    Column Group: [Col]
    Details: [Answer]
    Then, right click [Row] in Row Groups dialog box, select Group Properties.
    Click Sorting in the left pane. Change the order to “Z to A”.
    Please refer to the screenshot below:
    If you have any questions, please feel free to let me know.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

Maybe you are looking for

  • Can I set up two IPhones to 1 Itunes account

    Hi, my Missus has jsut got an iPhone (activated at the shop) I want to get her on my PC using my itunes account (I have an iphone) Is this possible? I plugged hers in, logged in via my i Tunes loggin, and a page where I can change details appeared. D

  • [solved] bumblebee - can't use NVIDIA

    hi I can't find anything helpfull about this error. johannes@arch-laptop ~ % optirun steam [ 1074.176912] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) systemd-logind: failed to get session: PID 753 does not belong to any known session [ 10

  • How to run db2 command by using Runtime exec

    Hello I am using java. When i am runing db2 command by using Runtime.exec( String cmd, String[] env ). I gave the environment path DB2CLP=6259901 DB2DRIVER=D:\ibm\db2\java\db2java.zip DB2HOME=D:\ibm\db2 DB2INSTANCE=DB2 DB2MMTOP=D:\CMBISS but still I

  • When in iPhoto everything works great except when I am in the "faces" portion

    I am having a hard time in Iphoto in the "faces" portion.  When I click on the Iphoto faces portion I previously had about 15 people who I had recorded their face etc.  Now when I go on the "faces" area there are just 15 blank square boxes.  If I dou

  • Fragmentation in Sqlserver

    Hi  Can anyone tell me the query to findout the fragmentation in the database tables.  and how to defragment. please provide me a detailed  explaination.