I got it all sorted out. Now we will be waiting for the Comptroller to bless it. Thank you for all your help ![]()
Sorry for the blush. I donât even know how it got there.
I am having a meeting with our comptroller. Hope something will come out of that. Thanks
We are well on the way to implement Heat Number tracking. Thank John for giving me direction. Do you by any chance know where all the attributes like heat numbers and others reside. I looked thru all the BAQs and canât find them there.
All of the lot info is in PartLot.
I see these 4 BAQs. I donât see the data related to Attributes. There is PO related, Lot related, but no Attributes. Wouldnât they be in another BAQ/Table since, and it is just my understanding, number of attributes varies per company.
I am not sure what BAQs you are referencing. If you were to create your own BAQ, the data you want is in the PartLot table.
Yeah, unfortunately I donât create the BAQs. Wish I could. So I only use what is ready made.
Certainly not trying to be rude, but you really need to learn, at least the basics.
Otherwise you are always going to be at the mercy of whatâs available, or what a
consultant or generous forum user will provide.
None of those options are guaranteed ![]()
The field on PartLot is called âHeatNumâ.
Hi John,
Quick question.
Right now, in Epicor the relation between location and material is one to one(at least thatâs how our Epicor works). If there are several pieces of same forging in given location, Epicor sums it up. I would be good to know if 20 inches of forging was 2, 10 inches or 5, 4 inches, as an example.
Do you know if that can be done Epicor?
Yes, you gain that functionality with AUOM.
Hi John,
Just wanted to thank you for giving me a direction with the heat number. I will be able to keep all the tracking in our ERP instead writing .ne application. Makes is simpler for me.
Hi John,
I am not sure if you do development, but you know anything about reading BAQ data from .net application?
No, I do not. I know how to write BAQs, create RDDs, create Report Styles, and create SSRS Reports. But I have not tried what you asked.
Have you even seen anything similar to that code within Epicor. Like scripts or something like that?
DataRow _fil1 = _dsDynamicQueryData.ExecutionFilter.NewRow();
_fil1[âDataTableIDâ] = âUD39â;
_fil1[âFieldNameâ] = âKey1â;
_fil1[âCompOpâ] = â=â;
_fil1[âRValueâ] = â=â;
_fil1[âNegâ] = â???â;
_fil1[âRowModâ] = â???â;
_dqAdapter.ExecuteByID(baqName, _dsDynamicQueryData);
This is .net code to execute BAQ with the filter. Some filter fields are self-explanatory. But last two I canât figure out?
Do you know where to find support for coding like that?

Have you considered using the REST endpoint (BAQSvc)? This eliminates the need for the Epicor .NET code at the client making upgrades much simpler. There are examples here on the forum.
I was going for that at first, but I was not given rights. So I do what I can, all on the client. Thatâs why .net solution with no service access.
You can certainly access the REST endpoints (https) with the same rights as an ordinary user. There is nothing extra to grant. You still write your .NET client but call the BAQSvc service instead of using the client DLLs from Epicor - which you would have to update with any patch or upgrade. Using REST removes that dependency making your .NET client more resilient.
Try it out on your browser:
https://<server>/<instance>/api/v1/BaqSvc/<BaqName>?param='2016-12-01'¶m2='FilterValue'
The Params above map to BAQ parameters.
Try it out. Hereâs an example: Epicor Rest Helper (Nuget) Updated V2 - Expertsâ Corner - Epicor User Help Forum (epiusers.help)
Thanks Mark,
I certainly will try. I must have been doing something wrong since I couldnât get it working. One question. Is it possible for a service not to be running at all. Just turned off?
Yeah, is asking me for credentials when going to that URL. I think it probably is setup like that on IIS.