Click or drag to resize
SequenceExtensionGenerateNextValue Method
This is called when next number should be generated and reserved.

Namespace: CTExtensions.Interfaces
Assembly: CTInterface (in CTInterface.dll)
Syntax
public abstract string GenerateNextValue(
	CTProject poActiveProject,
	string bsDependentPropVal,
	out string pbsExternalID
)

Parameters

poActiveProject
Type: 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
Type: SystemString
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
Type: SystemString
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

Type: String
Formatted serial number
See Also