예제 #1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoAccountsPayableAdjustment args)
        {
            try
            {
                var dbAtVdc2CreateTblPoAccountsPayableAdjustmentResult = await DbAtVdc2.CreateTblPoAccountsPayableAdjustment(tblpoaccountspayableadjustment);

                DialogService.Close(tblpoaccountspayableadjustment);
            }
            catch (Exception dbAtVdc2CreateTblPoAccountsPayableAdjustmentException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblPoAccountsPayableAdjustment!");
            }
        }