Message Boards
Need help from a creative Browse writer
Charlie Englesberg, modified 3 Years ago.
Need help from a creative Browse writer
Post Date: 9/11/18 (Bronze, 16 Posts) Recent PostsTrying to build a simple browse joining the pt_mstr and ro_det tables. The wrinkle is that I only want rows to appear in results set if demand exists for Part Number in mrp_det table. Joining mrp_det table is not an option because I do not want a separate row for each mrp_det record. I tried using a browse filter the used the Progress CAN-FIND function (ie CAN-FIND(mrp_det where mrp_domain = pt_domain and mrp_part = pt_part and mrp_type = "DEMAND"). This resulted in the following error message. CAN-FIND is invalid within an OPEN QUERY (3541).
Does anyone have any thoughts or suggestions?
Xavier Pechadre, modified 7 Years ago.
Re: Need help from a creative Browse writer
Post Date: 9/11/18 (Silver, 70 Posts) Recent PostsHello,
Even you don't use mrp_det table, add this table to your browse if you want to use a filter on this table. Without link with the others tables.
Best regards
Charlie Englesberg, modified 7 Years ago.
Re: Need help from a creative Browse writer
Post Date: 9/11/18 (Bronze, 16 Posts) Recent PostsXavier Pechadre, modified 7 Years ago.
Re: Need help from a creative Browse writer
Post Date: 9/11/18 (Silver, 70 Posts) Recent PostsOk, to do that as you want, i think you must use pre-processor commands to record your query in temp table (i use qad_wkfl with qad_key1 = name of browse, and in a post-processor commands delete qad_wkfl where qad_key1 = name of browse. Make your browse on qad_wkfl where qad_key1 = name of browse.
I hope it's useful.
Best regards
Evan Bishop, modified 7 Years ago.
Re: Need help from a creative Browse writer
Post Date: 9/11/18 (Gold, 132 Posts) Recent PostsCharlie Englesberg, modified 7 Years ago.
Re: Need help from a creative Browse writer
Post Date: 9/12/18 (Bronze, 16 Posts) Recent PostsJohn Ruch, modified 7 Years ago.
Re: Need help from a creative Browse writer
Post Date: 9/12/18 (Silver, 64 Posts) Recent PostsMark Garnett, modified 7 Years ago.
Re: Need help from a creative Browse writer
Post Date: 10/4/18 (Bronze, 12 Posts) Recent PostsI have needed to the same previously, the only table available that summarises if there is demand for an item is Inventory Master (in_mstr).
Look for Qty Required (in_qty_req > 0), you will actually get one record per site, but if you think about it you would want that (use a run-time filter if only interested in one site).
This field is a nice summary of all known requirments for the item/site, so includes sales orders and work order (component) demand summed together.
Regards, Mark
Message place holder
Forums