DetermineExpDetailDataType

Expense Detail Data Type - Determine

Minor Business Rule

Object Name: N09E0020

Parent DLL: CFIN

Location: Client/Server

Language: NER

N09E0020 - Determine Expense Detail Data Type:

This business function takes a policy and expense category as input and 

determines the expense detail data item type.


If the corresponding expense detail data item in F09E109 exists for an airline,

"AIRLINE" is returned in szExpenseDetailDataItem.


If the corresponding expense detail data item in F09E109 exists for a car rental 

vendor,

"CARVEND" is returned in szExpenseDetailDataItem.


If the corresponding expense detail data item in F09E109 exists for a hotel,

"HOTELCH" is returned in szExpenseDetailDataItem.


Otherwise, NULL is returned in szExpenseDetailDataItem.


 

Data Structure

D09E0020 - Expense Detail Data Type - Determine

Parameter NameData ItemData TypeReq/OptI/O/Both
szPolicyPOLICYcharREQINPUT

The name of an expense policy. The expense policy determines the expense categories that are available for reimbursement and 
provides the rules for each expense category such as the daily allowance amount, audit limits, receipt requirements, whether a preferrred supplier is 
required, and so on.  

szExpenseCategoryEXPTYPEcharREQINPUT

A user defined code (09E/EC) that categorizes expenses. Expense categories include airfare, meals, hotel, and car rental.

szExpenseDetailDataItemEXPDDIcharOPTOUTPUT

A code that indicates the field that you want the system to display on the Enter Expense Report Information form for the specified expense 
category and policy. If you specified 0 in the User Defined field, select a value from the UDC 09E/EF, which you access using the Search 
button. If you specified 1 in the User Defined field, enter the alias for the data dictionary item you want to use or select a value from the Data 
Dictionary Search and Select Alias form, which you access using the Search button.

Related Functions

None

Related Tables

None