Announcements
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.
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.
Glad you have it sorted.
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 :)
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.
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.
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?
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
Without error
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.
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.
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.
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.
André Arnaud de Cal...
294,095
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator