AX Retail POS not able to generate report from cashier task->X Y Report->View Report. Error message: There are no report defined for POS" error occurs.
Event viewer report:
Error occurs: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Dynamics.Retail.Pos.Interaction.WinFormsTouch.ReportForm.gridView1_RowStyle(Object sender, RowStyleEventArgs e)
at DevExpress.XtraGrid.Views.Grid.GridView.RaiseGetRowStyle(Int32 rowHandle, GridRowCellState state, AppearanceObject appearance, Boolean& highPriority)
at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.GetRowMixAppearances(GridCellInfo cellInfo, GridRowCellState state, GridRowInfo bi, AppearanceObjectEx column, AppearanceObject focusedCell, AppearanceObjectEx conditionCell)
at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.UpdateRowAppearanceCore(GridRowInfo ri)
at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.UpdateRowAppearance(GridRowInfo ri, Boolean always)
at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcGroupRowHeight()
at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcRectsConstants()
at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcRects(Rectangle bounds, Boolean partital)
at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.Calc(Graphics g, Rectangle bounds)
at DevExpress.XtraGrid.Views.Base.ColumnView.DoInternalLayout()
at DevExpress.XtraGrid.Views.Base.ColumnView.CalculateLayout()
at DevExpress.XtraGrid.Views.Grid.GridView.LayoutChanged()
at DevExpress.XtraGrid.Views.Base.BaseView.EndUpdateCore(Boolean synchronized)
at DevExpress.XtraGrid.GridControl.EndUpdate(Boolean synchronized).