I am seeing an issue on some G/L entries where the job number is not being assigned properly. We are using recurring job journals and posting them each month. All of the lines in these recurring job journals are marked billable and there is a unit price associated with each one. The items are all set up as "Service" type items, so when the invoice gets generated the Sales account from the general posting setup is credited and Accounts Receivable is debited. When these entries are posted, the Job No. is written to the Job No. field in the G/L Entry table. I believe that this is standard Business Central functionality. I have not made any customizations to any of the posting code units and we do not have any third-party products installed that would impact the jobs module.
This is working most of the time, but I have seen on some invoices that Job No. is blank only for certain lines. When I look at the posted sales invoice, the job number is also blank for that specific line. Has anyone seen this behavior before? Is there a way to fix this/prevent it from happening in the future? I was not able to reproduce this issue - it was reported to me by a customer.
Here is a screenshot of the G/L Entry from one of the invoices. You can see where the Job No. is missing.

Here is a screenshot of the corresponding sales invoice. You can see where the Job No. is missing.
