DeleteOrderApprovalAudit

Delete Order Approval Audit

Major Business Rule

Object Name: B3000750

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description
This business function deletes all rows from Order Approval Audit File (F4818) for a given Index.  If 
delete is not successful, this business function will return an error message '0002' if suppress 

error messages input parameter is equal to '0'


1.1Purpose
This business function deletes all rows from Order Approval Audit File (F4818) for a given index.

 1.2Setup Notes and Prerequisites

• Suppress Error Message: 1=Suppress runtime error message handling, 0=Allow runtime error message 
handling.

• Index =  Number identifying the index that will be used to retrieve the Order Approval Audit record.
• 1 =  DOCO
• 2 =  AN8, DOCO
• 3 =  DOCO, GRPG, OSEQ
• Keys = Number of keys in the index that should be used to retrieve the Order Approval Audit record.


2.Technical Specifications

2.3Processing 

 
Retrievals:
Read and delete all rows from the Order Approval Audit File (F4818) for a given index.

Returns:

1.  Return error message ID '0002' if delete is not successful.


Checklist:


Business Function SVR(The Business Function SVR document can be found on 
in the shared folder NTSERV2.xls)

______Business Function Name

______Source file Name

______Description of what the function does

______Which programs use the function

______Authors name


    Object Librarian Check:

______Verify Related Functions List against header file
______Verify Related Tables List against header file

______Verify Business Function Data Structure in the header file against 

Business Function Parameter List

______"Check In" All the Business Function Parameter Lists


   All Business Functions must be run through Bounds Checker before 

checking them  in.

______Bounds Checker


Note:
Make sure to highlight the line and click on either 'Parameters' or 'Notes' button to get 
Function ID



^

Data Structure

D3000750 - Delete Order Approval Audit

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumberDOCOMATH_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.

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.

cSuppressErrorMessagesEV01charNONENONE

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

mnApproverNumberAN8MATH_NUMERICNONENONE

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

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.

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.

Related Functions

None

Related Tables

F4818 Order Approval Audit