-
Notifications
You must be signed in to change notification settings - Fork 41
Description
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
- Create or select a Party (e.g., Supplier or Customer).
- Add multiple bank accounts to the party.
- Mark one bank account as Default.
- Create a Payment Order.
- Fetch Bank Entry / select the party in the Payment Order.
- 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.