Click or drag to resize

SequenceExtension.GenerateNextValue Method

This is called when next number should be generated and reserved.

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

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

String
Formatted serial number
See Also