Currency format based on selected operating unit

Hi all,
In My custom page i have a operating unit lov in header section.below of the page i have hourly rate text box.when user enters the amount and tab out it should be changed to the above selected operating unit currency format.please tell me your suggestions
Thanks in advance
Ganga

Ganga,
when user enters the amount and tab out it should be changed to the above selected operating unit currency format.please tell me your suggestionsIs Operating Unit is a LOV .. If yes then handle the Lov event in the controller & change the currency Format. what is the exact problem u r facing.
Regards,
Gyan

Similar Messages

  • How to set the Date and Currency Formats Based on Country

    Hi Friends,
    I am designing the one Global Form it will use for all countries.
    in that Form i want to print the date and currnecy Formats based on country.
    Like
    For US i want print the date and Currency Like This.
    Date -  MM/DD/YYYY
    Curremcy - XX,XXX,XX.XX
    For DE i want print the date and Currency Like This.
    Date -  DD.MM.YYYY
    Curremcy - XX.XXX.XX,XX
    Please suggest how i can control these things through Java Script or Formcalc....

    Hi Nitin,
    thanks For ur reply,
    i tried with this solution,
    But it is displaying the default Format like bellow formats.
    For short - mm/dd/yy
    For Medium - mmm dd , yyyy
    For Long     - thursday ,mmm dd , yyyy
    it was prinitng in above mentioned format,
    but here i want to print my own format for USA like MM/DD/YYYY.

  • R12 XML Report to Pick the Templates dynamically based on Operating Unit

    Hi,
    I have written a PL/SQL stored procedure to pick the layout based on the operating unit. We have three layout’s for three different operating units(US,UK,CHINA). For the PL/SQL Stored procedure I have registered a concurrent program. In this Procedure I am assigning the layout based on the request ID submitted for the child concurrent program. Finally to say I am running a program for PL/SQL stored procedure and in that procure I am calling the child program which is registered for RDF layout’s.
    But the client don’t want two concurrent programs. He asked to implement in one concurrent program and if possible add the code in RDF only.
    I have used the following code in After parameter form trigger but the code is not working.
    (IF p_org_id IN ('101')
    THEN
    v_layout :=fnd_request.add_layout ('AR',
    'RAXINVXML_US',
    'en',
    'US',
    'PDF'
    fnd_file.put_line (fnd_file.LOG, 'If P_ORG_ID in (602,1622)');
    ELSIF p_org_id = '102'
    THEN
    v_layout :=fnd_request.add_layout ('AR',
    'ARRAXINVXML_UK',
    'en',
    'US',
    'PDF'
    fnd_file.put_line (fnd_file.LOG, 'If P_ORG_ID= 1883');
    ELSIF p_org_id = '2006'
    THEN
    v_layout :=fnd_request.add_layout ('AR',
    'ARRAXINVXML_KT',
    'en',
    'US',
    'PDF'
    fnd_file.put_line (fnd_file.LOG, 'If P_ORG_ID in (2006)');
    ELSE
    v_layout :=fnd_request.add_layout ('AR',
    'ARRAXINVXML_US',
    'en',
    'US',
    'PDF'
    fnd_file.put_line (fnd_file.LOG, 'If Org_Id other than 1883,2006,602,1622');
    END IF;
    I have followed the Subtemplate concept, but it is also not working.
    (<?import:xdo://AR.RAXINVTST_M.en.US/?>
    <?if:P_ORG_ID1='101'?> <?call-template:RAXINVTST_S?> <?end if?>)
    Could some one suggest how to proceed on this. Please help on this.
    Thanks in advance.
    Warm Regards,
    Thirupathi

    Thanks for your reply.
    I have tried this logic in AFTER REPORT trigger also, but it is not picking dynamically and also not giving any output.
    Could you please let me know if there are any possibilities.
    Thank you,
    Regards,
    Thirupathi

  • BInput Data mismatch with currency format

    i am working with fs10 transaction
    I want to sum up the balance amount with respect to all
    companycode and post SUM to the bseg table using Batch input.
    i defined sum variable as below and coded.
    data : sum like glt0-hsl01.  (currency format)
    After all SUM operation.
    I have done like this to diplay SUM in report first(to check SUM output)
    SUM = SUM * 100.
    write : sum decimals 0.
    >>>>Now in report output i get value '17,222-'
    if u see in  fs10 screen we are getting same value.
    but when i try to post in Batch input.
    i have done like this below.(before posting i have checked
    for negative value )
    if sum < 0.
    sum = sum *100.
    compute sum = abs( sum )
    now...
    perform open_group................
    perform bdc_field using 'bseg-wrbtr'  (currency format)
                                    sum.
    when i execute this BI i get error in Amount(Sum)value
    display screen. (saying something differs in length )
    how to match the field.
    ambichan.

    Hello,
    Go to the Domain of the Field BSEG-WRBTR, which is WERT7. There you see the Output length as 16. So you decalre a local variable in BDC which is of CHAR16 in length to hold the value of WRBTR.
    Hope this helps you.
    Regds, Murugesh AS

  • How to enable Operating Unit in concurrent program report request

    I am using R12 and need to make user enable to choose an operating unit while submitting a concurrent program report request.
    Example: Receipt Accural - Period End report is allowing to choose operating unit but other report are not.
    My question is:
    1) How to enable operating unit in concurrent program request?
    2) How to replace CLIENT_INFO statement in reports query? How 'selected operating unit' info will be passed to report?
    Thanks and regards,

    Hi,
    I guess it will passed same way as other parameters in any concurrent program. The user will provide a value in the organization parameter, and the definition of the report will have a query similar to this:
    SELECT *******
    FROM *******
    WHERE ******
    AND org_id = &p_org_id
    WHERE p_org_id would be the operating unit id provided by the user.
    Hope it helps.

  • Customized program for format payments doesn't work in all operating unit

    I would like to ask for your help with the issue I’m having right now with the customized program I’ve created.
    Background:
    A customized program using XML was created for check payments. This check format is used when printing Payment Batches. I tried to register this program in two operating unit, one is EMR AP SuperUser-EPT-APDUS and the other one is EMR AP SuperUser-EPT-APDMX. The program completes successfully in EMR AP SuperUser-APDUS but not in EMR AP SuperUser-EPT-ADPMX. The set up was the same for both OU. In every time I tried to run the program by:
    1. Create a batch name in Payment Batches.
    2. Enter the Invoice Batch Name
    3. Assigned the Bank Account and Document type
    4. Save and hit the Actions..1 button
    5. Then Select the Format Payments - I've entered the same program for both OU
    The program errors out including the Payment Process Manager in APDMX OU but not in APDUS. Please help me fix this issue as this is a very high priority task.
    I would greatly appreciate any help that you could give.

    See https://support.mozilla.com/en-US/questions/799388

  • Restirct Data of Business Area based on Operating Unit

    Hi,
    I got two different responsibilities attached with two different Operating units assigned common standard business area Accounts Receivables. So i want to restrict data output based on Operating unit.
    Your valuable inputs are highly appreciable.
    Regards
    Venkat,

    Venkat.
    Just to make sure I undertand you.
    You have a responsibility called something like: AR_US and it's associated with an operating unit US. You have another responsibility called something like: AR_UK and it's associated with an operating unit UK.
    1. If that's correct, then you could write 2 different workbooks where each one filters on what each responsibility is allowed to see and only share each workbook with the appropriate responsibility. Both responsibilities would be allowed to 'see' the same folder(s) in the EUL. The condition in each workbook (not the best option but done at many clients I've seen).
    2. You could have a different business area for all folders for each responsibility. Then any report written against each one would just choose the appropriate folder (not the best option).
    3. You could have one business area where you filter the data right on the folders in the EUL. Would require you to retrieve the current responsibility in the EUL, but not a problem. However, as hard coding the responsibilties at the folder level - not dynamic.
    4. You could put the filtering in the actual database view. This is the slickest method as you only have one business area and any reports against the business area would simply filter the actual data on the row level. Additionally, any external query tool (ie: TOAD, etc.) would not see the data unless they set an environmental variable or comment out the security in the view. The easiest way to see how to do this is to copy the BIS format if you have BIS views installed in your organization (and are running Enterprise Suite (Apps)). Look at various views and look for near the end of the view code, a line such as: WHERE gl_security_package ...). That's where they do the filtering so you might want to see if there are any filtered accounts receiveable BIS views already doing this. (by the way, the BIS views you'll be looking for will be owned by APPS and start with: ARFG_
    Russ

  • Fetch the operating unit name based on the country name

    Hi all,
    I want to fetch the operating unit name based on the country name, there is no link between fnd_territories(_tl) and hr_all_organization_unis(_tl) tables.
    Can any one know how to get this thing.
    any help or idea is appreciable.
    Thanks,
    Giri

    Giri,
    I don't think you will find such a link. One country can be used by multiple operating units.
    Hope this helps,
    Sandeep Gandhi

  • Please select an appropriate pay group assigned to this operating unit

    Hello All ,
    A new pay group is created and assigned to the new supplier site and when an invoice is created against that pay group
    its is populating an error message saying that Please select an appropriate pay group assigned to this operating unit.
    As result I am unable to complete creation of invoice.
    Any inputs Suggested ? Appreciate it !
    Thanks,
    Deepthi.

    Hi,
    Please obtain a FND Debug log on the issue and upload the log to a free hosting site and provide the link here for our reference.
    Meanwhile also raise an SR.
    Please see:
    How to enable and retrieve FND debug log messages (Doc ID 433199.1)
    Thanks &
    Best Regards,

  • Pay Operating Units from different Legal Entities?

    Pay Operating Units from different Legal Entities?
    Hi there,
    This is the current scenario:
    Legal Entity A has Operating Unit A
    Legal Entity B has Operating Unit B.
    In R12 Payables, can payments be setup so that in the payments manager of Operating Unit A (LE A), payments can be made for Operating Unit B (LE B)?
    i.e. Can an operating unit from one legal entity make payments from an operating unit from another legal entity?
    The bank account is setup in LE A, but when we create a payment process request with invoices from different OUs of different LEs, then only invoices from the LE in which the bank is setup are selected for payment.

    1.OU's are not mapped to LE directly (at least for Payables). The OU LE relationship is derived via the ledgers. So if Ledger A is attached to OU A and Ledger A is attached to LE1 and LE2. I guess what I am saying should be possible.
    2.If I understand correctly the new functionality that you are refering to is for the Payment Process Request (PPR, payment batches in 11i). This feature is more wrt MOAC changes that were done and not Cross OU payments.
    What it allows you is to select invoices from different LE,different OU's, different Currencies and different pay groups. It does not allow you to have Invoice in OU1 and payment for that invoice in OU2.
    Thanks

  • Displaying operating unit specific data in Discoverer Report ????

    Hi Experts,
    My Requirement : I need to develope one custom report where it has to display operating unit specific data based on the resposibility selection in Discoverer.
    My Approach : I prepared the below query and I am trying to pick Business_group_id from profile options and passing to the query.(You can observe the condition which is highlighted as red color)While i am running the query I am getting zero records.
    Please suggest me how to achieve the my requirement of displaying operating unit specific data in Discoverer.
    SELECT  A1.PERSON_ID
           ,A1.employee_number
           ,A1.first_name
           ,A1.last_name
           ,A1.known_as PREFERRED_NAME
           ,A1.GENDER
           ,A1.date_of_birth
           ,A1.Marital_status
           ,A1.original_date_of_hire
           ,A1.Organization
           ,A1.Location
           ,A1.Job_name
           ,A1.OLF_DEPARTMENT
           ,A1.OLF_DEPT_SUBGROUP
           ,A1.salary
           ,A1.salary_change_date
           ,A1.HIRE_DATE
           ,A2.PERSON_ID SUPERVISOR_ID
           ,A2.EMPLOYEE SUPERVISOR
           ,A3.PERSON_ID SUPERVISOR_ID_1
           ,A3.EMPLOYEE SUPERVISOR_NAME_1 
    FROM (
    SELECT PAPF.first_name
          ,PAPF.last_name
          ,papf.known_as
          ,papf.sex GENDER
          ,papf.date_of_birth
          ,papf.marital_status
          ,papf.employee_number
          ,PAPF.person_id
          ,PAAF.supervisor_id     
          ,PAPF.original_date_of_hire
          ,(SELECT name FROM  hr_all_organization_units WHERE Organization_id=PAAF.organization_id) Organization
          ,(SELECT location_code FROM  hr_locations WHERE location_id=PAAF.Location_id) Location
          ,(SELECT name FROM  per_jobs WHERE job_id=PAAF.job_id) Job_name
          ,PPP.proposed_salary_n SALARY
          ,ppp.change_date salary_change_date
          ,ppgk.segment1   OLF_DEPARTMENT
          ,ppgk.segment2  OLF_DEPT_SUBGROUP
          ,papf.original_date_of_hire HIRE_DATE
      FROM per_all_people_f PAPF 
          ,per_all_assignments_f PAAF
          ,per_pay_proposals  PPP
          ,PAY_PEOPLE_GROUPS_KFV ppgk
    WHERE 1=1
       AND PAPF.person_id=PAAF.person_id
       AND papf.business_group_id=paaf.business_group_id
       AND PAAF.assignment_id=PPP.assignment_id
       AND paaf.people_group_id=ppgk.people_group_id
       AND ppp.change_date =(SELECT MAX(change_date)
                               FROM per_pay_proposals
                              WHERE assignment_id=PPP.assignment_id)
       AND SYSDATE BETWEEN PAPF.effective_start_date AND PAPF.effective_end_date
       AND SYSDATE BETWEEN PAAF.effective_start_date AND PAAF.effective_end_date<font color="red">AND PAPF.BUSINESS_GROUP_ID = TO_NUMBER(FND_PROFILE.VALUE('PER_BUSINESS_GROUP_ID '))</font>
    ) A1
    SELECT PAPF.first_name
    ||','||PAPF.last_name EMPLOYEE,PAPF.PERSON_ID,PAAF.supervisor_id     
      FROM per_all_people_f PAPF
          ,per_all_assignments_f PAAF
    WHERE PAPF.person_id=PAAF.person_id
    AND papf.business_group_id=paaf.business_group_id
       AND SYSDATE BETWEEN PAPF.effective_start_date AND PAPF.effective_end_date
       AND SYSDATE BETWEEN PAAF.effective_start_date AND PAAF.effective_end_date
    ) A2
    SELECT PAPF.first_name
    ||','||PAPF.last_name EMPLOYEE
         ,PAPF.PERSON_ID
          ,PAAF.supervisor_id     
      FROM per_all_people_f PAPF
          ,per_all_assignments_f PAAF
    WHERE PAPF.person_id=PAAF.person_id
    AND papf.business_group_id=paaf.business_group_id
       AND SYSDATE BETWEEN PAPF.effective_start_date AND PAPF.effective_end_date
       AND SYSDATE BETWEEN PAAF.effective_start_date AND PAAF.effective_end_date
    ) A3 
    WHERE 1=1
    AND  A2.PERSON_ID(+)=A1.SUPERVISOR_ID
    AND  A3.PERSON_ID(+)=A2.SUPERVISOR_ID
    AND  A4.PERSON_ID(+)=A3.SUPERVISOR_ID
    ;

    you are in the wrong forum, try an ebusiness-related forum, maybe this OA Framework

  • Generate different Supplier Number Sequence for One Operating unit!

    R12.1.2
    Dear Gurus,
    We run multiple operating units under one Business Group and each of them are independent entities of their own with separate ledgers and currencies based on the territories.
    We generate Supplier numbers automatically for all territories.
    But, now we have a requirement from one of the territories that we need to generate supplier numbers in a different sequence (starting from 40000000000 onwards) just for that territory. We still would like to generate supplier numbers for the other operating units (territories) using the standard sequence.
    Is this possible? If yes, please give details.
    Thanks,
    -Venkat

    Hi Venkat,
    Supplier Numbering configuration is not operating unit specific, hence the same numbering would continue to happen in the environment/application instance ...
    The workaround would be turn off Automatic and switch to Manual numbering and check with the feasibility of having a customization and Personalization for meeting the requirement ....
    Reference:
    How is Supplier Number assigned in R12? [ID 1252934.1]
    Regards,
    Ivruksha

  • What is a Legal Entity and Operating Unit??

    Hi,
    Could someone let me know what exactly is a Legal Entity and Operating Unit. The definition or explanation in the documentation is not satisfactory or clear. What are the differences between the above.
    And where in the per_all_assignments_f table is the Legal entity stored. I know that the Legal entity is stored in the Statutory information in the assignments screen. Also can someone let me how based on the company code in the organization the legal entity is linked. Where in the tables is this link maintained?
    Could someone let me know the above.
    Thanks
    Shekar.

    Dear Shekar
    what exactly is a Legal Entity and Operating Unit?
    ANS: According the Book or user guide definitions says:
    GRE/Legal Entity: Use this classification to represent the following organizations:
    Ultimate Legal Entity: this represents the enterprise, and typically, the enterprise is the highest (global) level of a business organization.
    Legal Entity: this represents the designated legal employer for all employment-related activities. The legal authorities in a country recognize this organization as a separate employer. In an organization hierarchy, a legal entity may report to an operating company or to the ultimate legal entity.
    Consolidated Legal Entity: this organization acts on behalf of multiple operating companies that are not legally registered, or simply on behalf of the enterprise in a country.
    See Shekar the Legal Entity is taken under Classification is we know that the organization is going to show the Taxation to the Government. where as if u take typical UAE countruies here every store is an LLC and they submit the taxing for every store or shop.
    Where as Operating Unit is generally used for the different lines of business which are under that Business GRoup
    Say for an Example:
    ABC is the Company name and that has its root in UAE, Qatar and Oman
    then it is like ABC Business Group > UAE Legal Entity > REtail/Property/Furniture etc are the Operating Units.
    Hope this information is helpful and clear to you or else let me know if you have any concerns.
    Coming to the Company Code we use the code for the Inventory Organizations so that the clients will not get confused with the existing code and the system code so generally we use the same codes for it.

  • Invoice validation program error:Could not find operating unit options

    Dear Team,
    Once my Payables Open Interface Import program successfully completed, I am trying to running invoice validation program which is ended with warning as bellow,
    (Bulk CALCULATE) START SYSDATE 17-DEC-2012 04:04:19
    Could not find operating unit options
    Encountered unexpected error: User-Defined Exception
    (Bulk CALCULATE) END SYSDATE 17-DEC-2012 04:04:23
    and invoice placing into Dist Variance hold,
    my interface program placed data in to based tables (ap_invoices_all and lines_all ) but distributions are not getting generating. Can you please do help me.
    Find attached excel sheet for ur references.
    Thanks
    Sathiya

    Make sure the library (pll file) is in the path indicated by your FORMS60_PATH in the registry.
    Hope that helps,
    Karim.

  • Single concurrent program for multiple operating units

    HI
    I am working on XML/BI publisher to generate AR invoice reports.
    We have single rdf report using which rtf templates are generated.
    There are 10 operating units (10 ORG_ID's) and 10 rtf templates, one for each operating unit. There are 4 different responsibilities for each ORG_ID
    Eg: ORG_ID's = 11, 12, 13, 14..........etc
    Eg: Responsibility = xx, yy, zz...........etc
    I want to register a single concurrent program. When a user submits a request from "XX" responsibility, then the template associated with that org_id should be generated. Whichever responsibility the user is accessing from, that particular template must be shown as output.
    How can i register one concurrent program for multiple operating units.
    Thanks!
    Edited by: 994628 on Mar 18, 2013 4:39 PM
    Edited by: 994628 on Mar 18, 2013 4:42 PM

    >
    There are 10 operating units (10 ORG_ID's) and 10 rtf templates, one for each operating unit. There are 4 different responsibilities for each ORG_ID
    Eg: ORG_ID's = 11, 12, 13, 14..........etc
    Eg: Responsibility = xx, yy, zz...........etc
    I want to register a single concurrent program. When a user submits a request from "XX" responsibility, then the template associated with that org_id should be generated. Whichever responsibility the user is accessing from, that particular template must be shown as output.
    >
    interesting case for 10 OE set 10 template
    what is purpose? for each OE different requirements for layout?
    BTW
    if each Responsibility associated with one org_id then
    - you can get current org_id when you run concurrent program
    - create main template (will be #11) with condition like
    <?choose:?>
    <?when: ORG_ID=11?>
    <?import:xdo://FND.XX11_SUB.en.00/?>
    <?call:TEMPLATE11?>
    <?end when?>
    <?when: ORG_ID=12?>
    <?import:xdo://FND.XX12_SUB.en.00/?>
    <?call:TEMPLATE12?>
    <?end when?>
    <?otherwise:?>
    <?import:xdo://FND.XX21_SUB.en.00/?>
    <?call:TEMPLATE21?>
    <?end otherwise?>
    <?end choose?>so based on org_id will be import of needed subtemplate
    - re-register your "10 rtf templates" as subtemplates
    another way is substitution of template for concurrent then it running
    in before_report trigger set needed template
    l_conc_request_id := fnd_global.conc_request_id;
        if ORG_ID = 11 then
          UPDATE fnd_conc_pp_actions t
             SET t.argument2 = 'XX11'
           where t.concurrent_request_id = l_conc_request_id
             and t.action_type = 6;
      if ORG_ID = 21 then
          UPDATE fnd_conc_pp_actions t
             SET t.argument2 = 'XX21'
           where t.concurrent_request_id = l_conc_request_id
             and t.action_type = 6;

Maybe you are looking for