Skip to content

Payment Order shows “Bank account details missing” even when party has a default bank account #111

@Bhavan23

Description

@Bhavan23

Description

While fetching Bank Entry in a Payment Order, the system validates whether the selected party has bank account details. Even when the party has a default bank account configured, the system sometimes shows the error:

Bank account details missing for selected party

This happens especially when the party has multiple bank accounts.

Issue

If a party has:

  • Multiple bank accounts, and
  • One of them is set as Default

the system should automatically pick the default bank account while fetching the Bank Entry in the Payment Order.

However, currently, the system still shows “Bank account details missing for selected party”, even though a default bank account is present.

Expected Behavior

  • If the party has multiple bank accounts and one is marked as Default, the system should:
    • Automatically use the default bank account, and
    • Not show the “Bank account details missing” error.
  • The Payment Order should proceed using the default bank account details.

Actual Behavior

  • The system shows “Bank account details missing for selected party” even when:
    • The party has multiple bank accounts, and
    • One of them is correctly set as Default.

Steps to Reproduce

  1. Create or select a Party (e.g., Supplier or Customer).
  2. Add multiple bank accounts to the party.
  3. Mark one bank account as Default.
  4. Create a Payment Order.
  5. Fetch Bank Entry / select the party in the Payment Order.
  6. Observe that the system shows:

    Bank account details missing for selected party
    even though a default bank account exists.

Impact

This blocks Payment Order creation for parties with multiple bank accounts and makes the default bank account configuration ineffective in this scenario.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions