F4801Z2DeleteRecords

F4801Z2 Delete Recs

Minor Business Rule

Object Name: N174801Z

Parent DLL: CCRIN

Location: Client/Server

Language: NER

1.1Purpose
The purpose of this function is to delete records from F4801Z2, F4801TZ2, F3111Z2, and F3112Z2. This 

function allows the user to specify if only the F3111Z2 and F3112Z2 information should be deleted, or if data from 

all four files will be deleted.


1.2Setup Notes and Prerequisites

None


1.3Special Logic

This function has a delete control flag which determines which files will be deleted. If the mode flag is set to 

a 1, then all files (F4801Z2, F4801TZ2, F3111Z2, and F3112Z2) will be deleted. If the mode flag is set to a 2, then 

only information from F3111Z2 and F3112Z2 will be deleted.

Data Structure

D174801Z2A - F4801Z2 Delete Records

Parameter NameData ItemData TypeReq/OptI/O/Both
szEDIUserId_EDUSEDUScharOPTNONE

The source of the transaction. This can be a user ID, a workstation, the address of an external system, a node on a network, and so on. This 
field helps identify both the transaction and its point of origin.

szEDIBatchNumber_EDBTEDBTcharOPTNONE

The number that the transmitter assigns to the batch.  During batch processing, the system assigns a new batch number to the PeopleSoft 
transactions for each control (user) batch number it finds. 

szEDITransactNumber_EDTNEDTNcharOPTNONE

The number that an Electronic Data Interchange (EDI) transmitter assigns to a transaction. In a non-EDI environment, you can assign any 
number that is meaningful to you to identify a transaction within a batch. It can be the same as a J.D. Edwards document number.

cDeleteControlFlag_EV01EV01charOPTNONE

This field determines which files to delete. Valid values are:
1 = Delete F4801Z2, F4801TZ2, F3111Z2, and F3112Z2

2 = Delete F3111Z2, and F3112Z2

cErrorCode_ERRCERRCcharOPTNONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szErrorMessageID_DTAIDTAIcharOPTNONE

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.

mnEdiLineNumber_EDLNEDLNMATH_NUMERICOPTNONE

This is the line number you assign when originating an EDI transaction. This number can represent an order line number (applicable for any 
order type), an invoice pay item, a journal entry line number, and so on.

cDirectionIndicator_DRINDRINcharOPTNONE

A code that indicates whether the transaction is inbound or outbound.

Related Functions

None

Related Tables

None