Beispiel #1
0
        protected async System.Threading.Tasks.Task Load()
        {
            canEdit = true;

            var dbAtVdc2GetTblIcTransactionTypeByTransactionIdResult = await DbAtVdc2.GetTblIcTransactionTypeByTransactionId($"{Transaction_ID}");

            tblictransactiontype = dbAtVdc2GetTblIcTransactionTypeByTransactionIdResult;
        }
Beispiel #2
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblIcTransactionType args)
        {
            try
            {
                var dbAtVdc2CreateTblIcTransactionTypeResult = await DbAtVdc2.CreateTblIcTransactionType(tblictransactiontype);

                DialogService.Close(tblictransactiontype);
            }
            catch (Exception dbAtVdc2CreateTblIcTransactionTypeException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblIcTransactionType!");
            }
        }
Beispiel #3
0
 protected async System.Threading.Tasks.Task Load()
 {
     tblictransactiontype = new CanErp2.Models.DbAtVdc2.TblIcTransactionType();
 }
Beispiel #4
0
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblIcTransactionType args)
        {
            var result = await DialogService.OpenAsync <EditTblIcTransactionType>("Edit Tbl Ic Transaction Type", new Dictionary <string, object>() { { "Transaction_ID", args.Transaction_ID } });

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