Closed metasnw closed 6 years ago
IT
open bill candidates and sort by "Total of Order" OK
sort by other fields NOK
=> Product Category does not work
org.postgresql.util.PSQLException:` ERROR: column master.m_product_category_id does not exist Position: 228 SQL: INSERT INTO T_WEBUI_ViewSelection ( UUID, Line, Record_ID) SELECT ? , row_number() OVER (ORDER BY (SELECT NULLIF (TRIM(M_Product_Category.Name), '') FROM M_Product_Category WHERE M_Product_Category.M_Product_Category_ID=master.M_Product_Category_ID ) ASC NULLS LAST) , master.C_Invoice_Candidate_ID FROM T_WEBUI_ViewSelection sel LEFT OUTER JOIN C_Invoice_Candidate master ON (master.C_Invoice_Candidate_ID=sel.Record_ID) WHERE sel.UUID=? SQL params: [540092-9f2d794fb3634ceea30b22751eccf4a4, 540092-02914fc2b0054642a11324c0cc58cfb4]
created follow-up: https://github.com/metasfresh/metasfresh-webui-api/issues/850 closing this one
Is this a bug or feature request?
bug
What is the current behavior?
when you click on the header of a virtual column in webui you get an error though sorting all other fields works fine
Which are the steps to reproduce?
open billing candidates (you can take any other place where virtual columns are being used)
click on column "total of order"
error