Payment Import Run
The process uses an import template to map data in the import files to the Infor Public Sector database. The steps taken to import payments are as follows:
- Load all payment import setups from the PAYMENTIMPORTSETUP table.
- For each setup, get the import template and the list of files in the
import path directory.
Note that the import template details are stored in the Billing configuration in the Configuration Editor. After getting the name of the template from the import setup, the task loads the details of the template, including the file path and some optional default values, such as a default payment method and whether payment batches should be marked as ready to post.
- Call the Import Engine to import the payment information from the import file.
- Create payment batches and payments from the imported data.
- If the import template’s ReadyToPost attribute is set to “True,” ensure that each batch’s batch count and amount are equal to the total payment count and amount. If so, mark the batch as ready to post (PAYBATCH.RDYPSTFLAG = Y).
- Check for any skipped payments.
Payments are skipped if they match the skip code defined for the import template. To use this feature, you must first create a skip code keyword in the Keyword Manager and include it in the import template. The actual code for the payments to be skipped is set in the import template configuration in the Configuration Editor. Each payment with the same code in the payment import file will be skipped.
If any payments are skipped, the batch count and amount are both set to zero, indicating that they could not be determined.
- When finished, move the payment import file to the archive folder.
Each file is moved to one of two archive folders under the import file directory: Processed for successful imports or Rejected for unsuccessful ones.
Setup
This table describes the Configuration Editor settings that affect this task:
Configuration and path | Comments |
---|---|
BILLING/CORRESPONDENCE/Types: PaymentImportTemplate | Defines available templates. For each template, the config can specify a default payment source, description, skip code, payment method, and ready to post flag. |
This table describes the Infor Public Sector setup forms that are used to configure this task:
Setup form | Comments |
---|---|
Payment Import Setup | Associates payment import templates with payment import file paths. You can also specify a default setup. |
Keyword Manager | Defines the keywords that the import templates use to identify tables and columns in the database. |
This table lists the database tables that store setup information for this task:
Table | Comments |
---|---|
BILLING. PAYMENTIMPORTSETUP | Stores payment import setup data. |
Invocation
The Payment Import Run task has no parameters. It can be scheduled and invoked manually through the Infor Public Sector Batch Manager form, and it can also be invoked through the console.
In addition, you can use Create Payment Import on the Infor Public Sector menu to initiate a payment import run manually.
Monitoring
In the database, the PROCESSINGFLAG column in BILLING.PAYMENTIMPORTRUN is set to Y at the start of a run, and set to N when the run is finished.
Common errors
This table lists some common errors that this task may return:
Error message | Comments |
---|---|
The Skip Code is not set in the configuration file. | Check the Billing configuration in the Configuration Editor. This message indicates that skip code isn’t provided for the selected import template. |
Path for the Payment Template was not found. | Check the Billing configuration. This message indicates that a directory path wasn’t found for the selected import template. |
Data output
This table lists the database tables in which this task adds or updates records:
Table | Comments |
---|---|
BILLING.PAYBATCHSOURCE | The task will add any payment batch source codes in the import file that don’t already exist in the database. |
BILLING.PAYMENT | Adds a record for each imported payment. |
BILLING.PAYMENTBATCH | Adds a record for each imported payment batch. |
BILLING.PAYMENTIMPORTRUN | Stores basic information on a payment import run, including the run key, the import file, and the status. The STATUS column uses these numeric codes: 0 (None), 1 (Processed), 2 (Rejected). |
BILLING. PAYMENTIMPORTRUNDETAILS | Stores details of the import process for a specific payment batch. |
BILLING.PAYMENTSOURCE | The task will add any payment source codes in the import file that don’t already exist in the database. |
This table lists the Infor Public Sector forms that you can use to review the results of this task:
Form | Comments |
---|---|
Lookup Payment Import | Standard Infor Public Sector lookup used to search for payment import runs. |
Manage Account page | Can be used to review payment information for a selected account. |
Lookup Payment Batches | Standard Infor Public Sector lookup used to search for payment batches. |
Payment Batch InfoViewer | Shows information on a selected payment batch. |
Lookup Payments | Standard Infor Public Sector lookup used to search for payments. |
Payment InfoViewer | Shows information on a selected payment. |