VerifyApprovalAuditRec

F4808 Verify Approval Audit Record

Master Business Function

Object Name: B3001520

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose

This business function checks if table F4808 contains the Approval Audit record for the specified 
Document Type and Branch passed in incoming parameters.


2.Technical Specifications


2.4Processing 
Edits:

1.Initialize the flag EV01

2.Fetch the first record with a matching Document Type (DCTO) and Branch (MMCU)



Return:

1.If the fetch is successful using key DCTO and MMCU
ReturnFlag = '1'

Else

ReturnFlag = '0'

Endif


If fetch is not successful, assign Error Message ID = '3505' - Record Does Not Exist.  If fetch not 

successful and Suppress Error Message is not equal to '1', allow runtime message handling to occur.

^

Data Structure

D3001520 - Verify Approval Audit Record

Parameter NameData ItemData TypeReq/OptI/O/Both
szDocumentTypeDCTOcharNONENONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szBranchMMCUcharNONENONE

A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which 
represent lower-level business units, subordinate to it. For example:     o Branch/Plant (MMCU)     o Dept A (MCU)     o Dept B (MCU)     o Job 123 
(MCU) Business unit security is based on the higher-level business unit.

cSuppressErrorMessagesEV01charNONENONE

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

cReturnFlagEV01charNONENONE

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

szErrorMessageIDDTAIcharNONENONE

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.

Related Functions

None

Related Tables

F4808 Order Routing Approval Master