コード例 #1
0
        protected async void GridDeleteButtonClick(MouseEventArgs args, TblGnPaymentType data)
        {
            try
            {
                var otErpDeleteTblGnPaymentTypeResult = await OtErp.DeleteTblGnPaymentType(data.PaymentType_SEQ);

                if (otErpDeleteTblGnPaymentTypeResult != null)
                {
                    grid0.Reload();
                }
            }
            catch (Exception otErpDeleteTblGnPaymentTypeException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to delete TblGnPaymentType");
            }
        }