TestANIforModeConstants

Retrieve ANI for Mode Symbol Constants

Minor Business Rule

Object Name: B0900072

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

Analyzes the ANI to determine if the is equal to Long Symbols, Short Symbols or Third Symbols.

Technical Specification



2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes
EV01                       Invalid ANI FlagNot required

ANI                Account Number - Input (Mode Unknown) Required


2.2Related Tables 

Table Table Description

F0911Account Ledger


2.3Related Business Functions

Source NameFunction Name
jdeGetShortAccountSymbol(szShortSymbols);

jdeGetLongAccountSymbol(szLongSymbols);

jdeGetThirdAccountSymbol(szThirdSymbols);


2.4 Processing

Call the above three business functions.  Analyze the returned value and set the ANIFlag based on the 
following IF statement:

  if ((strchr(szLongSymbols,  lpDS->szAcctNoInputMode[0]) != (char*) NULL)  ||

       (strchr(szShortSymbols, lpDS->szAcctNoInputMode[0]) == (char*) NULL)  &&

       (strchr(szThirdSymbols, lpDS->szAcctNoInputMode[0]) == (char*) NULL))

       lpDS->cInvalidANIflag = '1';




Data Structure

D0900072 - Retrieve ANI for Mode Symbol Constants

Parameter NameData ItemData TypeReq/OptI/O/Both
cInvalidANIflagEV01charNONENONE

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

szAcctNoInputModeANIcharNONENONE

A value that identifies an account in the general ledger. Use one of the following formats to enter account numbers:   o  Standard account 
number (business unit.object.subsidiary or flex format).   o  Third G/L number (maximum of 25 digits).   o  Account ID number. The number is eight 
digits long.       o  Speed code, which is a two-character code that you concatenate to the AAI item SP. You can then enter the code instead of 
an account number. The first character of the account number indicates its format. You define the account format in the General Accounting 
constants. 

Related Functions

None

Related Tables

None