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

Exception in WebUI when opening initial Doc Outbound window #342

Closed
metas-mk opened this issue May 4, 2017 · 1 comment
Closed

Exception in WebUI when opening initial Doc Outbound window #342

metas-mk opened this issue May 4, 2017 · 1 comment

Comments

@metas-mk
Copy link
Member

metas-mk commented May 4, 2017

Is this a bug or feature request?

Bug

What is the current behavior?

Happened when initially creating the doc outbound window in webui,
see https://w101.metasfresh.com:8443/window/540170

Error: org.postgresql.util.PSQLException: ERROR: column reference... Server error org.postgresql.util.PSQLException: ERROR: column reference "record_id" is ambiguous Position: 1833 SQL: SELECT master.*, (SELECT NULLIF (TRIM(AD_Client.Name), '') FROM AD_Client WHERE AD_Client.AD_Client_ID=master.AD_Client_ID ) AS AD_Client_ID$Display , (SELECT NULLIF (TRIM(AD_Org.Name), '') FROM AD_Org WHERE AD_Org.AD_Org_ID=master.AD_Org_ID ) AS AD_Org_ID$Display , (SELECT concat_ws('_', NULLIF (TRIM(AD_Table.TableName), ''), NULLIF (TRIM(AD_Table.Name), '')) FROM AD_Table WHERE AD_Table.AD_Table_ID=master.AD_Table_ID ) AS AD_Table_ID$Display , (SELECT concat_ws('_', NULLIF (TRIM(C_BPartner.Name), ''), NULLIF (TRIM(C_BPartner.Value), '')) FROM C_BPartner WHERE C_BPartner.C_BPartner_ID=master.C_BPartner_ID ) AS C_BPartner_ID$Display , (SELECT NULLIF (TRIM(C_BP_Group.Name), '') FROM C_BP_Group WHERE C_BP_Group.C_BP_Group_ID=master.C_BP_Group_ID ) AS C_BP_Group_ID$Display , (SELECT AD_Ref_List.Name FROM AD_Ref_List WHERE AD_Ref_List.Value=master.EDI_ExportStatus AND AD_Ref_List.AD_Reference_ID=540381) AS EDI_ExportStatus$Display , (SELECT NULLIF (TRIM(C_DocType.Name), '') FROM C_DocType WHERE C_DocType.C_DocType_ID=master.C_DocType_ID ) AS C_DocType_ID$Display , (SELECT AD_Ref_List.Name FROM AD_Ref_List WHERE AD_Ref_List.Value=master.DocStatus AND AD_Ref_List.AD_Reference_ID=131) AS DocStatus$Display FROM ( SELECT C_Doc_Outbound_Log.AD_Client_ID AS AD_Client_ID , C_Doc_Outbound_Log.AD_Org_ID AS AD_Org_ID , C_Doc_Outbound_Log.AD_Table_ID AS AD_Table_ID , C_Doc_Outbound_Log.C_BPartner_ID AS C_BPartner_ID , (SELECT C_BP_GROUP_ID from C_BPartner where C_BPartner_ID = C_Doc_Outbound_Log.C_BPartner_ID) AS C_BP_Group_ID , C_Doc_Outbound_Log.IsInvoiceEmailEnabled AS IsInvoiceEmailEnabled , (select bp.IsEdiRecipient from C_BPartner bp where bp.C_BPartner_ID=C_Doc_Outbound_Log.C_BPartner_ID) AS IsEdiEnabled , (SELECT "de.metas.edi".getEDIExportStatus(AD_Table_ID, Record_ID)) AS EDI_ExportStatus , (SELECT getDocumentPOReference(AD_Table_ID, Record_ID)) AS POReference , (select COUNT(*) from C_Doc_Outbound_Log_Line where C_Doc_Outbound_Log_Line.Action = 'print' AND

Which are the steps to reproduce?

Open the window https://w101.metasfresh.com:8443/window/540170 and see

What is the expected or desired behavior?

Shall be able to open without that bug.

@metas-mk metas-mk added this to the 2017-18 milestone May 4, 2017
teosarca referenced this issue in metasfresh/metasfresh May 4, 2017
@metas-dh
Copy link
Member

metas-dh commented May 5, 2017

Results of IT1
tested on w101

  • no error when opening DocOutbound window (Ausgehende Belege): OK

@metas-dh metas-dh closed this as completed May 5, 2017
metas-ts added a commit to metasfresh/metasfresh that referenced this issue May 5, 2017
[#702](metasfresh/metasfresh-webui-frontend-legacy#702) Running a process from menu does not work, again
[#342](metasfresh/metasfresh-webui-api-legacy#342) Exception in WebUI when opening initial Doc Outbound window
[#886](#866) Make payment callouts work in webui
[#341](metasfresh/metasfresh-webui-api-legacy#341) Apply role permissions when browsing/editing data
[#340](metasfresh/metasfresh-webui-api-legacy#340) Manufacturing order: Prevent issuing VHUs which are not top level
[#700](metasfresh/metasfresh-webui-frontend-legacy#700) Typeahead not working in lookup filter parameters
[#1435](#1435) Add method for Escaping '@' char, by replacing one @ with double @@
[#330](metasfresh/metasfresh-webui-api-legacy#330) Implement webui HUEditor support for massive amount of HUs
[#1315](#1315) 2D Barcode wit ad_table_id/ record_id on bestellkontrolle
[#675](metasfresh/metasfresh-webui-frontend-legacy#675) Icons for manufacturing components
[#334](metasfresh/metasfresh-webui-api-legacy#334) switch filters to primary layout
[#697](metasfresh/metasfresh-webui-frontend-legacy#697) New Businesspartner modal overlay cancel
[#257](metasfresh/metasfresh-webui-api-legacy#257) BPartner contact cannot be saved because mandatory field Name is not set

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

No branches or pull requests

4 participants