 | SequenceExtension.GenerateNextValue Method |
This is called when next number should be generated and reserved.
Namespace: CTExtensions.InterfacesAssembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntaxpublic abstract string GenerateNextValue(
CTProject poActiveProject,
string bsDependentPropVal,
out string pbsExternalID
)
Public MustOverride Function GenerateNextValue (
poActiveProject As CTProject,
bsDependentPropVal As String,
<OutAttribute> ByRef pbsExternalID As String
) As String
Parameters
- poActiveProject CTProject
- Currently active CUSTOMTOOLS project. This can be used to generate
a project specific number. This may be null for instance in the Options.
- bsDependentPropVal String
- Value of the dependent custom property whose ID you have provided
in the GetDependentPropertyID() method. Empty if you haven't requested any property value.
- pbsExternalID String
- Specify ID for the sequence you generated. This is passed to Rollback method if
user later on cancels number generation and we should release the number to be re-used.
Return Value
StringFormatted serial number
See Also