DeleteStoreForwardInvoice

F03B11Z1 Update Store & Forward Invoice Delete

Major Business Rule

Object Name: B03B0045

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This function deletes all Store and Forward invoice records when called from a browse form.

Actions performed for highlighted transaction are: 

1) Delete all Store and Forward G/L lines   

2) Delete all Store and Forward A/R lines  

3) Delete Transaction Control Record


Setup Notes and Prerequisites

None.

Special Logic

None.


Technical Specifications




Parameters



Related Tables

F03B11Z1Invoice Transactions  Batch Table (03B) 
F0041Z1Transaction Control File

F0911Z1Journal Entry Transactions  Batch File


Related Business Functions

None.

Processing

Open F03B11Z1 table.
Load key to F03B11Z1.

Select all records matching the key.

If success,

While idJDBReturn is equal to JDEDB_PASSED,

Delete F03B11Z1 table.

Fetch the next record.

End while

End if


Open F0911Z1 table.

Load key to F0911Z1.

Select all records matching the key.

If success,

While idJDBReturn is equal to JDEDB_PASSED,

Delete F0911Z1 table.

Fetch the nest record.

End while

End if


Open F0041Z1 table.

Load key to F0041Z1.

Select all records matching the key.

If success,

While idJDBReturn is equal to JDEDB_PASSED,

Delete F0041Z1 table.

Fetch the nest record.

End while

End if


Close F03B11Z1 table.

Close F0911Z1 table.

Close F0041Z1 table.


^

Data Structure

D03B0045 - F03B11Z1 Update Store & Forward Invoice Delete

Parameter NameData ItemData TypeReq/OptI/O/Both
szEDIBatchNumberEDBTcharNONENONE

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. 

szEDITransactionNoEDTNcharNONENONE

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.

szEDIUserIDEDUScharNONENONE

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.

szComputerIDCTIDcharNONENONE

Related Functions

None

Related Tables

F0041Z1 Transaction Control File
F03B11Z1 Batch Invoices
F0911Z1 Journal Entry Transactions - Batch File