예제 #1
0
        protected async void Load()
        {
            canEdit = true;

            var canErpDbAt132GetTblSoOrderDetailStatusBySoDetailStatusSeqResult = await CanErpDbAt132.GetTblSoOrderDetailStatusBySoDetailStatusSeq(int.Parse($"{SODetailStatus_SEQ}"));

            tblsoorderdetailstatus = canErpDbAt132GetTblSoOrderDetailStatusBySoDetailStatusSeqResult;
        }
예제 #2
0
        protected async void Form0Submit(ErpCan.Models.CanErpDbAt132.TblSoOrderDetailStatus args)
        {
            try
            {
                var canErpDbAt132UpdateTblSoOrderDetailStatusResult = await CanErpDbAt132.UpdateTblSoOrderDetailStatus(int.Parse($"{SODetailStatus_SEQ}"), tblsoorderdetailstatus);

                DialogService.Close(tblsoorderdetailstatus);
            }
            catch (Exception canErpDbAt132UpdateTblSoOrderDetailStatusException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblSoOrderDetailStatus");
            }
        }
        protected async void Form0Submit(ErpCan.Models.CanErpDbAt132.TblSoOrderDetailStatus args)
        {
            try
            {
                var canErpDbAt132CreateTblSoOrderDetailStatusResult = await CanErpDbAt132.CreateTblSoOrderDetailStatus(tblsoorderdetailstatus);

                DialogService.Close(tblsoorderdetailstatus);
            }
            catch (Exception canErpDbAt132CreateTblSoOrderDetailStatusException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblSoOrderDetailStatus!");
            }
        }
예제 #4
0
        protected async void GridDeleteButtonClick(MouseEventArgs args, ErpCan.Models.CanErpDbAt132.TblSoOrderDetailStatus data)
        {
            try
            {
                var canErpDbAt132DeleteTblSoOrderDetailStatusResult = await CanErpDbAt132.DeleteTblSoOrderDetailStatus(data.SODetailStatus_SEQ);

                if (canErpDbAt132DeleteTblSoOrderDetailStatusResult != null)
                {
                    grid0.Reload();
                }
            }
            catch (Exception canErpDbAt132DeleteTblSoOrderDetailStatusException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to delete TblSoOrderDetailStatus");
            }
        }
예제 #5
0
        protected async void Grid0RowSelect(ErpCan.Models.CanErpDbAt132.TblSoOrderDetailStatus args)
        {
            var result = await DialogService.OpenAsync <EditTblSoOrderDetailStatus>("Edit Tbl So Order Detail Status", new Dictionary <string, object>() { { "SODetailStatus_SEQ", args.SODetailStatus_SEQ } });

            await InvokeAsync(() => { StateHasChanged(); });
        }
 protected async void Load()
 {
     tblsoorderdetailstatus = new ErpCan.Models.CanErpDbAt132.TblSoOrderDetailStatus();
 }