web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

Physical inventory Journal - no serie error

(2) ShareShare
ReportReport
Posted on by 35
Hi, 
 
I have a inventory journal that give me an error every time i run this. 

Error message: 

Document No. must be equal to 'INVSTA00004'  in Item Journal Line: Journal Template Name=INVENTARIS, Journal Batch Name=MARCEL, Line No.=10000. Current value is 'INVSTA00003'.

AL call stack: 

"Item Jnl.-Post Batch"(CodeUnit 23).PostLines line 23 - Base Application by Microsoft version 26.5.38752.40317

"Item Jnl.-Post Batch"(CodeUnit 23).Code line 59 - Base Application by Microsoft version 26.5.38752.40317

"Item Jnl.-Post Batch"(CodeUnit 23).OnRun(Trigger) line 6 - Base Application by Microsoft version 26.5.38752.40317

"Item Jnl.-Post"(CodeUnit 241).Code line 25 - Base Application by Microsoft version 26.5.38752.40317

"Item Jnl.-Post"(CodeUnit 241).OnRun(Trigger) line 3 - Base Application by Microsoft version 26.5.38752.40317

"Phys. Inventory Journal"(Page 392)."P&ost - OnAction"(Trigger) line 2 - Base Application by Microsoft version 26.5.38752.40317
 
 
 
 
I can solve the problem manually by changing the documentnr, but when I repeat the action i will get the same error. WIth the number before. I'm running the report a + the number with 1. It works fine 
 
 
 
This is my setup: 
 
 
This is the no series
 
 
While the Phsyical inventory journal hasnt been booked yet. 
 
 
Kind regards, 
 
Youri van Vuuren
 
I have the same question (0)
  • Suggested answer
    Rishabh Kanaskar Profile Picture
    4,233 on at
    Physical inventory Journal - no serie error
    Hi,
     
    The error occurs because all lines in a Physical Inventory Journal batch must share the same Document No.. If no No. Series is assigned, Business Central expects you to enter the same Document No. manually for every line.
    You can try this:
    > Check and remove any leftover or drafted lines from previous attempts.
    > Assign a valid No. Series to the journal batch in Item Journal Batches, then reopen the journal so the system applies the correct Document No. automatically.
     
    Hope this works.
     
    Thanks
    Rishabh
  • Suggested answer
    Pallavi Phade Profile Picture
    1,979 on at
    Physical inventory Journal - no serie error
    Namaste @CU09070805-0 Youri van Vuuren
     
    Please check no series setup for physical journal , In "Last No. Used" column  and incremented by No column
     
     
    if this helped , please mark as "verified"
     
    Regards
    Pallavi Phade

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 4,220

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,958

#3
Sumit Singh Profile Picture

Sumit Singh 2,961

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans