F0007Z1DeleteRecords

F0007Z1 Delete Records

Minor Business Rule

Object Name: N0007Z1P

Parent DLL: CMFGBASE

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose
This Function deletes the specified records from table F0007Z1  Unedited Workday Calendar 
Transactions.   It may be called from Workday Calendar Transaction Revisions (P0007Z1) or Purge Workday Calendar 

Transactions (R0007Z1P).


1.2Setup Notes and Prerequisites


1.3Special Logic


2.Technical Specifications


2.4Processing 
2.4.1If the either direction indicator or action code was not passed in, fetch them 
from F0007Z1.

2.4.2If the direction is '2' (outbound), call the function F0046 Check 

Interoperability Processing Log Record Status (N0000181).  This function will check that all Processing 

log records associated with the record have been successfully processed.  If this function 

returns that all are successfully processed, call F0046 Purge Interoperability Processing 

Log (N000181) to purge the processing log records.  Then go ahead with the delete.

2.4.3If a before image for net change is deleted, the corresponding after image is 
also deleted.  If action code passed in equals 'UA', the previous line is deleted if 

previous action code equals 'UB'

2.4.4If an after image is deleted, the corresponding before image is also deleted   

If action code passed in equals 'UB', the next line is deleted if next action code equals 'UA'

2.4.5If allowed, delete the selected record.



^

Data Structure

D0007Z1P - F0007Z1 Delete Records

Parameter NameData ItemData TypeReq/OptI/O/Both
szEdiUserIdEDUScharOPTNONE

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.

szEdiBatchNumberEDBTcharOPTNONE

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. 

szEdiTransactNumberEDTNcharOPTNONE

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.

mnEdiLineNumberEDLNMATH_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.

szTransactionActionTNACcharOPTNONE

A code that indicates the activity you want to perform on the transaction. In an EDI transaction, this code represents the Transaction Set 
Purpose Code or Change Code.

cDirectionIndicatorDRINcharOPTNONE

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

Related Functions

None

Related Tables

None