protected virtual void PaymentTypeDetail_OrderIndex_FieldDefaulting(PXCache cache, PXFieldDefaultingEventArgs e)
        {
            PaymentTypeDetail a = e.Row as PaymentTypeDetail;

            if (a.DetailID != null)
            {
                e.NewValue = (short)a.DetailID.Value;
            }
        }
        protected virtual void PaymentTypeDetail_DetailID_ExceptionHandling(PXCache cache, PXExceptionHandlingEventArgs e)
        {
            PaymentTypeDetail a = e.Row as PaymentTypeDetail;

            if (a.DetailID != null)
            {
                errorKey = true;
            }
        }