F0010GetSerkNumber

F03B31 - Get Activity ID

Minor Business Rule

Object Name: B03B0071

Parent DLL: CFIN

Location: Client/Server

Language: C

B03B0071
F03B31 - Get Activity ID


Functional Description


Purpose

This function will retrieve the next Activity ID number from the F0002 table, and validate that it is 

not used in the F03B31 table.


Setup Notes and Prerequisites


Special Logic


Techincal Specifications

Parameters 

ItemDescriptionI/OReq?Notes
SERKmnSerialNumberO


Related Tables

F03B31Customer Activity Log

Related Business Functions
X0010Next Numbers

Processing

• While cRecordFound = 1
• jdeCallObject "X0010GetNextNumber"
• JDB_FetchKeyed - F03B31 with the next number found
• If JDEBD_FAILED
• cRecordFound = 0
• Copy next number to mnSerialNumber
• Return ER_SUCCESS


^

Data Structure

D03B0071 - F03B31 - Get Activity ID

Parameter NameData ItemData TypeReq/OptI/O/Both
mnSerialNumberSERKMATH_NUMERICNONENONE

A key identification number used internally to identify a composite key structure.  The actual key items must be stored in another file and 
given this serial number.  This is to avoid repeating a very large key structure with repeating data items.

Related Functions

None

Related Tables

F03B31 Customer Activity Log