Skip to content

Payment Order Creates Journal Instead of Payment Entry #42486

Description

@Bknjogu

Information about bug

We are encountering an issue with the Payment Order functionality in ERPNext. When multiple payment requests for a supplier are created and then consolidated into a Payment Order to facilitate bulk payment, the system creates a journal entry instead of a payment entry upon clicking the "Create Payment Entries" button. If we were to use Payment Entry shortcut provided in the Connection section, the Reference Documents are not fetched whilst the Payment Type remains as “Receive”.

Step1: Create multiple payment requests for a supplier. The Mode of Payment and Bank Accounts details remain the same across all Payment Requests.

Step 2: Consolidate All Payment Requests to one Payment Order.
Payment Request1
Payment Request2
Payment Request3

Step 3: Click the "Create Payment Entries" button in the Payment Order
Payment Order1

Expected Behavior: The system should create a Payment Entry upon clicking the "Create Payment Entries" button in the Payment Order.

Actual Behavior: The system creates a Journal Entry instead of a Payment Entry.
Journal Entry

We rely on the Payment Entry functionality due to its integrated approval processes. This issue disrupts our workflow and poses challenges in maintaining the approval integrity for payments.

Module

accounts

Version

ERPNext: v15.31.1 (HEAD)

Frappe Framework: v15.36.0 (HEAD)

Installation method

None

Relevant log output / Stack trace / Full Error Message.

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions