コード例 #1
0
        protected async void GridDeleteButtonClick(MouseEventArgs args, TblGnPaymentTerm data)
        {
            try
            {
                var otErpDeleteTblGnPaymentTermResult = await OtErp.DeleteTblGnPaymentTerm(data.PaymentTerm_SEQ);

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