on 05-11-2011 12:20 PM
Hi Experts,
Have a look on this FMS :
SELECT T0.[U_Drg_No] from oitm t0 inner join por1 t1 on t0.itemcode = t1.itemcode
where t0.itemcode =$[por1.itemcode]
This is working properly only for child items, If Production Items comes( BOM Code) then this FMS is not returning any data.
For Example . If Item Code is not a BOM Code then its working if Item Code Also a BOM Code with Drg. No. then FMS is not returning data.
I am sorry if My details creating some confusion.
Plz help with needful changes.
Regards,
Ravi
Hello Ravi,
You dont need to joining here because you are pick master data.
Just make FMS like
-
SELECT T0.U_Drg_No from oitm t0 where t0.itemcode =$[por1.itemcode]
-
Thanks
Manvendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
You can have an universal FMS for this:
SELECT T0.U_Drg_No from oitm t0 where t0.itemcode =$[$38.1.0\]
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
The table for parent item code(BOM) was "OITT" and for the child table was "ITT1"....
so u try with these table names
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
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.