[Master]-Bug 648538: Add mileage setup to Expense Agent wizard - #11027
[Master]-Bug 648538: Add mileage setup to Expense Agent wizard#11027v-rohangarg20 wants to merge 1 commit into
Conversation
Add a mileage-rate configuration link below the default mileage unit and warn when closing mileage setup without configured rates.
| } | ||
| } | ||
|
|
||
| trigger OnQueryClosePage(CloseAction: Action): Boolean |
There was a problem hiding this comment.
The new OnQueryClosePage trigger on page 7128 "Mileage Rate Setup" prompts "No mileage rates have been configured. The standard mileage rate will be used. Do you want to continue?" every time the page is closed with an empty table. This page has UsageCategory = Lists, so it is reachable directly from the Lists menu/search, not only from the Expense Agent Setup Wizard drill-down added in this PR. A user who opens the list independently (e.g., just to check whether rates exist) and closes it without adding a rate will see a setup-wizard-flavored confirmation that is confusing outside the wizard flow, and answering No leaves the page open with no clear indication of what action is expected. Consider moving this confirmation into the wizard's own close/validation flow, or scoping it so it only prompts when the page was opened modally from the wizard.
👍 useful · ❤️ especially valuable · 👎 wrong - reply with why · AL review agent v1.36.6
Fixes AB#648538
Adds mileage configuration to the Expense Agent setup wizard and warns users when they close Mileage Rate Setup without configuring any mileage rates.
Changes are limited to:
AL build completed successfully.