Hi,
The below statement throws me below error
"The type 'System.String' for the query operator is not Queryable!" error at Microsoft.Dynamics.AX.Framework.Linq.Data.AXQueryFormatter.VisitMethodCall(..
var qryShipConfirmDate = context.UMAWHSOutboundShipmentHeaderEntity
.Where(x => x.AccountNum.StartsWith("27384"))
.OrderByDescending(o => o.ShipConfirmUTCDateTime)
.FirstOrDefault();
How to solve this?
I need Maximum date from ShipConfirmUTCDateTime column with condition AccountNum column contains 27384
Pls help.
Regards,
Manivannan