[Master] - Bug 647134: W2 2026 - Bug Bash I: Travel Request is conceptually wrong - #10350
[Master] - Bug 647134: W2 2026 - Bug Bash I: Travel Request is conceptually wrong#10350v-rohangarg20 wants to merge 1 commit into
Conversation
…quest Add dedicated Travel Request Card, Subform, and List pages built on the Spend Request tables, and remove the Spend Request page extensions so the base pages stay generic. Rename Spend Request to Travel Request across the Expense Agent app and tests (objects, fields, captions, APIs, permission sets). Make Spend Request.AssistEditNo public so the Travel Request Card can use it.
|
Knowledge: Posting this finding as an issue comment because inline comment placement failed. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why · AL review agent v1.33.4 |
|
The new top-level Posting this finding as an issue comment because inline comment placement failed. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why · AL review agent v1.33.4 |
|
The new confirm-handler pattern hardcodes replies through shared globals instead of consuming queued expectations and proving which dialog fired. Tests that use SpendReqConfirmHandler can therefore accept the wrong confirm path without asserting the expected interaction contract, which is exactly the headless-UI anti-pattern this rule warns about. Knowledge: Posting this finding as an issue comment because inline comment placement failed. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why · AL review agent v1.33.4 |
AB#647134
Summary
Bug Bash I: Travel Request is conceptually wrong. Travel Request was built by extending the generic Spend Request pages, so there was no clear distinction between Spend Requests and Travel Requests in the UX, and travel/expense-management concepts leaked into the base pages. This PR gives Travel Request its own dedicated pages (reusing the Spend Request tables as a framework) and renames the Expense Agent's Spend Request concept to Travel Request.
Changes
Dedicated Travel Request pages (app) — built on the existing
Spend Requesttables:Travel Request Card(7104),Travel Request Subform(7105), andTravel Request List(7106).Spend Request Card/Spend Request Listpage extensions so the base pages stay generic.Rename Spend Request → Travel Request (Expense Agent app + tests):
Spend Request No./Spend Request Close→Travel Request No./Travel Request Closeon Expense Report Header/Line and Posted Expense Report Header/Line;Traveler."Spend Request No."→Travel Request No..Spend Requests API→Travel Requests API,Spend Request Details API→Travel Request Details API, tableextensionExpense Spend Request→Expense Travel Request; folderSpend Request→Travel Request.Travel Request Card.Spend Request Test→Travel Request Testand aligned the dependent error-assertion label.BaseApp:
Spend Request.AssistEditNo()madepublicso the standalone Travel Request Card can invoke it.Scope kept intentionally
Spend Request/Spend Request Detailtables,Release Spend Requestcodeunit,Microsoft.Finance.SpendRequestnamespace, and the baseSpend Request No./Spend Request Closefields onGen. Journal Line.