Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to print PDF for Credit memo #365

Open
ankurkinex opened this issue Aug 1, 2023 · 1 comment
Open

Unable to print PDF for Credit memo #365

ankurkinex opened this issue Aug 1, 2023 · 1 comment

Comments

@ankurkinex
Copy link

Prerequisites

I am using Adobe Commerce ver. 2.4.6-p1 and we are getting error while print pdf of credit memo. It is returning error.
SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'entity_id' in where clause is ambiguous, query was: SELECT main_table.*, sales_alias.tj_salestax_sync_date FROM sales_creditmemo_grid AS main_table LEFT JOIN sales_creditmemo AS sales_alias ON main_table.entity_id = sales_alias.entity_id WHERE (((entity_id IN('1'))))

Steps to Reproduce

  1. Go to Credit memo grid
  2. Select a credit memo from checkbox and select 'PDF Credit Memo'
  3. An error will occur

Expected Result

  1. Go to Credit memo grid
  2. Select a credit memo from checkbox and select 'PDF Credit Memo'
  3. It should open PDF for credit memo

Actual Result

  1. Go to Credit memo grid
  2. Select a credit memo from checkbox and select 'PDF Credit Memo'
  3. It returns an error.
    SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'entity_id' in where clause is ambiguous, query was: SELECT main_table.*, sales_alias.tj_salestax_sync_date FROM sales_creditmemo_grid AS main_table LEFT JOIN sales_creditmemo AS sales_alias ON main_table.entity_id = sales_alias.entity_id WHERE (((entity_id IN('1'))))

Versions

This is our Version Adobe Commerce ver. 2.4.6-p1

  • PHP 8.1
@ankurkinex
Copy link
Author

Any update on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant