Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

service order error when invoicing out non-inventory items -bug or no bug?

Posted on by 65
I believe I found a bug in Business Central while testing one of the customizations. 
This bug has nothing to do with the customization. 
When trying to invoice out a service order with a non-inventory item in the Service Item Worksheet it generates an error message 
Bin Code must have a value in Service Line: Document Type=Order, Document No.=GS00003108, Line No.=10000. It cannot be zero or empty.   
error call stack
"Service Line"(Table 5902).TestBinCode line 18 - Base Application by Microsoft "Serv-Documents Mgt."(CodeUnit 5988).PostDocumentLines line 207 - Base Application by Microsoft "Service-Post"(CodeUnit 5980).PostWithLines line 83 - Base Application by Microsoft "Service-Post (Yes/No)"(CodeUnit 5981).Code line 45 - Base Application by Microsoft "Service-Post (Yes/No)"(CodeUnit 5981).OnRun(Trigger) line 2 - Base Application by Microsoft "Service Header"(Table 5900).SendToPostWithLines line 12 - Base Application by Microsoft "Service Header"(Table 5900).SendToPost line 4 - Base Application by Microsoft "Service Order"(Page 5900)."Post - OnAction"(Trigger) line 4 - Base Application by Microsoft
 
 
The reason I believe this is a bug is because the line in question is for a non-inventory Item number called "Adminfee" , Because it is non-inventory it does not have any physical product to pick and does not require a bin.  This Bug only exists in the service orders and does not cause an issue in the sales order side. 
  • Harple79 Profile Picture
    Harple79 65 on at
    RE: service order error when invoicing out non-inventory items -bug or no bug?

    Hello ZHU,

    Thank you for taking the time to reply.  You are correct, we do have the Bin Mandatory option turned on for this location.  The problem is that it doesn't seem to be consistent across the platform.  If it were a Sales Order or a Sales Invoice the platform is smart enough to know that because it is not a "inventory" item that it does not require a bin.  In the Service side of the platform it does not have that logic in place.

    Cheers

    Ryan

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,110 Super User 2024 Season 2 on at
    RE: service order error when invoicing out non-inventory items -bug or no bug?

    Hi, I'm not sure if this has anything to do with your problem.
    From the error message, it seems that the location you selected has set Bin Mandatory.

    pastedimage1680564381242v1.png

    Hope this helps.

    Thanks.

    ZHU

  • Harple79 Profile Picture
    Harple79 65 on at
    RE: service order error when invoicing out non-inventory items -bug or no bug?

    Thank you for clarifying.  I tested with the item being a service item but I am still getting the same error message when I invoice out the service order.  

    pastedimage1680542637615v1.png

    pastedimage1680542685662v2.png

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: service order error when invoicing out non-inventory items -bug or no bug?

    I am sorry I was a bit unclear.

    What I ment was that you could define the "Adminfee" item as a service instead of as an item or none inventory item.

    Se sample screenshot:

    pastedimage1680292124334v1.png

  • Harple79 Profile Picture
    Harple79 65 on at
    RE: service order error when invoicing out non-inventory items -bug or no bug?

    Hi Inge, Thank you for the reply, I agree it should be under service but there is no option for that in the forum.   I have sent the problem to our partner, however I was wondering if anyone else had this issue. and how they got around it.

    Cheers!

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: service order error when invoicing out non-inventory items -bug or no bug?

    If you think this is a bug you need to contact your CSP partner and have them open a support ticket with Microsoft around it.

    Personally I would classify this item as a service instead of none inventory. Because none inventory still means it is a physical item - it is just an item that you do not want to keep inventory records for.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,151 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,963 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans