taxjar / taxjar-magento2-extension

Magento 2 Sales Tax Extension by TaxJar
http://www.taxjar.com/guides/integrations/magento2/
Open Software License 3.0
22 stars 29 forks source link

Unable to print PDF for Credit memo #365

Open ankurkinex opened 1 year ago

ankurkinex commented 1 year ago

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

ankurkinex commented 1 year ago

Any update on this issue?