I need assistance in creating a BAQ that will pull the job information shown on the purchase order screen. I see the job and the table used when I select the Purchase Header and Job Header there doesn’t seem to have any relation so the query just bombs. (See below) information trying to capture with Purchase order information.
The links your are looking for are POHeader -> PORel -> JobMtl or JobOper -> Job Head.
Subcontract operation POs link to a JobOper OprSeq and Job Material POs link to JobMtl AssemblySeq and MtlSeq.
Can you post the BAQ as you currently have it? Show the designer sheet that shows the tables graphically linked. And then click the links to show the relationships.
You can see my BAQ (shown below) is duplicating every field except the OpDesc which is weird since the operation and OpDesc are pulling from the same table. In addition, I would expect the description would be the same.
My guess is your duplication is probably due to the JobOpDtl join. If you do not need that table then join PORel.JobNum, AssemblySeq, JobSeq to JobOper.JobNum, AssemblySeq, OprSeq
Below is my output, it is still replicating the same entry 3 more times and the second line is now not appearing since I say only show the first record.
.