Show / Hide Table of Contents

GetNextNumScheme

Object and Type

Object  : FCSession

Type     : Method

Prototype

Public Function GetNextNumScheme(ByVal NumSchemeName As String) As String

Description

This method is returns the next ID in the specified numbering scheme.

Parameters

Parameter Name Required? Description
NumSchemeName Yes The name of the numbering scheme

Returns

A string that is the the next ID in the specified numbering scheme.

Error Codes

Value Meaning
11016 Numbering Scheme Name must not be empty
11015 Invalid Numbering Scheme

Examples

The following example sets the next ID number for a new case.

JavaScript:

var boCase = FCSession.CreateGeneric();
boCase.DBObjectName = "case";
boCase.AddNew();

boCase("id_number") = FCSession.GetNextNumScheme("Case ID");
Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.