F1201Z1DeleteTransaction

F1201Z1 Delete Unedited Transaction Records

Minor Business Rule

Object Name: N1200240

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Functional Description

Purpose

This function deletes the specified Unedited Asset Master Transaction in F1201Z1. It will also look 

for a corresponding Unedited Equipment Tag record in F1217Z2 and delete it. Then it will delete the 

corresponding Processing Log record in F0046.

Setup Notes and Prerequisites


Special Logic




Technical Specification


1.// Initialize work and output fields.
2.Set Error Message ID (DTAI) = " "

3.Set Error Code = '0'

4.If Suppress Error Message  (SUPPS) <> '1' And <> '0'

5. Suppress Error Message (SUPPS)= '0'

6.End If

7.Delete from F1217Z2 using keys specified in input parameters.

8.If Successful

9. Fetch From F1201Z1 using keys specified in input parameters and retrieve Transaction Type 

(TYTN) and Document Type (EDCT)

10.

11. Delete from F1201Z1 using keys specified in input parameters.

12.

13. If Successful

14. Call F0046 Purge Interoperability Processing Log (N0000181)

15. Else

16. Error Code = '1'

17. Set Error "013G" on User Id.

18. End If

19.Else 

20. Error Code = '1'

21. Set Error "013G" on User Id.

22.   End If




Data Structure

D1200240 - F1201Z1 Delete Unedited Transaction 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. 

szEdiTransactionNumberEDTNcharOPTNONE

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.

cErrorCodeERRCcharOPTNONE

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

szErrorMessageIDDTAIcharOPTNONE

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.

cSuppressErrorMessageSUPPScharOPTNONE

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

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.

Related Functions

None

Related Tables

None