Project

General

Profile

Actions

BUG #2733

open

[SQA] Unable to Create Payment – Error: Column "transactionRefNo" Does Not Exist

Added by Md. Abdul Hamid 9 months ago. Updated 8 months ago.

Status:
In Progress
Priority:
High
Category:
-
Target version:
-
Start date:
07/25/2025
Due date:
% Done:

100%

Estimated time:
Spent time:

Description

Problem

When attempting to create a Payment for either Sales or Purchase, after filling out the payment form and clicking Create, the system shows an error toast:

Error: column "transactionRefNo" does not exist

As a result, the payment is not recorded, and the process cannot be completed.

Expected Behavior

  • Payment should be created successfully when the form is correctly filled.
  • No server/database errors should be thrown.
  • If transactionRefNo is required:
    • It should be included in the database schema.
    • Or it should be validated as optional and handled gracefully.

Requirements

  • Investigate and fix the missing column issue.
  • Ensure transactionRefNo field is:
    • Properly mapped in the backend (if required)
    • Present in the database table (migration may be needed)
    • Not referenced in backend code if not needed
  • Ensure form submission proceeds without error.

Acceptance Criteria

  • User can successfully create a payment for sales or purchase.
  • No error message appears after clicking Create.
  • If transactionRefNo is shown in UI, it is saved properly.
  • Database structure matches expected fields.

Notes

  • Check backend model/schema for the payments table.
  • Review recent updates or migrations related to transactionRefNo.
Actions #1

Updated by Nazmul Hossain Shovon 8 months ago

  • Status changed from Pending to In Progress
  • Assignee set to Md. Abdul Hamid
Actions #2

Updated by Md. Abdul Hamid 8 months ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF