I have a strange situation where if I write a BAQ on erp.JobAsmbl, it will not retrieve the weight field even though the weights are populated in the table. I can see the same behavior in job tracker where the weights are not displayed in the grid even though they exist in the database.
I reported this to Epicor who insist its not a bug because assembly weight is defaulted from the part master, and if its a part on the fly and doesn’t have a weight in the part master, then by definition the assembly weight doesn’t exist.
I disagree - even if that is how the grid in job tracker behaves (which is not what is documented - the field help says its bound to that field not that it is a calculated value), I should still be able to get that value from the database in my BAQ but my BAQ returns nothing.
The only workaround I can think of is to copy the weights from the Job Assembly weight field to a custom UD field, and then write my BAQ to retrieve it from there instead. Seems kind of absurd. Any other suggestions?
select
[JobAsmbl].[Company] as [JobAsmbl_Company],
[JobAsmbl].[JobNum] as [JobAsmbl_JobNum],
[JobAsmbl].[AssemblySeq] as [JobAsmbl_AssemblySeq],
[JobAsmbl].[PartNum] as [JobAsmbl_PartNum],
[JobAsmbl].[Weight] as [JobAsmbl_Weight],
[Part].[PartNum] as [Part_PartNum]
from Erp.JobAsmbl as JobAsmbl
left outer join Erp.Part as Part on
JobAsmbl.Company = Part.Company
and JobAsmbl.PartNum = Part.PartNum
where (JobAsmbl.Weight = 0)
and (Part.PartNum is null)
What is RoHS? RoHS means “Restriction of Certain Hazardous Substances ”
I think protecting the weight field for that reason is… stupid… doesn’t have much to do with Compliance, its a fricking weight field. If anything it should require Shipping
So what’s interesting is that I reported another similar bug a couple of weeks ago, which turned out to be the same thing - without that module, then when you engineer your job, the weight doesn’t transfer from the part master to the job details.
They said that was a bug fixed in 10.2.600 though.
I don’t know why I am getting a different answer on this one when it seems like really its the same bug in another format.
Chances are you are going to need this field for more than just this once instance.
Options for Long Term Use:
Buy Rohse Module
Create UD Field and simply populate it via Data Directive when JobAsmbl Weight field is changed
One-Off (On-Prem):
You can make the BAQ Updatable, doesn’t mean your Dashboard has to be updatable. Just don’t mark anything as updatable. You can even select Advanced BPM in the Update tab… make a BASE BPM that has no code.
Thanks for the ideas. I’m curious if I will still have this problem after we upgrade since they said my other bug is fixed in 10.2. That made it sound like the module is NOT supposed to be required to use the weight field. What version are you on?
This One-Off should work in all cloud versions except the old Multi-Tenant (MT) because Custom Code blocks are available to Single and Dedicated (Public Cloud) tenants.