try to post the inventory into item journal line shows an error

try to post the inventory into item journal line shows an error.


Microsoft Dynamics NAV

You cannot post these lines because you have not entered a quantity on one or more of the lines.

OK

But i check in the item journal line table , the quantiy value is not zero into the item journal line table.

All the line have quantity value, some of them is negative value

Is because of this.

thanks.

How did you import quantity in journal? Direct using datport or manually ?
Don’t forget that some qty. fields can be hidden, such as qty. base.

i try to import using dataport.

Thanks.

Journals have a lot of validation triggers, when you insert in a dataport you must call validations triggers.
For quantity field don’t use Qty = 1 but VALIDATE(Qty, 1). This rule is valid also to other fields.