コード例 #1
0
        protected async System.Threading.Tasks.Task Load()
        {
            canEdit = true;

            var dbAtVdc2GetTblGnPaymentTermByPaymentTermSeqResult = await DbAtVdc2.GetTblGnPaymentTermByPaymentTermSeq(int.Parse($"{PaymentTerm_SEQ}"));

            tblgnpaymentterm = dbAtVdc2GetTblGnPaymentTermByPaymentTermSeqResult;
        }
コード例 #2
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblGnPaymentTerm args)
        {
            try
            {
                var dbAtVdc2UpdateTblGnPaymentTermResult = await DbAtVdc2.UpdateTblGnPaymentTerm(int.Parse($"{PaymentTerm_SEQ}"), tblgnpaymentterm);

                DialogService.Close(tblgnpaymentterm);
            }
            catch (Exception dbAtVdc2UpdateTblGnPaymentTermException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblGnPaymentTerm");
            }
        }
コード例 #3
0
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblGnPaymentTerm args)
        {
            var result = await DialogService.OpenAsync <EditTblGnPaymentTerm>("Edit Tbl Gn Payment Term", new Dictionary <string, object>() { { "PaymentTerm_SEQ", args.PaymentTerm_SEQ } });

            await InvokeAsync(() => { StateHasChanged(); });
        }
コード例 #4
0
 protected async System.Threading.Tasks.Task Load()
 {
     tblgnpaymentterm = new CanErp2.Models.DbAtVdc2.TblGnPaymentTerm();
 }