Hi
ILE[2].SETRANGE("Posting Date",StartDate,EndDate);
ILE[2].SETFILTER(ILE[2]."Entry Type",'%1|%2',ILE[2]."Entry Type"::Consumption,ILE[2]."Consumption Type"::Rev);
ILE[2].SETFILTER(Quantity,'>%1',0);
IF ILE[2].FINDFIRST THEN REPEAT
Qty[2] += ILE[2].Quantity;
MESSAGE('%1',ILE[2]."Entry Type");
UNTIL ILE[2].NEXT=0;
In message it is displaying +ve Adjustment , whereas i have filtered records on Entry Type "Consumption
Thanks
*This post is locked for comments
I have the same question (0)