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...
Answered

Warehouse Receipt: error on posting

(0) ShareShare
ReportReport
Posted on by 40

Hi,

when posting a Warehouse Receipt I get this error message: Receiving No. Series must have a value in Warehouse Receipt Header: No.=5. It cannot be zero or empty.

I already checked, as suggested in other threads, the No.Series, the Warehouse Setup and Purchases & Payable Setup.

I belong to the list of the Warehouse Employees for the location involved in the transactions.

Thanks.

Fabrizio.

pastedimage1609407522533v1.pngchrome_5F00_2h5iv040Ck.png

F

I have the same question (0)
  • Verified answer
    Bilal Haider Profile Picture
    408 on at
    RE: Warehouse Receipt: error on posting

    Hi,

    Please upload images again. It is impossible to view

  • Bilal Haider Profile Picture
    408 on at
    RE: Warehouse Receipt: error on posting

    Also post the screen shot of error. And are you using some specific location ?

  • Fabrizio Renzulli Profile Picture
    40 on at
    RE: Warehouse Receipt: error on posting

    Hi, here they are.

    I'm using location 60 that I created for tests.

    Thanks.

    F

    chrome_5F00_NkuI3Taa5l.png

    3463.chrome_5F00_2h5iv040Ck.png

    chrome_5F00_dT35crXbFN.png

    chrome_5F00_O4dUqCMzPr.png

  • Suggested answer
    Bilal Haider Profile Picture
    408 on at
    RE: Warehouse Receipt: error on posting

    Hi,

    Setup looks fine. May be the issue is that this Warehouse Receipt Header is created before you have done setup. Try to create a new Warehouse Receipt Header and Post it. Share the output here

  • Fabrizio Renzulli Profile Picture
    40 on at
    RE: Warehouse Receipt: error on posting

    I created a new PO, then released it and created a new Warehouse Receipt, always in the same Location: 60.

    The error is persisting.

    It seems a kind of wrong message, because the number assigned to the Receipt is 6.

    Here below the picture and the error stack from the Latest error:

    Callstack

    "Whse.-Post Receipt"(CodeUnit 5760).Code line 29 - Base Application by Microsoft
    "Whse.-Post Receipt"(CodeUnit 5760).OnRun(Trigger) line 5 - Base Application by Microsoft
    "Whse.-Post Receipt (Yes/No)"(CodeUnit 5761).Code line 19 - Base Application by Microsoft
    "Whse.-Post Receipt (Yes/No)"(CodeUnit 5761).OnRun(Trigger) line 3 - Base Application by Microsoft
    "Whse. Receipt Subform"(Page 5769).WhsePostRcptYesNo line 5 - Base Application by Microsoft
    "Warehouse Receipt"(Page 5768).WhsePostRcptYesNo line 2 - Base Application by Microsoft
    "Warehouse Receipt"(Page 5768).OnAction(Trigger) line 2 - Base Application by Microsoft

    Object

    Microsoft.Dynamics.Nav.Types.NavTestFieldException: Receiving No. Series must have a value in Warehouse Receipt Header: No.=6. It cannot be zero or empty. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Dynamics.Nav.Types.NavTestFieldException: Receiving No. Series must have a value in Warehouse Receipt Header: No.=6. It cannot be zero or empty.
    at Microsoft.Dynamics.Nav.Runtime.NavRecord.TestFieldNotBlank(NCLMetaField metaField)
    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit5760.Code_Scope__1930533577.OnRun()
    at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit5760.Code()
    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit5760.OnRun_Scope.OnRun()
    at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit5760.OnRun(INavRecordHandle εrec)
    at Microsoft.Dynamics.Nav.Runtime.NavCodeunit.DoRun(DataError errorLevel, NavRecord record)
    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit5761.Code_Scope__1930533577.OnRun()
    at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit5761.Code()
    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit5761.OnRun_Scope.OnRun()
    at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
    at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit5761.OnRun(INavRecordHandle εrec)
    at Microsoft.Dynamics.Nav.Runtime.NavCodeunit.DoRun(DataError errorLevel, NavRecord record)
    at Microsoft.Dynamics.Nav.Runtime.NavCodeunit.RunCodeunit(DataError errorLevel, Int32 objectId, NavRecord record)
    at Microsoft.Dynamics.Nav.BusinessApplication.Page5769.WhsePostRcptYesNo_Scope__1896718225.OnRun()
    at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
    at Microsoft.Dynamics.Nav.BusinessApplication.Page5769.WhsePostRcptYesNo()
    at Microsoft.Dynamics.Nav.BusinessApplication.Page5769.OnInvoke(Int32 memberId, Object[] args)
    at Microsoft.Dynamics.Nav.BusinessApplication.Page5768.WhsePostRcptYesNo_Scope__1896718225.OnRun()
    at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
    at Microsoft.Dynamics.Nav.BusinessApplication.Page5768.WhsePostRcptYesNo()
    at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
    at Microsoft.Dynamics.Nav.BusinessApplication.Page5768.Post_Receipt_a45_OnAction()
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.InvokeMethod(ITreeObject obj, String methodName, Object[] args, Boolean resolveHandler, Boolean throwOnNotFound)
    --- End of inner exception stack trace ---
    at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.InvokeMethod(ITreeObject obj, String methodName, Object[] args, Boolean resolveHandler, Boolean throwOnNotFound)
    at Microsoft.Dynamics.Nav.Runtime.NavForm.RaiseOnAction(Nullable`1 actionId, String actionTriggerMethodName)
    at Microsoft.Dynamics.Nav.Service.NSField.ActionField(NavSession con)
    at Microsoft.Dynamics.Nav.Service.NSField.Action(NavSession session)
    at SyncInvokeActionField(Object , Object[] , Object[] )
    at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.RunInTransactionCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass28_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.TransientErrorRetryCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass28_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
    at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)

    chrome_5F00_eqNDH8IJwv.png

  • Bilal Haider Profile Picture
    408 on at
    RE: Warehouse Receipt: error on posting

    Hi, send the screen shot of your No Series page with this No series "PWRCV" visible.

  • Fabrizio Renzulli Profile Picture
    40 on at
    RE: Warehouse Receipt: error on posting

    It's quite complex: PWRCV-20000001 to PWRCV-20009999.

    I tried to simplify only the one for Warehouse Receipts.

    F

    chrome_5F00_zA16SvXU0f.png

  • Suggested answer
    Bilal Haider Profile Picture
    408 on at
    RE: Warehouse Receipt: error on posting

    Please check if Default Nos are enabled for PWRCV or not on No series main page not on line.

  • Fabrizio Renzulli Profile Picture
    40 on at
    RE: Warehouse Receipt: error on posting

    Great!

    Default Nos weren't enabled for PWRCV (by mistake, not intentionally).

    I checked the Default Nos for PWRCV, recreated the Warehouse Receipt and then posted it creating the Warehouse Put Away.

    Thanks a lot!

    Fabrizio

  • Bilal Haider Profile Picture
    408 on at
    RE: Warehouse Receipt: error on posting

    Yes that was the issue. Great that its solved. Mark the part verified to help others

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
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 2,568

#2
Sumit Singh Profile Picture

Sumit Singh 2,536

#3
YUN ZHU Profile Picture

YUN ZHU 2,015 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans