Commit f05d11a
Bug 620555: [Subcontracting] Fix styling and UI text issues (#7844)
## Summary
Resolves code style and UI text quality issues across the Subcontracting
app, reviewed against the AL style guide and BC UI text guidelines.
### AL Style fixes (`SubcontractingManagement.Codeunit.al`,
`SubcCalculateSubcontracts.Report.al`, factbox pages)
- **AA0248** — Replaced two self-referencing local codeunit variables
with `this.` calls in `SubcontractingManagement`
- **AA0074** — Renamed `Text000`/`Text001` labels to
`ProcessingWorkCentersLbl`/`ProcessingOrdersLbl` in
`SubcCalculateSubcontracts`
- Removed 14 empty `var` blocks from `OnDrillDown` triggers in
`SubcPurchaseLineFactbox`, `SubcRoutingInfoFactbox`,
`SubcTransferLineFactbox`, and `SubcontractingManagement`
- Replaced `= false` boolean comparisons with `not (...)` (×2 in
`SubcontractingManagement`)
- Removed unnecessary parentheses around single condition in
`SubcPurchProvisionWizard`
- Removed double blank line inside procedure body in
`SubcontractingManagement`
- Unified newline escape (`\` → `\`) in duplicate
`RoutingLinkUpdConfQst` label in `SubcontractingManagement`
- Fixed word "depended" → "dependent" in 13 factbox field tooltips
(`SubcPurchaseLineFactbox`, `SubcRoutingInfoFactbox`,
`SubcTransferLineFactbox`)
### UI text fixes (pages and page extensions)
- **Action tooltips — wrong voice (×6)**: Changed 3rd-person verbs to
imperative in `SubcPurchOrder`, `SubcPurchOrderList`,
`SubcRelProdOrder`, `SubcRelProdOrders`, `SubcProdOrderRtng`,
`SubcPOSubform`
- `'Prints the Dispatching List...'` → `'Print the dispatching list...'`
- `'Shows Purchase Order Lines...'` → `'Show purchase order lines...'`
- `'Creates the production order...'` → `'Create the production
order...'`
- **Action tooltips — wrong pattern (×28)**: Replaced `'Specifies the
depended …'` with imperative `'View the related …'` across
`SubcPOSubform`, `SubcCapLEntries`, `SubcILEntries`,
`SubcTransOrderSub`, `SubcPstdDirectTransfSub`, `SubcWhseRcptLinesExt`,
`SubcWhseRcptSubformExt`
- **Tooltip length (×5)**: Shortened 3 tooltips in `SubcManagementSetup`
and 2 in `SubcPurchProvisionWizard` from 300–410 chars to under 250
chars
- **Banned terms (×4)**: Replaced `enabled`/`disabled` with `turned
on`/`turned off` / `not available` in `SubcManagementSetup` and
`SubcPurchProvisionWizard`
- **Grammar (×2)**: Fixed `an released` → `a released` in
`SubcManagementSetup`
- **Trailing whitespace**: Removed spurious space before period in
`SubcVendorCard` tooltip
- **`&` accelerators removed**: Removed keyboard accelerator characters
(`&`) from action captions and action name identifiers in
`SubcSubcontractingWorksheet` and `SubcProdPlannerRoleCenter` — these
are not supported in the BC web client
## Test plan
- [x] Compile and publish the Subcontracting app — verify no new
compiler warnings or errors
- [x] Open Subcontracting Worksheet — verify action captions display
correctly without `&`
- [x] Open a Purchase Order with subcontracting lines — verify action
group tooltips show imperative text
- [x] Open a Transfer Order with subcontracting lines — verify
navigation action tooltips show `View the related …`
- [x] Open Subcontracting Management Setup — verify tooltips are within
length limits and use `turned on`/`turned off`
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Fixes
[AB#620555](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/620555)
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent e92d989 commit f05d11a
23 files changed
Lines changed: 76 additions & 97 deletions
File tree
- src/Apps/W1/Subcontracting/App/src
- Process
- Codeunits
- Extensions/Manufacturing
- Pageextensions
- Manufacturing
- MasterData
- Purchase
- Transfer
- Warehouse
- Pages
- Prod Order Creation Wizard/Pages
- Reports
- RoleCenters
- Setup/Pages
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | 99 | | |
101 | 100 | | |
102 | 101 | | |
| |||
105 | 104 | | |
106 | 105 | | |
107 | 106 | | |
108 | | - | |
| 107 | + | |
109 | 108 | | |
110 | 109 | | |
111 | 110 | | |
| |||
132 | 131 | | |
133 | 132 | | |
134 | 133 | | |
135 | | - | |
| 134 | + | |
136 | 135 | | |
137 | 136 | | |
138 | 137 | | |
| |||
164 | 163 | | |
165 | 164 | | |
166 | 165 | | |
167 | | - | |
| 166 | + | |
168 | 167 | | |
169 | 168 | | |
170 | 169 | | |
| |||
193 | 192 | | |
194 | 193 | | |
195 | 194 | | |
196 | | - | |
197 | 195 | | |
198 | 196 | | |
199 | 197 | | |
| |||
375 | 373 | | |
376 | 374 | | |
377 | 375 | | |
378 | | - | |
379 | 376 | | |
380 | 377 | | |
381 | 378 | | |
382 | | - | |
| 379 | + | |
383 | 380 | | |
384 | 381 | | |
385 | 382 | | |
386 | | - | |
387 | 383 | | |
388 | 384 | | |
389 | 385 | | |
| |||
468 | 464 | | |
469 | 465 | | |
470 | 466 | | |
471 | | - | |
| 467 | + | |
472 | 468 | | |
473 | 469 | | |
474 | 470 | | |
| |||
506 | 502 | | |
507 | 503 | | |
508 | 504 | | |
509 | | - | |
| 505 | + | |
510 | 506 | | |
511 | 507 | | |
512 | 508 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments