Hello Randy, here's the BAQ.
[for each PartMtl where ( ( PartMtl.PartNum = Part.PartNum OR PartMtl.MtlPartNum = Part.PartNum)) no-lock , each Part where (PartMtl.Company = Part.Company) no-lock .]
*I filtered the query for an existing "partmtl.partnum" in my company to limit the number of records in my test.
I basically got 2 records for every Material in the BOM; both with the same Parent Part (PartMtl.PartNum), the same Material Part (PartMtl.MtlPartNum), but different Part Number (Part.PartNum) and different Part Description (Part.PartDescription)....
Please contact me if I can further assist you.
Regards.
Roel Martinez
ERP Analyst
SABRE TUBULAR STRUCTURES (tm)
www.sabretubularstructures.com<http://www.sabretubularstructures.com/>
8653 E. Hwy 67 | Alvarado, TX 76009
Phone: 817-852-1700 ext. 11858 | Direct Line: 817-852-1858 |Fax: 817-852-1705
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of randyweb
Sent: Friday, September 10, 2010 11:16 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: crystal or BAQ gurus
I tried this and returned zero records. Can you paste the BAQ please?
[for each PartMtl where ( ( PartMtl.PartNum = Part.PartNum OR PartMtl.MtlPartNum = Part.PartNum)) no-lock , each Part where (PartMtl.Company = Part.Company) no-lock .]
*I filtered the query for an existing "partmtl.partnum" in my company to limit the number of records in my test.
I basically got 2 records for every Material in the BOM; both with the same Parent Part (PartMtl.PartNum), the same Material Part (PartMtl.MtlPartNum), but different Part Number (Part.PartNum) and different Part Description (Part.PartDescription)....
Please contact me if I can further assist you.
Regards.
Roel Martinez
ERP Analyst
SABRE TUBULAR STRUCTURES (tm)
www.sabretubularstructures.com<http://www.sabretubularstructures.com/>
8653 E. Hwy 67 | Alvarado, TX 76009
Phone: 817-852-1700 ext. 11858 | Direct Line: 817-852-1858 |Fax: 817-852-1705
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of randyweb
Sent: Friday, September 10, 2010 11:16 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: crystal or BAQ gurus
I tried this and returned zero records. Can you paste the BAQ please?
--- In vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>, Roel Martinez <rmartinez@...> wrote:
>
> Hello Ken, all.
>
> When you are linking your tables in Phrase Builder, link PartMtl to Part but only through Company; this would bring all the Part table's records if you did not limited in the criteria, right? Well, on the criteria for the Part table, you enter the following 2 items:
>
>
> * PartMtl.PartNum = Part.PartNum
> OR
>
> * PartMtl.MtlPartNum = Part.PartNum
>
> This will only bring 2 records from the Part Table... Hope it helps, because yes...it will create duplicates, but you can address them at Crystal level.
>
> Regards.
>
> Roel Martinez
> ERP Analyst
>
> SABRE TUBULAR STRUCTURES (tm)
> www.sabretubularstructures.com<http://www.sabretubularstructures.com/>
> 8653 E. Hwy 67 | Alvarado, TX 76009
> Phone: 817-852-1700 ext. 11858 | Direct Line: 817-852-1858 |Fax: 817-852-1705
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
[Non-text portions of this message have been removed]