GetOrderApprovalAudit

Get Order Approval Audit

Minor Business Rule

Object Name: B3000930

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This business function will verify that an Order Approval Audit record exists in the F4818 table for 
a given Index.   


1.2Setup Notes and Prerequisites

• Index = Number identifying the index that will be used to retrieve the Order Approval Audit record
• 1 = DOCO
• 2 = DOCO, AN8
• 3 = DOCO, GRPG, OSEQ 
Only two (2) conditions might exist:.
• No record exists matching the parameters passed.
• At least one (1) record exists matching the parameters passed. 
• Keys = Number of keys in the index that should be used to retrieve the Order Approval Audit record

2.Technical Specifications


2.4Processing 


• An index will be passed to this business function and used as the key to verify and fetch a record 
from the F4818 table.


• Verify that at least one (1) record exists matching the passed key:
• If the record does not exist, set the Error Message ID (DTAI) with the 0002 (Invalid Record) 
Data Item from the data dictionary.




^

Data Structure

D3000930 - Get Order Approval Audit

Parameter NameData ItemData TypeReq/OptI/O/Both
mnECOOrderNumberDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

mnGroupingNumberGRPGMATH_NUMERICNONENONE

A number used to combine similar records.

mnSequenceNumberOSEQMATH_NUMERICNONENONE

For OneWorld, the sequence by which users can set up the order in which their valid environments are displayed. For World, a sequence or 
sort number that the system uses to process records in a user defined order.

cSuppressErrorMessagesEV01charNONENONE

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

jdDateApprovedAPDJJDEDATENONENONE

The date on which an approver has approved or rejected an ECO. The default value is the current system date.

szNoteDS40charNONENONE

A 40-character description.

cApprovalStatusAPFLcharNONENONE

A user defined code (30/ST) that indicates the approval status of an engineering change order. For example:    A Accept (initiates 
notification of next review group)    R Reject (stops the notification process)

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.

szIndexDTAIcharNONENONE

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.

szKeysDTAIcharNONENONE

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.

mnApproverNumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

Related Functions

None

Related Tables

F4818 Order Approval Audit