Restricting a Report Style to a Site/Plant

Is it possible to restrict a report style to a particular plant/site in a company? I see that it is possible to restrict report styles by companies, but I didn’t see anything about plants/sites.

APR breaking on Plant? I’m totally guessing here.

No, we just have multiple plants under one company and don’t want to confuse our operators because we have different report styles for the same report. For example, the BOL for one plant will look different than the BOL for a different plant.

I didn’t know if it would be possible to say BOL1 restrict this so that employees that are assigned to plant 1 can only see this report style.

Hi, did you ever resolve this. We are also wanting to make certain report styles plant specific… Or it would be nice if the current plant was available in the data…

Thanks

The current plant is available in the “CallContextClientData” data view.

This would be fairly simple to do with a form load event. You would then just need to figure out how to filter the report style dropdown. There may also just be a GetList method being called when the form launches where you could just add a BPM to filter the output. I would start with a trace first and see what is being called. BAQ reports vs system reports may use different Business Objects.

private void BAQReportForm_Load(object sender, EventArgs args)
	{
		// Add Event Handler Code
		EpiDataView clientData = (EpiDataView)(oTrans.EpiDataViews["CallContextClientData"]);
		String curPlant = (String)clientData.dataView[clientData.Row]["CurrentPlant"];
		if(curPlant == "MfgSys")
		{
			//Do something
		}
	}

I apologize I should have mentioned it’s a system report SSRS and we are Cloud based. I see where those fields are available in BAQ.
I’m currently trying to filter the Open PO Report By CurrentPlant.

Thanks so much.