Error Preview or Posting Assembly Order in Microsoft Dynamics 365 Business Central: “Document No. must have a value in Item Journal Line…”

Microsoft Dynamics 365 Business CentralI was doing a project to implement Microsoft Dynamics 365 Business Central with a client recently. When they were doing some UAT they were getting an error when trying to preview or post an assembly order.

I tried the same process on my demo/test environment and did not get the same error as the we were seeing in the client environment. The error they were seeing was this one:

Error message when previewing or posting an assembly order

Document No. must have a value in Item Journal Line: Journal Template Name=, Journal Batch Name=, Line No. =0. It cannot be zero or empty

I did some investigation and found the error was down to some changes we had made to the number series used by assembly orders; the number series were correctly linked to Assembly Setup, but in the No.Series page, the lines did not have a Last Number Used set:

No. Series Lines page showing number series lines with Last Number Used set and ringed

With the Last Number Used field set for both lines, the client was able to process the assembly orders.

I went through the other number series and made sure that this field was set on all of them to avoid any other problems (we’d already had sales orders and invoices entered without an issue, so it just looks to be some pages are a little twitchy about this field).

What should we write about next?

If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.

Your Name

Your Email

Suggested Topic

Suggestion Details

Leave a Reply

Your email address will not be published. Required fields are marked *