Daily limit policy calculation (Hotel)
in Expenses
Summary:
How does Oracle calculate the daily limit for, for example, Hotel costs?
Content (required):
From a client we have a specific example.
I'll use fictive numbers, to make it easier.
Policy for Hotel costs: Daily limit allowed of 200 USD
User stays in Hotel 1 and checks in on 10/Sept.
However, the next 2 nights, he stays in Hotel 2 and he checks in on 11/Sept at Hotel 2.
User enters:
- 10/Sept: Hotel cost of 120 USD (1 day)
- 11/Sept: Hotel cost of 300 USD (2 days)
The system generates a policy error, exceeding daily limit.
The question is, how does Oracle perform this calculation?
Option 1 (how we thought it worked, count the days forward):
Tagged:
0