Archive for January, 2012

Removing unwanted Mileage UoMs from an i-Expense Claim (Part 2)

Tuesday, January 31st, 2012 by Barry Goodsell

In Part 1 of this article, we showed how to customise the values in the Mileage UoM drop-down list. However, we feel that customisations should only be used as the last resort, when all other options have been exhausted. A change to the View Object’s XML file (as suggested by Oracle) will not be resilient across patches and upgrades.

The Oracle Application Framework (OAF) provides a mechanism for us to provide a substitute definition for a View Object, With this mechanism, any time the Framework asks for the UnitOfMeasuresVO it will actually get our personalised version. The easiest way to create a personalisation of this type is to use the appropriate version of JDeveloper. You cannot use the mainstream version of JDeveloper from OTN – you need to download one that has the correct version of JDeveloper that has the OA Extension built-in (see MOS Note 416708.1 for more details).

Read the rest of this entry »

Removing unwanted Mileage UoMs from an i-Expense Claim (Part 1)

Tuesday, January 31st, 2012 by Ian Boyling

Oracle Internet Expenses comes seeded with three Mileage ‘Unit of Measures‘, namely Miles, Kilometers and Swedish Miles. Without trying to offend our friends from Sweden, it is often the case that an end user of Oracle i-Expenses will only want to see and use the unit of measure(s) that are relevant to the business expense policy or geographical region in which they operate. When creating an expense claim and selecting the expense type of ‘Mileage’ users often ask the questions:

Why do I see Swedish Miles?
   or
Can I just have Miles?
   or
Can you remove all values in the Unit of Measure list and just keep the one that is relevant for our T&S policy?

For users in other regions, the same question may well include the desire to remove Miles (e.g. regions in mainland Europe) or Kilometers (e.g. UK). The screenshot below shots the seeded view of values a user is presented with when entering a mileage claim.

Read the rest of this entry »