private void GetRecipientData(long APartnerKey, bool AMotivationDetailChangedFlag)
        {
            if (APartnerKey == 0)
            {
                APartnerKey = Convert.ToInt64(txtDetailRecipientKey.Text);
            }

            // If this method has been called as a result of a change in motivation detail then txtDetailRecipientKey has not yet been set...
            // but we do know that the recipient must be a Unit.

            // if Family Recipient
            if (!AMotivationDetailChangedFlag && (txtDetailRecipientKey.CurrentPartnerClass == TPartnerClass.FAMILY))
            {
                txtDetailRecipientLedgerNumber.Text = FPreviouslySelectedDetailRow.RecipientLedgerNumber.ToString();
                ClearKeyMinistries();
                cmbKeyMinistries.Enabled = false;
            }
            // if Unit Recipient
            else
            {
                //At this point, only active KeyMinistries are allowed in a live Recurring Gift
                bool activeOnly = true;
                TFinanceControls.GetRecipientData(ref cmbKeyMinistries, ref txtDetailRecipientLedgerNumber, APartnerKey, activeOnly);

                // enable / disable combo box depending on whether it contains any key ministries
                cmbKeyMinistries.Enabled = ((cmbKeyMinistries.Table != null) && (cmbKeyMinistries.Table.Rows.Count > 0));
            }
        }