Goal: Have an Excel file with multiple transactions, import each line in the file into a separate batch, and a separate transaction entry. Utilize the ""next"" feature in VI to have the system grab the next transaction entry number for the record.
SCENARIO: Use a REPLACE function on the batch number, and specify a blank field. Use the NEXT function for the Transaction Entry number.
RESULT: The next batch number is used, but it puts all transactions into one batch. All transactions with the same header details are put into the same transaction.
SCENARIO: Use a REPLACE function on the batch number, and specify an actual data field. Use the NEXT function for the Transaction Entry number.
RESULT: The batch number of the first transaction is used only, and puts all transactions into that one batch. The other batch numbers are ignored. All transactions with the same header details are put into the same transaction.
SCENARIO: Specify the Transaction Entry Number, and the batch number in the source file.
RESULT: Get multiple batches and multiple transactions.
However, the last scenario isn't ideal because we aren't using the transaction numbers from MAS 90. Any suggestions?