Skip to main content
Business Central forum
Answered

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

editSubscribe (0) ShareShare
ReportReport
Posted on by 233

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. 

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

    Glad you have it sorted.

  • Esteban Navarro  Profile Picture
    Esteban Navarro 233 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
    Ben Baxter 3,949 Super User 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
    Guy McKenzie 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
    MahGah 15,395 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
    Esteban Navarro 233 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
    Dallefeld 11,415 UG 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
    Inge M. Bruvik 32,714 Super User 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
    MahGah 15,395 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

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans