Skip to content

Add deprecation note for with statement in item charges example#3562

Open
jeffreybulanadi wants to merge 1 commit into
MicrosoftDocs:mainfrom
jeffreybulanadi:fix-item-charges-with-deprecation-note
Open

Add deprecation note for with statement in item charges example#3562
jeffreybulanadi wants to merge 1 commit into
MicrosoftDocs:mainfrom
jeffreybulanadi:fix-item-charges-with-deprecation-note

Conversation

@jeffreybulanadi
Copy link
Copy Markdown

Add deprecation note for with statement usage in the item charge distribution example.

devenv-extending-item-charges.md: The GetItemValues procedure in the walkthrough uses a with statement (with TempItemChargeAssgntPurch do) with no indication it is deprecated. The with statement has been deprecated since Business Central 2020 release wave 2 (AL0606 warning). Without a note, developers copy this pattern into new code and immediately get deprecation warnings.

Added a NOTE callout before the code block pointing to the deprecating-with-statements-overview article.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 04ad446:

✅ Validation status: passed

File Status Preview URL Details
dev-itpro/developer/devenv-extending-item-charges.md ✅Succeeded

For more details, please refer to the build report.

@jeffreybulanadi jeffreybulanadi force-pushed the fix-item-charges-with-deprecation-note branch from 04ad446 to b228191 Compare May 15, 2026 00:08
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit b228191:

✅ Validation status: passed

File Status Preview URL Details
dev-itpro/developer/devenv-extending-item-charges.md ✅Succeeded

For more details, please refer to the build report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant