protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoRecReport args)
        {
            try
            {
                var dbAtVdc2UpdateTblPoRecReportResult = await DbAtVdc2.UpdateTblPoRecReport($"{RR_No}", tblporecreport);

                DialogService.Close(tblporecreport);
            }
            catch (Exception dbAtVdc2UpdateTblPoRecReportException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblPoRecReport");
            }
        }
Example #2
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblGnDepartment args)
        {
            try
            {
                var dbAtVdc2UpdateTblGnDepartmentResult = await DbAtVdc2.UpdateTblGnDepartment($"{Department_ID}", tblgndepartment);

                DialogService.Close(tblgndepartment);
            }
            catch (Exception dbAtVdc2UpdateTblGnDepartmentException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblGnDepartment");
            }
        }
Example #3
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblSoOrderDetailStatus args)
        {
            try
            {
                var dbAtVdc2UpdateTblSoOrderDetailStatusResult = await DbAtVdc2.UpdateTblSoOrderDetailStatus(int.Parse($"{SODetailStatus_SEQ}"), tblsoorderdetailstatus);

                DialogService.Close(tblsoorderdetailstatus);
            }
            catch (Exception dbAtVdc2UpdateTblSoOrderDetailStatusException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblSoOrderDetailStatus");
            }
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblHpTinhTp args)
        {
            try
            {
                var dbAtVdc2UpdateTblHpTinhTpResult = await DbAtVdc2.UpdateTblHpTinhTp($"{TinhTP_ID}", tblhptinhtp);

                DialogService.Close(tblhptinhtp);
            }
            catch (Exception dbAtVdc2UpdateTblHpTinhTpException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblHpTinhTp");
            }
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblSoOrderDetail args)
        {
            try
            {
                var dbAtVdc2CreateTblSoOrderDetailResult = await DbAtVdc2.CreateTblSoOrderDetail(tblsoorderdetail);

                DialogService.Close(tblsoorderdetail);
            }
            catch (Exception dbAtVdc2CreateTblSoOrderDetailException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblSoOrderDetail!");
            }
        }
Example #6
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblIcCategory args)
        {
            try
            {
                var dbAtVdc2CreateTblIcCategoryResult = await DbAtVdc2.CreateTblIcCategory(tbliccategory);

                DialogService.Close(tbliccategory);
            }
            catch (Exception dbAtVdc2CreateTblIcCategoryException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblIcCategory!");
            }
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoCashDisbursement args)
        {
            try
            {
                var dbAtVdc2CreateTblPoCashDisbursementResult = await DbAtVdc2.CreateTblPoCashDisbursement(tblpocashdisbursement);

                DialogService.Close(tblpocashdisbursement);
            }
            catch (Exception dbAtVdc2CreateTblPoCashDisbursementException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblPoCashDisbursement!");
            }
        }
Example #8
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblSoCustomer args)
        {
            try
            {
                var dbAtVdc2UpdateTblSoCustomerResult = await DbAtVdc2.UpdateTblSoCustomer(int.Parse($"{Customer_SEQ}"), tblsocustomer);

                DialogService.Close(tblsocustomer);
            }
            catch (Exception dbAtVdc2UpdateTblSoCustomerException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblSoCustomer");
            }
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblHpPhanLoaiNv args)
        {
            try
            {
                var dbAtVdc2CreateTblHpPhanLoaiNvResult = await DbAtVdc2.CreateTblHpPhanLoaiNv(tblhpphanloainv);

                DialogService.Close(tblhpphanloainv);
            }
            catch (Exception dbAtVdc2CreateTblHpPhanLoaiNvException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpPhanLoaiNv!");
            }
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblHpTrinhDoChuyenMon args)
        {
            try
            {
                var dbAtVdc2CreateTblHpTrinhDoChuyenMonResult = await DbAtVdc2.CreateTblHpTrinhDoChuyenMon(tblhptrinhdochuyenmon);

                DialogService.Close(tblhptrinhdochuyenmon);
            }
            catch (Exception dbAtVdc2CreateTblHpTrinhDoChuyenMonException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpTrinhDoChuyenMon!");
            }
        }
Example #11
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblHpChiTietNgoaiNgu args)
        {
            try
            {
                var dbAtVdc2CreateTblHpChiTietNgoaiNguResult = await DbAtVdc2.CreateTblHpChiTietNgoaiNgu(tblhpchitietngoaingu);

                DialogService.Close(tblhpchitietngoaingu);
            }
            catch (Exception dbAtVdc2CreateTblHpChiTietNgoaiNguException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpChiTietNgoaiNgu!");
            }
        }
Example #12
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoApInvoicesDetail args)
        {
            try
            {
                var dbAtVdc2UpdateTblPoApInvoicesDetailResult = await DbAtVdc2.UpdateTblPoApInvoicesDetail($"{Vendor_ID}", $"{Invoice_No}", tblpoapinvoicesdetail);

                DialogService.Close(tblpoapinvoicesdetail);
            }
            catch (Exception dbAtVdc2UpdateTblPoApInvoicesDetailException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblPoApInvoicesDetail");
            }
        }
Example #13
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoOrderStatus args)
        {
            try
            {
                var dbAtVdc2UpdateTblPoOrderStatusResult = await DbAtVdc2.UpdateTblPoOrderStatus($"{POStatus_ID}", tblpoorderstatus);

                DialogService.Close(tblpoorderstatus);
            }
            catch (Exception dbAtVdc2UpdateTblPoOrderStatusException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblPoOrderStatus");
            }
        }
Example #14
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblIcTransactionType args)
        {
            try
            {
                var dbAtVdc2UpdateTblIcTransactionTypeResult = await DbAtVdc2.UpdateTblIcTransactionType($"{Transaction_ID}", tblictransactiontype);

                DialogService.Close(tblictransactiontype);
            }
            catch (Exception dbAtVdc2UpdateTblIcTransactionTypeException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblIcTransactionType");
            }
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoVendor args)
        {
            try
            {
                var dbAtVdc2UpdateTblPoVendorResult = await DbAtVdc2.UpdateTblPoVendor($"{Vendor_ID}", tblpovendor);

                DialogService.Close(tblpovendor);
            }
            catch (Exception dbAtVdc2UpdateTblPoVendorException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblPoVendor");
            }
        }
Example #16
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblGnShipVium args)
        {
            try
            {
                var dbAtVdc2UpdateTblGnShipViumResult = await DbAtVdc2.UpdateTblGnShipVium(int.Parse($"{ShipVia_SEQ}"), tblgnshipvium);

                DialogService.Close(tblgnshipvium);
            }
            catch (Exception dbAtVdc2UpdateTblGnShipViumException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblGnShipVium");
            }
        }
Example #17
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblHpChiTietGiaCanh args)
        {
            try
            {
                var dbAtVdc2CreateTblHpChiTietGiaCanhResult = await DbAtVdc2.CreateTblHpChiTietGiaCanh(tblhpchitietgiacanh);

                DialogService.Close(tblhpchitietgiacanh);
            }
            catch (Exception dbAtVdc2CreateTblHpChiTietGiaCanhException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpChiTietGiaCanh!");
            }
        }
Example #18
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblIcClassification args)
        {
            try
            {
                var dbAtVdc2UpdateTblIcClassificationResult = await DbAtVdc2.UpdateTblIcClassification($"{Classifi_ID}", tblicclassification);

                DialogService.Close(tblicclassification);
            }
            catch (Exception dbAtVdc2UpdateTblIcClassificationException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblIcClassification");
            }
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblHpQuocTich args)
        {
            try
            {
                var dbAtVdc2UpdateTblHpQuocTichResult = await DbAtVdc2.UpdateTblHpQuocTich($"{QuocTich_ID}", tblhpquoctich);

                DialogService.Close(tblhpquoctich);
            }
            catch (Exception dbAtVdc2UpdateTblHpQuocTichException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblHpQuocTich");
            }
        }
Example #20
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblHpTrinhDoVanHoa args)
        {
            try
            {
                var dbAtVdc2UpdateTblHpTrinhDoVanHoaResult = await DbAtVdc2.UpdateTblHpTrinhDoVanHoa($"{TrinhDoVanHoa_ID}", tblhptrinhdovanhoa);

                DialogService.Close(tblhptrinhdovanhoa);
            }
            catch (Exception dbAtVdc2UpdateTblHpTrinhDoVanHoaException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblHpTrinhDoVanHoa");
            }
        }
Example #21
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblGnPaymentType args)
        {
            try
            {
                var dbAtVdc2CreateTblGnPaymentTypeResult = await DbAtVdc2.CreateTblGnPaymentType(tblgnpaymenttype);

                DialogService.Close(tblgnpaymenttype);
            }
            catch (Exception dbAtVdc2CreateTblGnPaymentTypeException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnPaymentType!");
            }
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblHpLoaiChamCong args)
        {
            try
            {
                var dbAtVdc2CreateTblHpLoaiChamCongResult = await DbAtVdc2.CreateTblHpLoaiChamCong(tblhploaichamcong);

                DialogService.Close(tblhploaichamcong);
            }
            catch (Exception dbAtVdc2CreateTblHpLoaiChamCongException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpLoaiChamCong!");
            }
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblGnIncoterm args)
        {
            try
            {
                var dbAtVdc2UpdateTblGnIncotermResult = await DbAtVdc2.UpdateTblGnIncoterm($"{Incoterm_ID}", tblgnincoterm);

                DialogService.Close(tblgnincoterm);
            }
            catch (Exception dbAtVdc2UpdateTblGnIncotermException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblGnIncoterm");
            }
        }
Example #24
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblHpDanToc args)
        {
            try
            {
                var dbAtVdc2UpdateTblHpDanTocResult = await DbAtVdc2.UpdateTblHpDanToc($"{DanToc_ID}", tblhpdantoc);

                DialogService.Close(tblhpdantoc);
            }
            catch (Exception dbAtVdc2UpdateTblHpDanTocException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblHpDanToc");
            }
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien args)
        {
            try
            {
                var dbAtVdc2CreateTblHpNhanVienResult = await DbAtVdc2.CreateTblHpNhanVien(tblhpnhanvien);

                DialogService.Close(tblhpnhanvien);
            }
            catch (Exception dbAtVdc2CreateTblHpNhanVienException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpNhanVien!");
            }
        }
Example #26
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoRrOrderDetail args)
        {
            try
            {
                var dbAtVdc2UpdateTblPoRrOrderDetailResult = await DbAtVdc2.UpdateTblPoRrOrderDetail($"{RR_FK}", int.Parse($"{Inventory_FK}"), tblporrorderdetail);

                DialogService.Close(tblporrorderdetail);
            }
            catch (Exception dbAtVdc2UpdateTblPoRrOrderDetailException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblPoRrOrderDetail");
            }
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblHpDonViTo args)
        {
            try
            {
                var dbAtVdc2UpdateTblHpDonViToResult = await DbAtVdc2.UpdateTblHpDonViTo($"{DonViTo_ID}", tblhpdonvito);

                DialogService.Close(tblhpdonvito);
            }
            catch (Exception dbAtVdc2UpdateTblHpDonViToException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblHpDonViTo");
            }
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblGnAddressBook args)
        {
            try
            {
                var dbAtVdc2UpdateTblGnAddressBookResult = await DbAtVdc2.UpdateTblGnAddressBook(int.Parse($"{AddressBook_SEQ}"), tblgnaddressbook);

                DialogService.Close(tblgnaddressbook);
            }
            catch (Exception dbAtVdc2UpdateTblGnAddressBookException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblGnAddressBook");
            }
        }
Example #29
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblHpChiTietGiaCanh args)
        {
            try
            {
                var dbAtVdc2UpdateTblHpChiTietGiaCanhResult = await DbAtVdc2.UpdateTblHpChiTietGiaCanh(int.Parse($"{ChiTietGiaCanh_SEQ}"), tblhpchitietgiacanh);

                DialogService.Close(tblhpchitietgiacanh);
            }
            catch (Exception dbAtVdc2UpdateTblHpChiTietGiaCanhException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblHpChiTietGiaCanh");
            }
        }
Example #30
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHrPr.Models.DbAtVdc2.TblHpChiTietNgoaiNgu args)
        {
            try
            {
                var dbAtVdc2UpdateTblHpChiTietNgoaiNguResult = await DbAtVdc2.UpdateTblHpChiTietNgoaiNgu(int.Parse($"{ChiTietNgoaiNgu_SEQ}"), tblhpchitietngoaingu);

                DialogService.Close(tblhpchitietngoaingu);
            }
            catch (Exception dbAtVdc2UpdateTblHpChiTietNgoaiNguException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblHpChiTietNgoaiNgu");
            }
        }