private void UsrCntSelector_SequenceNumberChange(object sender, ContractSelectorEventArgs e)
 {
     try {
         if (e.Error() == null) {
             ShowFieldDescription(UsrCntSelector.ContractID, UsrCntSelector.SequenceNumber);
             ShowFieldDetail(UsrCntSelector.CntLLDID);
             //CheckFields();
         } else {
             ShowError(e.Error(), "Unable to change sequence numbers at this time.");
         }
     }
     catch (Exception ex) {
         ShowError(ex, "Unable to change sequence numbers at this time.");
     }
 }
        private void UsrCntSelector_ShareholderFind(object sender, ContractSelectorEventArgs e)
        {
            try {

                if (e.Error() == null) {
                    PopEmail(UsrCntSelector.EmailAddress);
                    ShowFieldDescription(UsrCntSelector.ContractID, UsrCntSelector.SequenceNumber);
                    ShowFieldDetail(UsrCntSelector.CntLLDID);

                    //CheckFields();
                } else {
                    ShowError(e.Error(), "Unable to find shareholder at this time.");
                }
            }
            catch (Exception ex) {
                ShowError(ex, "Unable to find shareholder at this time.");
            }
        }
Exemple #3
0
        private void UsrCntSelector_ShareholderFind(object sender, ContractSelectorEventArgs e)
        {
            try {

                if (e.Error() == null) {
                    NewContractAlertOff();
                    ShowContractFieldDetail();
                } else {
                    ShowError(e.Error(), "Unable to find shareholder at this time.");
                }
            }
            catch (Exception ex) {
                ShowError(ex, "Unable to find shareholder at this time.");
            }
        }
        private void UsrCntSelector_ControlHostPageLoad(object sender, ContractSelectorEventArgs e)
        {
            if (e.Error() == null) {

                FillDomainData();
                PopEmail(UsrCntSelector.EmailAddress);
                ShowFieldDescription(UsrCntSelector.ContractID, UsrCntSelector.SequenceNumber);
                ShowFieldDetail(UsrCntSelector.CntLLDID);

            } else {
                ShowError(e.Error(), "Unable to load page contract numbers at this time.");
            }
        }
Exemple #5
0
 private void UsrCntSelector_SequenceNumberChange(object sender, ContractSelectorEventArgs e)
 {
     try {
         if (e.Error() == null) {
             NewContractAlertOff();
             ShowContractFieldDetail();
         } else {
             ShowError(e.Error(), "Unable to change sequence numbers at this time.");
         }
     }
     catch (Exception ex) {
         ShowError(ex, "Unable to change sequence numbers at this time.");
     }
 }
Exemple #6
0
        private void UsrCntSelector_ControlHostPageLoad(object sender, ContractSelectorEventArgs e)
        {
            FillDomainData();
            //txtCropYear.Text = UsrCntSelector.CropYear.ToString();

            if (UsrCntSelector.ContractID > 0) {

                // This is a transfer from BeetAccounting via BeetActConnect.aspx, or
                // returning to this page from another page.
                WSCSecurity auth = Globals.SecurityState;
                if (!UsrCntSelector.IsOwner) {
                    Common.AppHelper.ShowWarning((HtmlGenericControl)Master.FindControl("divWarning"), "Sorry, you are not authorized to view this information.");
                    return;
                }

                ShowContractFieldDetail();

            }
        }
        private void UsrCntSelector_ShareholderFind(object sender, ContractSelectorEventArgs e)
        {
            try {

                if (e.Error() == null) {
                    FillFieldHdr(UsrCntSelector.ContractID, UsrCntSelector.SequenceNumber);
                    FillAgronomyData();
                    ShowFieldAgronomy(UsrCntSelector.CntLLDID);
                } else {
                    ShowError(e.Error(), "Unable to find shareholder at this time.");
                }
            }
            catch (Exception ex) {
                ShowError(ex, "Unable to find shareholder at this time.");
            }
        }
 private void UsrCntSelector_ControlHostPageLoad(object sender, ContractSelectorEventArgs e)
 {
     if (e.Error() == null) {
         FillFieldHdr(UsrCntSelector.ContractID, UsrCntSelector.SequenceNumber);
         FillAgronomyData();
         ShowFieldAgronomy(UsrCntSelector.CntLLDID);
     } else {
         ShowError(e.Error(), "Unable to load page contract numbers at this time.");
     }
 }
        private void UsrCntSelector_ContractNumberFind(object sender, ContractSelectorEventArgs e)
        {
            try {

                if (e.Error() == null) {
                    FillFieldHdr(UsrCntSelector.ContractID, UsrCntSelector.SequenceNumber);
                    FillAgronomyData();
                    ShowFieldAgronomy(UsrCntSelector.CntLLDID);
                } else {

                    // Clear field details.
                    lblFieldName.Text = "";
                    lblFsaNumber.Text = "";
                    lblAcres.Text = "";
                    lblDesc.Text = "";

                    ClearFieldAgronomy();
                    ShowError(e.Error(), "Unable to find contract number at this time.");
                }
            }
            catch (Exception ex) {
                ShowError(ex, "Unable to find contract number at this time.");
            }
        }