protected async void Form0Submit(ErpCan.Models.CanErpDbAt132.TblIcInventory args)
        {
            try
            {
                var canErpDbAt132CreateTblIcInventoryResult = await CanErpDbAt132.CreateTblIcInventory(tblicinventory);

                DialogService.Close(tblicinventory);
            }
            catch (Exception canErpDbAt132CreateTblIcInventoryException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblIcInventory!");
            }
        }
        protected async void Form0Submit(ErpCan.Models.CanErpDbAt132.TblIcInventory args)
        {
            try
            {
                var canErpDbAt132UpdateTblIcInventoryResult = await CanErpDbAt132.UpdateTblIcInventory(int.Parse($"{Inventory_SEQ}"), tblicinventory);

                DialogService.Close(tblicinventory);
            }
            catch (Exception canErpDbAt132UpdateTblIcInventoryException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblIcInventory");
            }
        }
        protected async void GridDeleteButtonClick(MouseEventArgs args, ErpCan.Models.CanErpDbAt132.TblIcInventory data)
        {
            try
            {
                var canErpDbAt132DeleteTblIcInventoryResult = await CanErpDbAt132.DeleteTblIcInventory(data.Inventory_SEQ);

                if (canErpDbAt132DeleteTblIcInventoryResult != null)
                {
                    grid0.Reload();
                }
            }
            catch (Exception canErpDbAt132DeleteTblIcInventoryException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to delete TblIcInventory");
            }
        }
        protected async void Load()
        {
            var canErpDbAt132GetTblIcWarehousesResult = await CanErpDbAt132.GetTblIcWarehouses();

            getTblIcWarehousesResult = canErpDbAt132GetTblIcWarehousesResult;

            var canErpDbAt132GetTblIcCategoriesResult = await CanErpDbAt132.GetTblIcCategories();

            getTblIcCategoriesResult = canErpDbAt132GetTblIcCategoriesResult;

            var canErpDbAt132GetTblIcClassificationsResult = await CanErpDbAt132.GetTblIcClassifications();

            getTblIcClassificationsResult = canErpDbAt132GetTblIcClassificationsResult;

            var canErpDbAt132GetTblGnProductsResult = await CanErpDbAt132.GetTblGnProducts();

            getTblGnProductsResult = canErpDbAt132GetTblGnProductsResult;

            var canErpDbAt132GetTblIcUnitsResult = await CanErpDbAt132.GetTblIcUnits();

            getTblIcUnitsResult = canErpDbAt132GetTblIcUnitsResult;

            tblicinventory = new ErpCan.Models.CanErpDbAt132.TblIcInventory();
        }
        protected async void Grid0RowSelect(ErpCan.Models.CanErpDbAt132.TblIcInventory args)
        {
            var result = await DialogService.OpenAsync <EditTblIcInventory>("Edit Tbl Ic Inventory", new Dictionary <string, object>() { { "Inventory_SEQ", args.Inventory_SEQ } });

            await InvokeAsync(() => { StateHasChanged(); });
        }