NumberSequence.Delete(Text [, Boolean]) Method
Version: Available or changed with runtime version 4.0.
Deletes a specific number sequence.
Syntax
NumberSequence.Delete(Name: Text [, CompanySpecific: Boolean])
Parameters
Name
Type: Text
Specifies the name of the number sequence.
[Optional] CompanySpecific
Type: Boolean
Specifies if the number sequence is company-specific. Default is true.
Example
The following example checks whether the number sequence MyNumberSequence
exists, and if so, it deletes it.
if NumberSequence.Exists('MyNumberSequence', false) then
NumberSequence.Delete('MyNumberSequence', false);
See Also
NumberSequence Data Type
Get Started with AL
Developing Extensions
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for