protected async void Load()
        {
            canEdit = true;

            var canErpDbAt132GetTblSoOrderStatusBySoStatusSeqResult = await CanErpDbAt132.GetTblSoOrderStatusBySoStatusSeq(int.Parse($"{SOStatus_SEQ}"));

            tblsoorderstatus = canErpDbAt132GetTblSoOrderStatusBySoStatusSeqResult;
        }
Example #2
0
        protected async void Form0Submit(ErpCan.Models.CanErpDbAt132.TblSoOrderStatus args)
        {
            try
            {
                var canErpDbAt132CreateTblSoOrderStatusResult = await CanErpDbAt132.CreateTblSoOrderStatus(tblsoorderstatus);

                DialogService.Close(tblsoorderstatus);
            }
            catch (Exception canErpDbAt132CreateTblSoOrderStatusException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblSoOrderStatus!");
            }
        }
        protected async void Form0Submit(ErpCan.Models.CanErpDbAt132.TblSoOrderStatus args)
        {
            try
            {
                var canErpDbAt132UpdateTblSoOrderStatusResult = await CanErpDbAt132.UpdateTblSoOrderStatus(int.Parse($"{SOStatus_SEQ}"), tblsoorderstatus);

                DialogService.Close(tblsoorderstatus);
            }
            catch (Exception canErpDbAt132UpdateTblSoOrderStatusException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblSoOrderStatus");
            }
        }
Example #4
0
        protected async void GridDeleteButtonClick(MouseEventArgs args, ErpCan.Models.CanErpDbAt132.TblSoOrderStatus data)
        {
            try
            {
                var canErpDbAt132DeleteTblSoOrderStatusResult = await CanErpDbAt132.DeleteTblSoOrderStatus(data.SOStatus_SEQ);

                if (canErpDbAt132DeleteTblSoOrderStatusResult != null)
                {
                    grid0.Reload();
                }
            }
            catch (Exception canErpDbAt132DeleteTblSoOrderStatusException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to delete TblSoOrderStatus");
            }
        }
Example #5
0
        protected async void Grid0RowSelect(ErpCan.Models.CanErpDbAt132.TblSoOrderStatus args)
        {
            var result = await DialogService.OpenAsync <EditTblSoOrderStatus>("Edit Tbl So Order Status", new Dictionary <string, object>() { { "SOStatus_SEQ", args.SOStatus_SEQ } });

            await InvokeAsync(() => { StateHasChanged(); });
        }
Example #6
0
 protected async void Load()
 {
     tblsoorderstatus = new ErpCan.Models.CanErpDbAt132.TblSoOrderStatus();
 }