protected async System.Threading.Tasks.Task Load()
        {
            var dbAtVdc2GetTblGnAddressBooksResult = await DbAtVdc2.GetTblGnAddressBooks();

            getTblGnAddressBooksResult = dbAtVdc2GetTblGnAddressBooksResult;

            tblpocashdisbursement = new CanErp2.Models.DbAtVdc2.TblPoCashDisbursement();
        }
Ejemplo n.º 2
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoCashDisbursement args)
        {
            try
            {
                var dbAtVdc2UpdateTblPoCashDisbursementResult = await DbAtVdc2.UpdateTblPoCashDisbursement($"{PO_CashDisb_No}", tblpocashdisbursement);

                DialogService.Close(tblpocashdisbursement);
            }
            catch (Exception dbAtVdc2UpdateTblPoCashDisbursementException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblPoCashDisbursement");
            }
        }
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblPoCashDisbursement args)
        {
            var result = await DialogService.OpenAsync <EditTblPoCashDisbursement>("Edit Tbl Po Cash Disbursement", new Dictionary <string, object>() { { "PO_CashDisb_No", args.PO_CashDisb_No } });

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