Customization ID on the form title

Good seeing people at Insights.
Here’s a bit of code I put into every customization I do. It takes the current customization id and appends it to the form title. My customizations normally have an if of 1.01 or something like that. Then if I get a screenshot of an issue I can quickly see what customization is applied.

	private void POEntryForm_Load(object sender, EventArgs args)
	{
		EpiDataView edvCallContextClientData = ((EpiDataView)(this.oTrans.EpiDataViews["CallContextClientData"]));
		System.Data.DataRow edvCallContextClientDataRow = edvCallContextClientData.CurrentDataRow;
		if ((edvCallContextClientDataRow != null))
		{
			POEntryForm.Text = POEntryForm.Text + " - " + edvCallContextClientDataRow["CustomizationId"].ToString();
		}


	}

This example is on the PO entry form for any other form use the wizard to get the form load event and change this line

InsertFormName.Text =InsertFormName.Text + " - " + edvCallContextClientDataRow[“CustomizationId”].ToString();

Carson

7 Likes