Example #1
0
        protected async void GridDeleteButtonClick(MouseEventArgs args, TblSoSalesOrder data)
        {
            try
            {
                var otErpDeleteTblSoSalesOrderResult = await OtErp.DeleteTblSoSalesOrder(data.SO_SEQ);

                if (otErpDeleteTblSoSalesOrderResult != null)
                {
                    grid0.Reload();
                }
            }
            catch (Exception otErpDeleteTblSoSalesOrderException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to delete TblSoSalesOrder");
            }
        }