Skip to main content

Notifications

Community site session details

Community site session details

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

'There is nothing to post.' when posting Sales Order

(0) ShareShare
ReportReport
Posted on by 241

Hello everyone, 

When I try to post a Sales Order I get this error. The lines and header are complete, this is an error that I'm gettin in around 15% of all my sales orders. 

pastedimage1654877605467v1.png

I get this Error call stack

"Assembly-Post"(CodeUnit 900).InitPost line 17 - Base Application by Microsoft\"Assembly-Post"(CodeUnit 900).InitPostATO line 3 - Base Application by Microsoft\"Sales-Post"(CodeUnit 80).InitPostATO line 26 - Base Application by Microsoft\"Sales-Post"(CodeUnit 80).InitPostATOs line 9 - Base Application by Microsoft\"Sales-Post"(CodeUnit 80).UpdateShipAndCheckIfInvPickExists line 11 - Base Application by Microsoft\"Sales-Post"(CodeUnit 80).CheckSalesDocument line 52 - Base Application by Microsoft\"Sales-Post"(CodeUnit 80).CheckAndUpdate line 6 - Base Application by Microsoft\"Sales-Post"(CodeUnit 80).OnRun(Trigger) line 59 - Base Application by Microsoft\"Sales-Post (Yes/No)"(CodeUnit 81).RunSalesPost line 12 - Base Application by Microsoft\"Sales-Post (Yes/No)"(CodeUnit 81).Code line 25 - Base Application by Microsoft\"Sales-Post (Yes/No)"(CodeUnit 81).OnRun(Trigger) line 10 - Base Application by Microsoft\"Sales Header"(Table 36).SendToPosting line 12 - Base Application by Microsoft\"Sales Order"(Page 42).PostSalesOrder line 10 - Base Application by Microsoft\"Sales Order"(Page 42)."Post - OnAction"(Trigger) line 2 - Base Application by Microsoft\.

Thanks for the help. 

  • Guy McKenzie Profile Picture
    1,330 on at
    RE: 'There is nothing to post.' when posting Sales Order

    Glad you have it sorted.

  • Esteban Navarro  Profile Picture
    241 on at
    RE: 'There is nothing to post.' when posting Sales Order

    Guy McKenzie,

    This was the problem, some items were with assemble to order instead of assemly to stock and viceversa. Thanks to everyone for the help, the problem was resolved :)

  • Suggested answer
    Ben Baxter Profile Picture
    5,617 Super User 2025 Season 1 on at
    RE: 'There is nothing to post.' when posting Sales Order

    With Assemble to Order, the Sales Line controls most of the process.  For example, changing the Quantity updates the Assembly Order header Quantity.  Changing the Qty. to Ship on the SO lines, updates the Qty. to Assemble in the AO Header, as well as the Qty. to Consume on the AO Lines.

    Also, it is not possible to post consumption on the Assembly Order when it is Assemble-to-Order, the posting is triggered by the shipment of the Sales Order/Warehouse Shipment.

    Now, depending on your Location's Warehousing setup will determine if the Warehouse Shipment/Pick is required.  The Warehouse Shipment would be for the Finished Good, the Pick would be generated for the Assembly BOM components.  Registering the Pick does not update the AO, only the Posting of the Warehouse Shipment would post the consumption, output and shipment of the Items.

    Without more detail, I am assuming you have a customization/extension in your system and something happened during the Posting Process which allowed the process to get far enough to post the consumption, but didn't ship the product to the customer.  You may have a stuck transaction.

    The other potential is you don't have a Qty. to Ship value set, so there really is nothing to Post.  OR you are trying to Post the Invoice, but the Qty. to Invoice value is not set.  Either option would result in the Nothing to Post message.

  • Verified answer
    Guy McKenzie Profile Picture
    1,330 on at
    RE: 'There is nothing to post.' when posting Sales Order

    It looks as though you may have a mix of assemble to order and assemble to stock going on.

    Does that sound possible? Has anybody raised some of the assembly orders manually?

    Heres what the information suggests to me.

    Fact: The assemble to order lines will have no consumption posted manually, when you post the warehouse shipment, the consumption is handled automatically. This is why it is 0 on your orders that work.

    Guess: Where you have assembly order already with some consumption, these must have been manually created assembly orders. I.e. assemble to stock.

    in this instance, you need to pick the stock that has been output against the assembly order for the warehouse shipment in order to ship it.

    Try creating a pick from the warehouse shipment. If you get a pick created, pick and then ship.

    if that’s not what’s going on, I’m not too sure where the problem may lay.

  • Suggested answer
    MahGah Profile Picture
    15,437 on at
    RE: 'There is nothing to post.' when posting Sales Order

    Hi Esteban 

     Kim Dallefeld  was the person who mentioned assembly order. Maybe she has some idea about it. In addition Ben Baxter  or Guy McKenzie are more familiar with Assembly than me.

    My only question is if you look for SO with this issue and then go to item card of those items do you see something different than other SO without issue? Or the better question is this, does exact item shows different behavior in different SO? 

    In addition, do you ship/invoice SO at the same time or these 15% already shipped and you want to invoice? 

  • Esteban Navarro  Profile Picture
    241 on at
    RE: 'There is nothing to post.' when posting Sales Order

    Hello MahGah, Inge M. Bruvik & Kim Dallefeld,

    I found the error after running the debugger and there's no indication that is related with a personalization. The orders that get Nothing to post error is because the assembly order, for some unknown reason, have the Quantity to Consume empty and the Consumed Quantity filled. 

    It's like something is triggering the assembly order once the lines are created or at some point before post it with a batch job. 

    With error

    pastedimage1655262874300v1.png

    Without error 

    pastedimage1655262933927v2.png

    Any idea of what might be causing this error? I had this error before but with a few orders and the solution was to copy, delete and paste the lines again. I think that helped syncronice the lines again with the header. 

    Any tip will be much appreciated, many thanks for the help.

  • Suggested answer
    Dallefeld Profile Picture
    175 User Group Leader on at
    RE: 'There is nothing to post.' when posting Sales Order

    Apparently you are assembling to order? If so the issue could be with the assembly orders.... I agree with Inge, get your partner to assist with a debug and you should find the problem.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,021 Moderator on at
    RE: 'There is nothing to post.' when posting Sales Order

    Getting this error in as many as 15% of your sales orders are a very high number.

    You should review your order process possibly together with your partner to see if it can be optimized.

    For this specific error message MahGah have you a good list to check out.

  • Suggested answer
    MahGah Profile Picture
    15,437 on at
    RE: 'There is nothing to post.' when posting Sales Order

    Hi

    Please check a few spots 

    1) Does QTY to ship populated with number. if not does QTY Shipped match Quantity. If does not match populate QTY to Ship with difference and tried. 

    2) If everything above is correct then does QTY to invoice populated? If not does Quantity Invoiced match Quantity. if does not then populate QTY to invoice with difference and try. 

    3) if above are correct do you have any line that has Item or G/L but rest of it is blank like below example. If yes delete the line and try. 

    pastedimage1654888846812v1.png

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans