Notifications
Announcements
No record found.
Hi,
I’m wondering if there is any way to automatically ship a specific item on a sales line in a sales order, without creating an extension.
Let’s say I have two items, A and B. When I create a sales order with both items, I want only item A to be automatically shipped, either by a job or some other automated process, it doesn’t matter how.
Is there any built-in functionality in Business Central that supports this, or would I need to create a custom extension?
Thanks in advance!
Hello,
In standard Business Central, there is no out-of-the-box feature that allows you to automatically ship only specific items on a sales order without customization.
The sales posting routines (e.g., Ship or Ship and Invoice) apply to the entire order or all eligible lines, not selectively based on item number.
Ship
Ship and Invoice
To truly automate shipping only Item A without impacting Item B:
In Business Central, there is no built-in functionality to automatically ship specific items in a sales order without creating a custom extension. However, you can achieve this by automatic shipping of only certain items (like Item A in your case), you would likely need to develop a custom extension or modify the logic via AL code to automate this process effectively.
Hope this answer will help you as well!
Regards,
Mansi Soni
Does anyone have any good recommendations or guidelines for building this extension? My initial idea is to filter out the sales lines that use a specific item. If the sales order only contains that item, I’ll ship the entire order. If there are multiple lines on the order, I’ll first check whether the other lines have already been shipped, and if they have, I’ll ship the remaining line by using the document number from the sales line. Then I’ll collect all relevant sales headers and use the Sales Batch Post Mgt. codeunit to ship the orders that meet my criteria. That said, I’m sure there are better or more efficient ways to handle this. Does anyone know of a relatively simple way to just post a single sales line? Or any suggestions for improving this approach?
Sales-Post
Sales-Post Batch
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,468
YUN ZHU 923 Super User 2025 Season 2
Sumit Singh 607