This function will use the Transaction Type parameter to get the names of the files for the transaction from the Flat File Cross-Reference table 
(F47002).  It will then get a next number from the first bucket for system 47.  Using this next number, the User ID, and the Batch Number as 
partial keys, the function will try to find a duplicate record in the files retrieved from the F47002.
If a duplicate is found, another next number is retrieved and the check for duplicate records happens again.  Once a valid number has been 
found, this number is returned as the Transaction Number to the calling program.  If one hundred next numbers are retrieved and they all have 
duplicates, a value of zero is returned as the Transaction Number.
D0000175 - Get Next Transaction Number
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
|---|---|---|---|---|
| szTransactionType | TYTN | char | NONE | NONE | 
The qualifier used to identify a specific type of transaction.  | ||||
| szUserId | EDUS | char | NONE | NONE | 
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 
  | ||||
| szBatchNumber | EDBT | char | NONE | NONE | 
The number that the transmitter assigns to the batch.  During batch processing, the system assigns a new batch number to the PeopleSoft 
  | ||||
| szTransactionNumber | EDTN | char | NONE | NONE | 
The number that an Electronic Data Interchange (EDI) transmitter assigns to a transaction. In a non-EDI environment, you can assign any 
  | ||||
| cSuppressErrorMessage | EV01 | char | NONE | NONE | 
An option that specifies the type of processing for an event.  | ||||
| B9800014 Retrieve Object Master | 
| F47002 Flat File Cross-Reference Table |