protected async void Load() { canEdit = true; try { var otErpGetTblSoCustomerByCustomerSeqResult = await OtErp.GetTblSoCustomerByCustomerSeq(int.Parse(Customer_SEQ)); tblsocustomer = otErpGetTblSoCustomerByCustomerSeqResult; } catch (Exception otErpGetTblSoCustomerByCustomerSeqException) { } var otErpGetTblGnAddressBooksResult = await OtErp.GetTblGnAddressBooks(); getTblGnAddressBooksResult = otErpGetTblGnAddressBooksResult; var otErpGetTblGnPaymentTermsResult = await OtErp.GetTblGnPaymentTerms(); getTblGnPaymentTermsResult = otErpGetTblGnPaymentTermsResult; var otErpGetTblGnPaymentTypesResult = await OtErp.GetTblGnPaymentTypes(); getTblGnPaymentTypesResult = otErpGetTblGnPaymentTypesResult; }
protected async void Load() { canEdit = true; try { var otErpGetTblSoSalesOrderBySoSeqResult = await OtErp.GetTblSoSalesOrderBySoSeq(int.Parse(SO_SEQ)); tblsosalesorder = otErpGetTblSoSalesOrderBySoSeqResult; } catch (Exception otErpGetTblSoSalesOrderBySoSeqException) { } var otErpGetTblGnAddressBooksResult = await OtErp.GetTblGnAddressBooks(); getTblGnAddressBooksResult = otErpGetTblGnAddressBooksResult; var otErpGetTblSoOrderStatusesResult = await OtErp.GetTblSoOrderStatuses(); getTblSoOrderStatusesResult = otErpGetTblSoOrderStatusesResult; var otErpGetTblSoCustomersResult = await OtErp.GetTblSoCustomers(); getTblSoCustomersResult = otErpGetTblSoCustomersResult; var otErpGetTblGnShipViaResult = await OtErp.GetTblGnShipVia(); getTblGnShipViaResult = otErpGetTblGnShipViaResult; }
protected async void Load() { canEdit = true; try { var otErpGetTblGnAddressBookByAddressBookSeqResult = await OtErp.GetTblGnAddressBookByAddressBookSeq(int.Parse(AddressBook_SEQ)); tblgnaddressbook = otErpGetTblGnAddressBookByAddressBookSeqResult; } catch (Exception otErpGetTblGnAddressBookByAddressBookSeqException) { } var otErpGetTblGnAddressBookTypesResult = await OtErp.GetTblGnAddressBookTypes(); getTblGnAddressBookTypesResult = otErpGetTblGnAddressBookTypesResult; var otErpGetTblGnGendersResult = await OtErp.GetTblGnGenders(); getTblGnGendersResult = otErpGetTblGnGendersResult; var otErpGetTblGnCitiesResult = await OtErp.GetTblGnCities(); getTblGnCitiesResult = otErpGetTblGnCitiesResult; }
protected async void Load() { var otErpGetTblSoOrderDetailStatusesResult = await OtErp.GetTblSoOrderDetailStatuses(); getTblSoOrderDetailStatusesResult = otErpGetTblSoOrderDetailStatusesResult; var otErpGetTblSoSalesOrdersResult = await OtErp.GetTblSoSalesOrders(); getTblSoSalesOrdersResult = otErpGetTblSoSalesOrdersResult; tblsoorderdetail = new TblSoOrderDetail(); }
protected async void Form0Submit(TblGnPaymentTerm args) { try { var otErpUpdateTblGnPaymentTermResult = await OtErp.UpdateTblGnPaymentTerm(int.Parse(PaymentTerm_SEQ), tblgnpaymentterm); DialogService.Close(tblgnpaymentterm); } catch (Exception otErpUpdateTblGnPaymentTermException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblGnPaymentTerm"); } }
protected async void Form0Submit(TblGnPaymentType args) { try { var otErpCreateTblGnPaymentTypeResult = await OtErp.CreateTblGnPaymentType(tblgnpaymenttype); DialogService.Close(tblgnpaymenttype); } catch (Exception otErpCreateTblGnPaymentTypeException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnPaymentType!"); } }
protected async void Form0Submit(TblGnCity args) { try { var otErpCreateTblGnCityResult = await OtErp.CreateTblGnCity(tblgncity); DialogService.Close(tblgncity); } catch (Exception otErpCreateTblGnCityException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnCity!"); } }
protected async void Form0Submit(TblGnShipVium args) { try { var otErpCreateTblGnShipViumResult = await OtErp.CreateTblGnShipVium(tblgnshipvium); DialogService.Close(tblgnshipvium); } catch (Exception otErpCreateTblGnShipViumException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnShipVium!"); } }
protected async void Form0Submit(TblGnAddressBook args) { try { var otErpCreateTblGnAddressBookResult = await OtErp.CreateTblGnAddressBook(tblgnaddressbook); DialogService.Close(tblgnaddressbook); } catch (Exception otErpCreateTblGnAddressBookException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblGnAddressBook!"); } }
protected async void Form0Submit(TblGnShipVium args) { try { var otErpUpdateTblGnShipViumResult = await OtErp.UpdateTblGnShipVium(int.Parse(ShipVia_SEQ), tblgnshipvium); DialogService.Close(tblgnshipvium); } catch (Exception otErpUpdateTblGnShipViumException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblGnShipVium"); } }
protected async void Form0Submit(TblSoOrderDetail args) { try { var otErpUpdateTblSoOrderDetailResult = await OtErp.UpdateTblSoOrderDetail(int.Parse(SODetail_SEQ), tblsoorderdetail); DialogService.Close(tblsoorderdetail); } catch (Exception otErpUpdateTblSoOrderDetailException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblSoOrderDetail"); } }
protected async void Form0Submit(TblSoOrderStatus args) { try { var otErpUpdateTblSoOrderStatusResult = await OtErp.UpdateTblSoOrderStatus(int.Parse(SOStatus_SEQ), tblsoorderstatus); DialogService.Close(tblsoorderstatus); } catch (Exception otErpUpdateTblSoOrderStatusException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblSoOrderStatus"); } }
protected async void Form0Submit(TblSoOrderDetailStatus args) { try { var otErpCreateTblSoOrderDetailStatusResult = await OtErp.CreateTblSoOrderDetailStatus(tblsoorderdetailstatus); DialogService.Close(tblsoorderdetailstatus); } catch (Exception otErpCreateTblSoOrderDetailStatusException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblSoOrderDetailStatus!"); } }
protected async void Form0Submit(TblGnAddressBookType args) { try { var otErpUpdateTblGnAddressBookTypeResult = await OtErp.UpdateTblGnAddressBookType(int.Parse(AddressBookType_SEQ), tblgnaddressbooktype); DialogService.Close(tblgnaddressbooktype); } catch (Exception otErpUpdateTblGnAddressBookTypeException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblGnAddressBookType"); } }
protected async void Form0Submit(TblSoSalesOrder args) { try { var otErpCreateTblSoSalesOrderResult = await OtErp.CreateTblSoSalesOrder(tblsosalesorder); DialogService.Close(tblsosalesorder); } catch (Exception otErpCreateTblSoSalesOrderException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblSoSalesOrder!"); } }
protected async void Form0Submit(TblGnCity args) { try { var otErpUpdateTblGnCityResult = await OtErp.UpdateTblGnCity(int.Parse(City_SEQ), tblgncity); DialogService.Close(tblgncity); } catch (Exception otErpUpdateTblGnCityException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblGnCity"); } }
protected async void Form0Submit(TblSoSalesOrder args) { try { var otErpUpdateTblSoSalesOrderResult = await OtErp.UpdateTblSoSalesOrder(int.Parse(SO_SEQ), tblsosalesorder); DialogService.Close(tblsosalesorder); } catch (Exception otErpUpdateTblSoSalesOrderException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblSoSalesOrder"); } }
protected async void Load() { canEdit = true; try { var otErpGetTblGnGenderByGenderSeqResult = await OtErp.GetTblGnGenderByGenderSeq(int.Parse(Gender_SEQ)); tblgngender = otErpGetTblGnGenderByGenderSeqResult; } catch (Exception otErpGetTblGnGenderByGenderSeqException) { } }
protected async void Load() { canEdit = true; try { var otErpGetTblSoOrderDetailStatusBySoDetailStatusSeqResult = await OtErp.GetTblSoOrderDetailStatusBySoDetailStatusSeq(int.Parse(SODetailStatus_SEQ)); tblsoorderdetailstatus = otErpGetTblSoOrderDetailStatusBySoDetailStatusSeqResult; } catch (Exception otErpGetTblSoOrderDetailStatusBySoDetailStatusSeqException) { } }
protected async void Load() { canEdit = true; try { var otErpGetTblGnAddressBookTypeByAddressBookTypeSeqResult = await OtErp.GetTblGnAddressBookTypeByAddressBookTypeSeq(int.Parse(AddressBookType_SEQ)); tblgnaddressbooktype = otErpGetTblGnAddressBookTypeByAddressBookTypeSeqResult; } catch (Exception otErpGetTblGnAddressBookTypeByAddressBookTypeSeqException) { } }
protected async void Load() { canEdit = true; try { var otErpGetTblGnCityByCitySeqResult = await OtErp.GetTblGnCityByCitySeq(int.Parse(City_SEQ)); tblgncity = otErpGetTblGnCityByCitySeqResult; } catch (Exception otErpGetTblGnCityByCitySeqException) { } }
protected async void Load() { canEdit = true; try { var otErpGetTblGnShipViumByShipViaSeqResult = await OtErp.GetTblGnShipViumByShipViaSeq(int.Parse(ShipVia_SEQ)); tblgnshipvium = otErpGetTblGnShipViumByShipViaSeqResult; } catch (Exception otErpGetTblGnShipViumByShipViaSeqException) { } }
protected async void Load() { canEdit = true; try { var otErpGetTblGnPaymentTypeByPaymentTypeSeqResult = await OtErp.GetTblGnPaymentTypeByPaymentTypeSeq(int.Parse(PaymentType_SEQ)); tblgnpaymenttype = otErpGetTblGnPaymentTypeByPaymentTypeSeqResult; } catch (Exception otErpGetTblGnPaymentTypeByPaymentTypeSeqException) { } }
protected async void GridDeleteButtonClick(MouseEventArgs args, TblGnAddressBook data) { try { var otErpDeleteTblGnAddressBookResult = await OtErp.DeleteTblGnAddressBook(data.AddressBook_SEQ); if (otErpDeleteTblGnAddressBookResult != null) { grid0.Reload(); } } catch (Exception otErpDeleteTblGnAddressBookException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to delete TblGnAddressBook"); } }
protected async void Load() { var otErpGetTblGnAddressBookTypesResult = await OtErp.GetTblGnAddressBookTypes(); getTblGnAddressBookTypesResult = otErpGetTblGnAddressBookTypesResult; var otErpGetTblGnGendersResult = await OtErp.GetTblGnGenders(); getTblGnGendersResult = otErpGetTblGnGendersResult; var otErpGetTblGnCitiesResult = await OtErp.GetTblGnCities(); getTblGnCitiesResult = otErpGetTblGnCitiesResult; tblgnaddressbook = new TblGnAddressBook(); }
protected async void GridDeleteButtonClick(MouseEventArgs args, TblSoOrderDetailStatus data) { try { var otErpDeleteTblSoOrderDetailStatusResult = await OtErp.DeleteTblSoOrderDetailStatus(data.SODetailStatus_SEQ); if (otErpDeleteTblSoOrderDetailStatusResult != null) { grid0.Reload(); } } catch (Exception otErpDeleteTblSoOrderDetailStatusException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to delete TblSoOrderDetailStatus"); } }
protected async void GridDeleteButtonClick(MouseEventArgs args, TblSoCustomer data) { try { var otErpDeleteTblSoCustomerResult = await OtErp.DeleteTblSoCustomer(data.Customer_SEQ); if (otErpDeleteTblSoCustomerResult != null) { grid0.Reload(); } } catch (Exception otErpDeleteTblSoCustomerException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to delete TblSoCustomer"); } }
protected async void Load() { var otErpGetTblGnAddressBooksResult = await OtErp.GetTblGnAddressBooks(); getTblGnAddressBooksResult = otErpGetTblGnAddressBooksResult; var otErpGetTblGnPaymentTermsResult = await OtErp.GetTblGnPaymentTerms(); getTblGnPaymentTermsResult = otErpGetTblGnPaymentTermsResult; var otErpGetTblGnPaymentTypesResult = await OtErp.GetTblGnPaymentTypes(); getTblGnPaymentTypesResult = otErpGetTblGnPaymentTypesResult; tblsocustomer = new TblSoCustomer(); }
protected async void Load() { var otErpGetViwGnAddBookCustsResult = await OtErp.GetViwGnAddBookCusts(); CustomersResult = otErpGetViwGnAddBookCustsResult; var otErpGetTblGnPaymentTermsResult = await OtErp.GetTblGnPaymentTerms(); PaymentTermsResult = otErpGetTblGnPaymentTermsResult; var otErpGetTblGnPaymentTypesResult = await OtErp.GetTblGnPaymentTypes(); PaymentTypesResult = otErpGetTblGnPaymentTypesResult; var otErpGetViwGnAddBookEmpsResult = await OtErp.GetViwGnAddBookEmps(); EmployeesResult = otErpGetViwGnAddBookEmpsResult; tblsocustomer = new TblSoCustomer(); }
protected async void Load() { var otErpGetTblGnAddressBooksResult = await OtErp.GetTblGnAddressBooks(); getTblGnAddressBooksResult = otErpGetTblGnAddressBooksResult; var otErpGetTblSoOrderStatusesResult = await OtErp.GetTblSoOrderStatuses(); getTblSoOrderStatusesResult = otErpGetTblSoOrderStatusesResult; var otErpGetTblSoCustomersResult = await OtErp.GetTblSoCustomers(); getTblSoCustomersResult = otErpGetTblSoCustomersResult; var otErpGetTblGnShipViaResult = await OtErp.GetTblGnShipVia(); getTblGnShipViaResult = otErpGetTblGnShipViaResult; tblsosalesorder = new TblSoSalesOrder(); }