protected virtual void ARInvoice_RowSelected(PXCache sender, PXRowSelectedEventArgs e) { ARInvoice row = (ARInvoice)e.Row; if (row != null && !String.IsNullOrEmpty(row.DocType) && !String.IsNullOrEmpty(row.RefNbr)) { row.IsCCPayment = PaymentMethodHelper.IsCCPayment(row); } }
protected virtual void ARInvoice_RowSelected(PXCache sender, PXRowSelectedEventArgs e) { ARInvoice row = (ARInvoice)e.Row; if (row != null && !String.IsNullOrEmpty(row.DocType) && !String.IsNullOrEmpty(row.RefNbr)) { row.IsCCPayment = false; if (PaymentMethodHelper.IsCCPayment( PXSelectorAttribute.Select <ARInvoice.paymentMethodID>(sender, row))) { row.IsCCPayment = true; } } }