GetNextNumberConstant

Get Next Number Constant

Minor Business Rule

Object Name: B4200190

Parent DLL: CDIST

Location: Client/Server

Language: C

This Business Function Retrieves Next Number Constants from F0009.
It returns an error code of 4807 when no record is found if Suppress Error Message parameter is not 

'1'.


The parameters for this function are

System Code                                   INPUT

Next Number Constants               OUTPUT

Error Message ID                           OUPUT

Suppress Error Message            INPU^

Data Structure

D4200190 - Get Next Number Constant

Parameter NameData ItemData TypeReq/OptI/O/Both
szSystemCodeSYcharNONENONE

A user defined code (98/SY) that identifies a system. Valid values include: 01 Address Book 03B Accounts Receivable 04 Accounts 
Payable 09 General Accounting 11 Multicurrency

cNextNumberConstantsNNOcharNONENONE

An option that specifies which method the system should use for next numbers by company/fiscal year. Choose one of the three methods.

szErrorMesgIDDTAIcharNONENONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cSuppressErrorMesgEV01charNONENONE

An option that specifies the type of processing for an event.

Related Functions

None

Related Tables

F0009 General Constants