Workhuman AutoPay — Revision 204 Release Notes and Technical Changes
Customer: Workhuman
Product: Epicor Kinetic
Component: jpgalAutoPay
Revision: 204
Release date: 28 October 2026
Release identifier: [JPGAL: 10/28/2026]
Status: Standard-flow regression passed; production deployment pending confirmation
Overview
This release resolves an issue in Workhuman's automated payment process where suppliers could receive multiple payment headers when their eligible invoice population exceeded the configured invoice limit per execution.
The updated function retains a single payment header per supplier across multiple executions, deferring check-number assignment until the final invoice batch.
Additional changes improve payment-group locking, finalisation and error handling.
1. Issue resolved
Previously, check numbers could be allocated before all eligible invoices had been processed.
For example, with a maximum of 1,500 invoices per execution, a supplier with more than 1,500 invoices could receive multiple payment headers when subsequent executions added invoices.
Resolution: Intermediate batches now retain unnumbered payment headers, allowing Epicor to continue applying invoices to the existing payments. Check numbering occurs only during the final batch.
2. Technical fixes
2.1 Invoice batching
The invoice-selection condition was corrected to prevent the maximum number of invoices being exceeded.
2.2 Check-number allocation
For non-Electronic Interface payment methods, eligible check numbers are assigned after the final batch has completed.
Electronic Interface payment methods continue to use Epicor's standard numbering behaviour.
2.3 Payment-group finalisation
Payment groups are finalised only after applicable check-number assignment and negative-payment processing complete.
A finalisation marker prevents further automated invoice additions to a completed group.
2.4 Lock management
The locking process has been improved to acquire the Epicor lock before setting the payment group's processing flag.
Successfully acquired groups are released through exception-safe cleanup. Additional recovery handling attempts to release a lock if subsequent processing-state updates fail.
2.5 Error handling
Missing payment headers, check-number assignment failures and unsuccessful unlock operations now raise exceptions instead of silently continuing.
3. Process logic — pseudocode
Main Auto Pay process
Validate processing parameters
Validate schedule and execution window
Wait for conflicting scheduled processing
Create or reuse payment group
Prepare bank batch
Acquire Epicor payment-group lock
Mark group as processing
TRY
IF group already finalised
Skip invoice processing
ELSE
Retrieve eligible invoices
Exclude held or ineligible invoices
Select up to configured batch limit
Create or update supplier payments
IF selected invoice count < batch limit
IF payment method is Electronic Interface
Use Epicor check numbering
ELSE
Assign check numbers to eligible headers
END IF
Process negative payment headers
Record finalisation marker
END IF
END IF
FINALLY
Clear processing flag
Release acquired lock
END TRY
Lock recovery
Validate payment group
Acquire Epicor lock
IF lock acquired
TRY
Set processing flag to INP
CATCH
Attempt normal cleanup
IF cleanup fails
Attempt fallback unlock
Log remaining failure
END IF
Rethrow original exception
END TRY
END IF
4. Regression test evidence
Environment: EPIC06
Test date: 28 October 2026
Invoice limit: 500 per execution
| Execution | Invoices selected |
|---|---|
| 1 | 500 |
| 2 | 500 |
| 3 | 500 |
| 4 | 500 |
| 5 | 500 |
| 6 — Final | 151 |
| Total | 2,651 |
Final payment reconciliation
| Supplier | Invoices | HeadNum | CheckNum |
|---|---|---|---|
| A-ZM | 1 | 523 | 50000001 |
| BCMTL | 1 | 524 | 50000002 |
| Levo | 1,586 | 525 | 50000003 |
| SKTESTGB | 1,063 | 526 | 50000004 |
| Total | 2,651 | 4 headers | 4 unique numbers |
Verified results
All 2,651 invoices processed over six executions.
One payment header per supplier.
No duplicate supplier payment headers.
Four unique check numbers assigned.
Finalisation marker recorded.
Processing flag GrpCreationVia cleared.
Repeated executions correctly skipped the completed group.
All four payment headers remained unposted during validation.
Functional result: PASS
5. Deployment verification
The deployed Epicor environment should contain:
Function: jpgalAutoPay
Revision: 204
Release identifier: [JPGAL: 10/28/2026]
Updated function package: EfxLibrary_jpgalAutoPay.efxb
After installation, run a controlled payment process and verify invoice counts, payment headers, check numbering, finalisation and group unlocking.
Retain the deployment details and execution logs for audit and support purposes.
6. Known limitations
The standard payment-processing flow has been tested successfully.
Deliberately simulated lock-acquisition, unlock, and check-number assignment failures have not been tested separately. These recovery changes have been reviewed in the source code.
7. Supporting references
GitHub repository: JPG-AL/kinetic-workhuman-0000
Branch: feature/SetCheckNumAfterAllInvoicesProcessed
Latest reviewed commit: b9f7bff63690a703941a97f8e5f8f0563d705718
Related Knowledge: Workhuman AutoPay — Release, Upgrade and Rollback Guide
Prepared by: JPG Analytics Ltd
Release: Workhuman Auto Pay — Revision 204