Επεξεργασία

Κοινή χρήση μέσω


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);

NumberSequence Data Type
Get Started with AL
Developing Extensions