<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://in.compucrete.com/index.php?action=history&amp;feed=atom&amp;title=Product_Structure%3A_Identify_U%2FM_Mismatches</id>
	<title>Product Structure: Identify U/M Mismatches - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://in.compucrete.com/index.php?action=history&amp;feed=atom&amp;title=Product_Structure%3A_Identify_U%2FM_Mismatches"/>
	<link rel="alternate" type="text/html" href="http://in.compucrete.com/index.php?title=Product_Structure:_Identify_U/M_Mismatches&amp;action=history"/>
	<updated>2026-05-15T18:01:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>http://in.compucrete.com/index.php?title=Product_Structure:_Identify_U/M_Mismatches&amp;diff=512&amp;oldid=prev</id>
		<title>WikiAdmin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://in.compucrete.com/index.php?title=Product_Structure:_Identify_U/M_Mismatches&amp;diff=512&amp;oldid=prev"/>
		<updated>2023-07-14T13:00:34Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:00, 14 July 2023&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key my_wiki:diff::1.12:old-511:rev-512 --&gt;
&lt;/table&gt;</summary>
		<author><name>WikiAdmin</name></author>
	</entry>
	<entry>
		<id>http://in.compucrete.com/index.php?title=Product_Structure:_Identify_U/M_Mismatches&amp;diff=511&amp;oldid=prev</id>
		<title>Intra&gt;Chanson: /* About */</title>
		<link rel="alternate" type="text/html" href="http://in.compucrete.com/index.php?title=Product_Structure:_Identify_U/M_Mismatches&amp;diff=511&amp;oldid=prev"/>
		<updated>2021-04-30T20:06:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;About&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==About==&lt;br /&gt;
&lt;br /&gt;
This query batches component products unit of measure compared with the u/m in the product structure table.&lt;br /&gt;
&lt;br /&gt;
To be compatable these should need either...&lt;br /&gt;
*The same unit of measure type (e.g. volume to volume,  weight to weight)&lt;br /&gt;
*Have an ARTPRODUMS record to relate the products (e.g. Product: Fiber YD,  Mix Fiber LB - Prod UMS   1.2 LB to 1.0 YD)&lt;br /&gt;
*For Volume to Weight have Specific Gravity setup.  (e.g. Product: Water GL,  Mix Water LB - Specific Gravity 1.0)&lt;br /&gt;
&lt;br /&gt;
==Query==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
select 1 ct, x.*,p.product_code,p.unit_of_measure produm,pu.ums_type prdUMtype,cu.ums_type cmpUMtype,p.specific_gravity,u.conv_ratio &lt;br /&gt;
,CASE when (Specific_Gravity=0) then 'N' else 'Y' end &amp;quot;SpcGrvYN&amp;quot;&lt;br /&gt;
,case when (u.product_code is null) then 'N' ELSE 'Y' end &amp;quot;PrdCnvUMYN&amp;quot;&lt;br /&gt;
from artprstr x&lt;br /&gt;
inner join artprod p on p.product_code = x.comp_product_code&lt;br /&gt;
inner join artums pu on pu.unit_of_measure=p.unit_of_measure&lt;br /&gt;
inner join artums cu on cu.unit_of_measure=x.comp_ums&lt;br /&gt;
left outer join artprodums u on u.product_code=p.product_code and&lt;br /&gt;
  ((u.conv_source_ums=x.comp_ums and u.conv_target_ums=p.unit_of_measure) or &lt;br /&gt;
  (u.conv_target_ums=x.comp_ums and u.conv_source_ums=p.unit_of_measure))&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Setup Datascope==&lt;br /&gt;
&lt;br /&gt;
===DATA:  ===&lt;br /&gt;
*CT&lt;br /&gt;
&lt;br /&gt;
===Top Axis===&lt;br /&gt;
*CmpUMtype&lt;br /&gt;
*Comp_ums&lt;br /&gt;
&lt;br /&gt;
===Left Axis===&lt;br /&gt;
*PrdUMtype&lt;br /&gt;
*prdCnvUMYN&lt;br /&gt;
*SpcGrvYN&lt;br /&gt;
*ProdUM&lt;/div&gt;</summary>
		<author><name>Intra&gt;Chanson</name></author>
	</entry>
</feed>