I have a dashboard that I’m converting from Classic that is not showing two particular columns (OrderDtl.ExtPriceDtl & OrderDtl.Discount) in the grid nor in the “Personalize Columns” panel, but they are in the data view and not hidden. I can see them in the grid model > columns, but they do not show in the grid. I can check the “hidden” box in Grid Model > Columns and then uncheck it to see the columns in Application Studio. However, when I preview the screen they appear in the active card, but as soon as I move off that card to another then the two columns have disappeared from all cards, including the one they were initially showing in.
I’ve tried by converting the old dashboard (making some layout changes to the cards in application studio) and by building it new from scratch. I’ve got six different BAQs in this dashboard that all include these fields and every single one of the grids is having this same exact issue.
TypeCode = ‘KNTCCustLayer’
Key1 = Layer name
Key2 = Program like Erp.UI.PartEntry
SysCharacter03 is the JSON in App app Studio.
Content is the JSON for the published layer.
Thanks Hannah. This is either going to be the best thing since sliced bread or a long dark tunnel of trouble… [Would be nice if there was a column to show the final result of all the adds and replaces etc!]
I actually left that company before the ticket was resolved.
@FObilo Felix, are you able to respond in regard to this issue if EpicCare converted the case that was open on this when I left to a Problem and/or provided any resolution to it?
I have an open case with Support on this issue right now. They were able to recreate the problem. Seems to happen for specific columns in specific tables. In my case it’s InvoiceAmt and InvoiceBal in the InvcHead table, and StdMaterialCost, LastMaterialCost and AvgMaterialCost in the PartCost table. Expecting a Problem # so stay tuned…
After a bunch of tracing javascript in the browser, I can confirm that any currency columns that are not in the “Doc” currency type will not show no matter what you try.
I have found a workaround by inserting a post-processing method directive on DynamicQuery.GetQueryResultSetMetadataByID. This allows you to trick the grid into thinking the loaded currency field is in the Doc currency and will keep it visible.
foreach (var row in result)
{
var list = row.AttributeList.ToList();
var currencyType = list.FirstOrDefault(o => o.Name == "CurrencyType");
if (currencyType != null)
{
// "D" for Doc currency
currencyType.Value = "D";
}
row.AttributeList = list.ToArray();
}
Support has provided another workaround for this problem. In App Studio grid properties > Data > Grid model > Columns, select the missing column and check “Disable Currency Toggle.”
Still waiting for Development to call this a bug though, because the columns should not be missing in the first place.