on 02-05-2015 1:10 PM
Hi all,
In my Production Order I have 5 process in the WOR1 and I need in differ formula on each row process as below:
Row 1 Process = A and formula UDF_A - UDF_B*UDF_C
Row 2 Process = B and formula UDF_A - UDF_B*UDF_D
so, when the row = A, the formula result as A and
the row = B, the formula result as B
May I know how the query work? thank!
Hi,
How do you define Process A or B?
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I define it at Item Description text as
row number 1 if the item description text as "M1" the formula as (ex. field A - field B* field C)
row number 2 if the item description text as "M2" the formula as (ex. field A - field B/ field C)
row number 3 if the item description text as "M3" no formula.
Thanks.
Hi Gordon Du,
my query formula as below:
Select round($[WOR1.U_PassWt.Number]/ $[WOR1.U_UwC10pcs.Number]*10000,0)
This query is I cal my qty base on my weight, I have many process on my production order row and every row base on the Item Description field to done the differ formula.
Item Description 'M1' formula as: Select round($[WOR1.U_PassWt.Number]/ $[WOR1.U_UwC10pcs.Number]*10000,0)
Item Description 'M2' formula as: Select round($[WOR1.U_PassWt.Number]/ $[WOR1.U_UwC10pcs.Number]*UDF_111,0)
and 'M3' no formula continue
Item Description 'M4' Select round($[WOR1.U_PassWt.Number]/ $[WOR1.U_UwC10pcs.Number]*UDF_222,0)
Am I explain clearly and can this be done? thanks!
Use the below FMS
SELECT $[WOR1.UDF_A ]- $[WOR1.UDF_B]*$[WOR1.UDF_C]
--Manish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.