Example #1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoPurchaseOrderDetail args)
        {
            try
            {
                var dbAtVdc2CreateTblPoPurchaseOrderDetailResult = await DbAtVdc2.CreateTblPoPurchaseOrderDetail(tblpopurchaseorderdetail);

                DialogService.Close(tblpopurchaseorderdetail);
            }
            catch (Exception dbAtVdc2CreateTblPoPurchaseOrderDetailException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblPoPurchaseOrderDetail!");
            }
        }