Auto Process Payment File Administration (PFA) Stuck in Queue

Electronic Bank Payments can only process one payment file at a time if multi-queue is not set. PFA is automatically set to one of the following status unless there is any unexpected error due to external factors.

Note:

The Total Amount Paid field value in a PFA record is calculated based on the transaction’s sublist. This field is added dynamically, hence its value is not stored in the PFA record. Editing the amount on a payment record does not reflect in the system notes of a PFA record.

PFAs are intermittently stuck in a queue because of several external factors. Having a PFA stuck in a queue without any of Failed, Processed, Processed with Errors, or Cancelled status prevents other PFAs from being processed. To process the PFAs, the status of a PFA stuck in a queue must be set to Failed status manually.

You can use the Auto Process Queued PFA (customdeploy_15531_auto_queued_pfa_ss) script to change the status of the stuck PFA to Failed and trigger the next available PFA in the queue automatically.

The script identifies if a PFA is stuck in a queue only when the PFA has any one of the following status for long period of time:

Also, the PFA is stuck if the corresponding MR script is not in the In-progress status. This happens if the MR script does not receive proper response from the server because of various external factors. If you execute the Auto Process Queued PFA script, the PFA stuck in the queue fails and the next PFA gets picked up from the queue.

You can run the script deployment customdeploy_15531_auto_queued_pfa_ss script on demand. Or, you can also set a schedule for the script deployment to run daily to check all the PFAs and update their status based on their schedule and MR script status.

To schedule the MR script:

  1. Go to Customization > Scripts > Script Deployments.

  2. Click Edit next to the Auto Process Queued PFA.

  3. Create a schedule to run this script daily in the Schedule tab.

    Note:

    You must schedule the script to run every 6 hours, preferably during the night or on weekends.

  4. From the Status list, change the status from Not Scheduled to Scheduled.

  5. Click Save.

Alternatively, to process the PFAs stuck in queue, you can manually set the status of the stuck PFAs to Failed. To manually set the status of the stuck PFA, see the SuiteAnswers support article Payment File Administration Stuck in Queued Status, ID 26150 for more information.

General Notices