General X++ Development
What is the difference between `delete()` and `doDelete()` in X++?
What is the difference between delete() and doDelete() in X++?
1 answer
Write an answerSame idea as update:
delete()uses the normal table delete path.doDelete()bypasses the table's overriddendelete()method and related event handling.
Use delete() unless you know exactly why you need to bypass table logic.
A delete that "worked" but skipped cleanup or business rules is usually worse than a delete that failed.
Know the solution?
Sign in to contribute an answer and build your community reputation.
Sign in to answer