error: the quantity field must be a flow field

Dear all,

The error thrown while running a report using item ledger entry table , error : the quantity field must be a flow field . if i change the quantity field class to flow field , the error is not rectified .

With regards,


Are you using CALCFIELDS function somewhere for Quantity field, perhaps that is cause of error?

Hi Ramanathan,

It would be helpful to know if this is a standard report and what number it have.

You’ll get this error if you have specified the field in the CalcFields element of the property section of the Item ledger Entry definition in the table.

As the others have stated you most likely have a CALCFIELDS(Quantity) in there.somewhere. Because Quantity is not a flowfield there’s nothing to calculate and it throws an error. Turn on the debugger when you run the report to find the bad code and correct it.