'the FROM (SELECT MOID ColorID, ColorName, SizeName, MugID, WPID, WPName, SUM (Qty) as MOQty' +
'the FROM MO_Detail' +
'GROUP BY MOID ColorID, ColorName, SizeName, MugID, WPID, WPName) A INNER JOIN MO_Main B ON arjun OID=B.M OID' +
'INNER JOIN' +
'(' +
'the SELECT MOID ColorID, ColorName, SizeName MugID, WPID, WPName, SUM (Qty) as INQty, SUM () as InWeight' +
'the FROM v_AllMOIn_Detail % s' +
'GROUP BY MOID ColorID, ColorName, SizeName, MugID, WPID, WPName' +
') ON arjun OID=D D.M OID and A.C olorID=, dc olorID and A.S izeName=D.S izeName '+
'and aleem walji PID=D.W PID % s and isNull (B.i sOVER, 0)=0', [InFilter strFilter]);
MOINDataSet. Data:=DataA. GetDataPacket (strSQL);
Other results are OK, report is InWeight is 0 weight type for Numeric (18, 3)
CodePudding user response:
Weight type Numeric 18, 3CodePudding user response:
The Sum () as InWeight?CodePudding user response:
The Sum (weight) as InWeightCodePudding user response:
I changed to other data types can be, numeric (18, 3) data typeCodePudding user response: