F0901UpdateCategoryCodes

F0901 Update Category Codes

Major Business Rule

Object Name: B5100019

Parent DLL: CAEC

Location: Client/Server

Language: C

Purpose
Global Update of Category Code 1, Category Code 2, Category Code 3 and Alternate Cost Code in the Account Master file (F0901), which is based on the 
Cost Code of each account.  The definition (mapping)  is entered for each of the codes, and each character in the definition specifies the position of the 

character the system selects from the cost code.  Since a cost code can be up to eight characters, the valid values for a position are 1 - 8.  When the plus 

sign (+) is used in the definition, an imbedded blank is placed in the new code.  When an asterisk (*) is placed at the end of a definition, the system should 

only perform the update if the new code is not blank.  When an equal sign (=) is placed at the end of a definition, the system should only perform the update 

if the existing code is blank, and the new code is not blank.  Placing the asterisk (*) or the equal sign (=) in the definition in any position other than the 

fourth character for a Category Code, or the ninth character for a Alternate Cost Code will result in a job log and no update for any of the codes will take 

place.

^

Data Structure

D5100019A - F0901 Update Category Codes

Parameter NameData ItemData TypeReq/OptI/O/Both
szJobNumberMCUcharREQINPUT

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szCode1DL01charOPTINPUT

A user defined name or remark.

szCode2DL01charOPTINPUT

A user defined name or remark.

szCode3DL01charOPTINPUT

A user defined name or remark.

szCodeADL01charOPTINPUT

A user defined name or remark.

szErrorMessageDTAIcharOPTOUTPUT

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.

cSuppressErrorMessageEV01charOPTINPUT

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

Related Functions

B9800100 Get Audit Information

Related Tables

F0901 Account Master