protected void Page_Load(object sender, EventArgs e)
        {
            SetName = "RelationAdvancePayment";

            if (!IsPostBack)
            {
                //Common.AddPriceAgreementTypeList(DropDownList_AgreementType_SelectedValue.Items, true);
                Common.AddAdvancePaymentTypeList(DropDownList_PaymentType_SelectedValue.Items, true);
            }
            URLPopUpControlLink.URLToPopup     = "WebFormPopup.aspx?UC=ShowLinks&UCE=InvoiceBase&BO=InvoiceSet as it inner join InvoiceLineSet as il on il.Invoice.Id = it.Id inner join RelationAdvancePaymentSet as ra on il.RelationAdvancePayment.Id = ra.Id&SF=it.Id,it.Description,it.InvoiceNumber,it.BookingDateTime&DF=x,Omschrijving,Factuurnummer,Boekdatum en -tijd&SEL=ra.Id&ORD=it.BookingDateTime desc&LNK=Id&ID=" + KeyID.ToString();
            URLPopUpControlContract.URLToPopup = "WebFormPopup.aspx?UC=ShowReport&d=DataSetRelationAdvancePayment&r=ReportAdvancePayment&Id=" + KeyID.ToString();
        }