Open AngelMtz97 opened 2 years ago
We use this application on Salesforce Orders. And after Winter 23 release we too are seeing this error. We narrowed it down to the Quantity field (standard salesforce field). If we remove that from the grid the grid renders results. If we do not remove it then the grid shows empty except for its link to the source record. We urgently need a work around or fix to be able to add the quantity back. Our month end is next week and this is slowing down if not holding up the processing of orders and sending them for invoicing. Thank you. Rachel
I report the same issue on my org. More details on my situation (same error) in this Issue: https://github.com/SalesforceLabs/EnhancedLightningGrid/issues/79
PS: I have created a work around for now: I have created a formula field that displays OLI.Quantity in text. That is displyed in the ELG. And the error has gone. PPS: If the formula displays Quantity in number, the error still persists
Summary
Calling an API and loading the data on the table cause an error, the response of the API is correct and was validated. The error was reported after winter 23 release update.
After testing our code, we found that using this method causes the error, trying to convert to Double.
private List<grishield.SDGField> GetFields() { List<grishield.SDGField> fields = new List<grishield.SDGField>(); fields.add( new grishield.SDGField('1', 'AMOUNT USED', 'FieldName__c', 'DOUBLE', '', false, false, null, 5)); }
Actual result