SequenceExtension Methods |
The SequenceExtension type exposes the following members.
Name | Description | |
---|---|---|
GenerateNextValue |
This is called when next number should be generated and reserved.
| |
GetDependentPropertyID |
If you wish to get value of some property when generating serial,
return that property's id here so it value will be provided at
PeakNextValue and GenerateNextValue calls.
| |
GetName |
Name of the sequence that is shown in CUSTOMTOOLS UI
| |
GetParent |
Return parent CTExtension of this options extension.
| |
NotifyInitialized |
Notification that is called when this sequence is initialized by the CT core.
Note that ID might change and so DO NOT store any information based on this ID.
| |
PeakNextValue |
Provide next value if possible to preview it in the GetCode dialog box but don't
reserve it yet. CUSTOMTOOLS supports showing the next number only when it's possible.
You can also return an empty string here.
| |
Rollback |
This is called when previously reserved number should be rolled back. This may occur if user cancels
or an error occurs after number is generated (reserved) but before it's really used. In that case
previously reserved number should be released to be re-used.
|