Skip to content

Commit e6cea1a

Browse files
Remove attribution sentences and source links from upgrade extension examples
1 parent e8618bf commit e6cea1a

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

dev-itpro/developer/devenv-upgrading-extensions.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,6 @@ The following steps provide the general pattern for using an upgrade tag on upgr
241241
242242
### Example
243243
244-
The following code is taken directly from the `Sales Forecast Upgrade` codeunit in `microsoft/ALAppExtensions`. It demonstrates the canonical upgrade tag pattern: check the tag first, run conditional data migration, then set the tag to prevent the code from running again on future upgrades.
245-
246-
> Source: [`SalesForecastUpgrade.Codeunit.al`](https://github.com/microsoft/ALAppExtensions/blob/main/Apps/W1/SalesAndInventoryForecast/app/src/codeunits/SalesForecastUpgrade.Codeunit.al) in `microsoft/ALAppExtensions`
247-
248244
```AL
249245
namespace Microsoft.Inventory.InventoryForecast;
250246
@@ -304,7 +300,7 @@ Key points from this production example:
304300
- `Access = Internal` prevents external callers from triggering the upgrade codeunit directly.
305301
- `NavApp.GetCurrentModuleInfo()` retrieves app metadata (including data version) to gate whether migration is needed.
306302

307-
For bulk field migration across large tables (for example, copying data from an obsolete field to a replacement field), use `DataTransfer` instead of row-by-row `Modify`. For a real-world example of `DataTransfer` combined with upgrade tags, see [`Upgrade.Codeunit.al`](https://github.com/microsoft/ALAppExtensions/blob/main/Apps/W1/ReviewGLEntries/app/src/codeunits/Upgrade.Codeunit.al) in the Review GL Entries extension.
303+
For bulk field migration across large tables (for example, copying data from an obsolete field to a replacement field), use `DataTransfer` instead of row-by-row `Modify`.
308304

309305
## Protecting sensitive code from running during upgrade
310306

0 commit comments

Comments
 (0)