Business Central raises this when the item on the line is tracked by serial number and you have not told it which numbers are being posted. The quantity on the document line and the quantity assigned in Item Tracking Lines must match exactly. Open Item Tracking Lines on that line and assign a serial number for every unit before you post.
Any item whose Item Tracking Code requires specific serial number tracking for the direction you are posting has to be identified unit by unit. The serial number is what makes a single piece traceable from receipt to sale, so the posting routine refuses any quantity it cannot identify. Because one serial number covers one unit, ten pieces on a line need ten numbers, and the smallest gap between the line quantity and the assigned quantity stops the posting. When the routine knows which line failed, it adds the reference, for example: You must assign a serial number for item 1000. Line No. = '10000'.
Assign item tracking when the line is created rather than at posting time, and re-open Item Tracking Lines whenever a quantity changes, because the assignment does not follow that change. On the Item Tracking Code card, review which of the serial number options you really need for inbound, outbound and warehouse movements: switching tracking on for directions the business does not actually control creates work at every posting. Filling the Serial Nos. field on the item card also lets the Assign Serial No. action complete the lines in one click for goods you number yourself.
No. The assigned quantity has to equal the quantity being posted on that line. If you only want to post part of it, reduce the quantity to ship or to receive on the line and assign serial numbers for that smaller quantity only.
The posting routine adds Line No. = '10000' when it can identify the failing line. Use it to go straight to the right line, because a document with many lines may be missing tracking on only one of them.