Hi Manish,
Please see the attached snap and also below is my query for production order layout.
SELECT 202 as 'ObjectId',OWOR.DocEntry , OWOR.Series,(Select SeriesName from nnm1 where Series=OWOR.Series ) as 'Series Name', OWOR.DocNum, OWOR.PostDate, OWOR.DueDate, OWOR.OriginType, OWOR.OriginNum,
(Select DocStatus from ORDR where docnum=OWOR.OriginNum ) as 'Sale_order Status', OWOR.CardCode, (Select Cardname from ocrd where CardCode=OWOR.CardCode ) as 'Cutomer Name',OWOR.Type, OWOR.Status, OWOR.ItemCode,(Select ItemName from OITM where ItemCode =OWOR.ItemCode ) as 'Item Desc', OWOR.PlannedQty, OWOR.Uom, OWOR.Warehouse, OWOR.U_PLANT_LVP,OWOR.U_Batch_No, OWOR.U_Batch_Size, WOR1.ItemCode AS 'cmp_Item',(Select ItemName from OITM where ItemCode =WOR1.ItemCode ) as 'Cmp_item_Desc',(Select InvntryUom from OITM where ItemCode =WOR1.ItemCode ) as 'Cmp_UOM', WOR1.PlannedQty AS 'cmp_Planned Qty', WOR1.IssuedQty, WOR1.wareHouse AS 'Cmp_whse', OWOR.Comments
FROM OWOR INNER JOIN
WOR1 ON OWOR.DocEntry = WOR1.DocEntry
where OWOR.DocEntry= {?Dockey@}
Here in marked arrow we will have items from 2 Item Group where we want different rounding method for both Item Group.
Please guide.I know its a strange requirement but our management want both group to be different decimal method.
Regards,
Harshal Makwana