APPLICATION IS GENERATING AN ERROR BEFORE USER HAS CHANCE TO ENTER ANY DATA (Doc ID 2226005.1)

Last updated on JANUARY 23, 2017

Applies to:

Oracle Internet Expenses - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

There are two scenarios where the iExpense Application generates an error before the user has a chance to enter any data

Scenario #1

(i) setup 3 types (Hotel-Meals Breakfast, Hotel-Meals Lunch, Hotel-Meals Dinner) with Category=Meals. For Hotel type, checked 'itemization' is required (none of the types are attached to a Policy/Schedule)
(ii) in Expense Setup / Policy / Expense Fields, set fields 'number attendees' and 'attendees' to Required, For Airfare Category, set fields, Class Ticket, Ticket Number, From Location, To Location as Required
(iii) Functional Admin, clear all cache

(iv) login to instance and enter report, navigate to Cash page, enter line (recall Hotel type Requires itemization), click Details and details page opens
(v) for itemization 1-1 change type to Hotel-Meals Breakfast, change itemized receipt amount=2.00. Note, fields Attendees and Number of Attendees are Required - enter Attendee data
(vi) click 'add another row' button and page opens. Note, for itemized line 1-2 the fields Attendees and Number of Attendees are not displayed - the fields Attendees and Number of Attendees would display after expense type is
selected. Select expense type = Hotel-Meals Lunch. Note, the fields Attendees and Number of Attendees now display

(vii) click itemized line 1-1 and see the error - "error - ...Attendees, please enter a value in this field, Number of Attendees, please enter a value in this field..". Note the cursor will return to itemized line 1-2 fill in Attendee data for line 1-2
(viii) click 'add another row' and page opens, select expense type =Hotel-Meals Dinner, Hotel-Meals Dinner , requires Attendee and Number of Attendees see the error message "error - ...Attendees, please enter a value in this field, Number of Attendees, please enter a value in this field.." Fill in Attendee data. Note, change line 1-2 to 7.00 , so itemized amounts are proper
(ix) click return - now back on main Cash Page, enter line for type Airfare (which has Required fields)
(x) click Details - and get error message even before entering any data

 

 

Scenario #2

(i) on Cash Page, enter expense type=Hotel
(ii) click details
(iii) for itemize line 1-1, select expense type=Hotel Meals Breakfast, amount=20, Number of Attendees=1, Attendees=joe
(iv) click 'add another row' button

(v) for itemize line 1-2, select expense type=Hotel Meals Dinner, do not enter any data for Number of Attendees or Attendees
(vi) now select/click the Radio button beside itemize line 1-1 - as expected receive error- Attendees-please enter value, Number of Attendees-please enter value (and cursor returns to the radio button beside itemize line 1-2)
(vii) for itemize line 1-2, enter Number of Attendees=1, Attendees=raj
(viii) click 'add another row' button
(ix) select expense type=Hotel Meals Lunch - now, receive the "error -Attendees-please enter value, Number of Attendees-please enter value..."

It does not make sense to generate the "error -Attendees-please enter value,Number of Attendees-please enter value..." - before the user has chance to enter any data.

 



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms