ValidateExpenseDuplication

Validate Expense Duplication

Minor Business Rule

Object Name: B09E0030

Parent DLL: CFIN

Location: Client/Server

Language: C

Data Structure

D09E0030 - Validate Expense Duplication

Parameter NameData ItemData TypeReq/OptI/O/Both
szExpenseStatusEXPSTATcharOPTBOTH

The current status of the expense. The system uses this status to determine what information should be included in the workflow message if 
there is an error. For example, an employee might be notified that an expense has exceeded an allowance amount and the expense is 
considered to be an exception. The employee might also be notified that an expense has exceeded an audit amount, and the expense report 
might be audited.

cValidationOptionEV01charOPTINPUT

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

szExpenseReportNumberEXRPTNUMcharOPTINPUT

A number that uniquely identifies an expense report.

mnEmployeeIDEMPLOYIDMATH_NUMERICOPTINPUT

The address book number of the employee for whom the expense report is submitted.

szExpenseCategoryEXPTYPEcharOPTINPUT

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

mnExpenseAmountEXPFAMTMATH_NUMERICOPTINPUT

The amount of the expense in the currency in which the expense was incurred. This amount should correspond to the amount on the receipt.

szExpenseCurrencyCRCDcharOPTINPUT

A code that identifies the currency of a transaction. 

jdExpenseDateEXPDATEJDEDATEOPTINPUT

The date on which the expense was incurred. The system returns an error if the date that you enter for the expense is not within the 
allowable expense days as specified in the corresponding processing option of the Expense Entry program (P09E2011).

jdExpenseReportEndDateEXRPTDTEJDEDATEOPTINPUT

The last day that expenses can be included on the expense report. Allowable dates are defined in the processing options of the Expense 
Entry program (P09E2011).

szErrorMessageIDDTAIcharOPTOUTPUT

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.

nDupCheckNumberDaysINT01integerOPTINPUT

Number of Days in Future to Query for Responses Due. 

nAccessFromModeINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

Related Functions

None

Related Tables

None