web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Can we release a SalesLine record independtly

(1) ShareShare
ReportReport
Posted on by 170
Dear community members,
 
I have come across a development where I'm storing SalesLine records which were not released while running the batch job "Automatic release of sales orders" in my custom table. This batch job button is under  Warehouse management module's Release to warehouse sub menu. Further, Once the sales line record is stored in my custom table I want to release the selected sales line record from my custom table's form itself. I have created a Button on the action pane; Once I click this button, the selected sales line record on the form should be released. Is this even possible to achieve. If yes, then someone can please guide me.
 
Thanks !!!😊
I have the same question (0)
  • Suggested answer
    Assisted by AI
    ANInnoSolutions Profile Picture
    534 on at
    Hi Apratim,
     
    1) Issue
    - SalesLine records that were not released during the batch job "Automatic release of sales orders" (Warehouse management → Release to warehouse) are being stored in a custom table  
    - A custom form has been created with an Action Pane button to process these records  
    - The requirement is to allow users to select a record and release only the corresponding SalesLine to warehouse  
    - However, triggering release directly for a single SalesLine from the custom form does not produce the expected result  
     
    2) Reason
    - In standard D365 Supply Chain Management, the release to warehouse process operates at the Sales Order (SalesTable) level, not at individual SalesLine level  
    - Core framework classes such as WhsReleaseToWarehouse are designed to process full sales orders and grouped lines based on warehouse, shipment, and reservation logic  
    - Warehouse processing (work creation, loads, shipments) depends on order-level context, not isolated lines  
    - Releasing a single SalesLine independently is not supported by standard design and may lead to inconsistencies in load creation, shipment consolidation, and inventory reservation  
    - Therefore, attempting direct line-level release bypasses core logic and fails or behaves unexpectedly  
     
    3) Resolution
    - Trigger release using the SalesId (SalesTable) from the custom table instead of only the SalesLine  
    - Allow the system to evaluate which lines are eligible and release them accordingly  
    - Modify the button logic to call the standard release framework using SalesTable context  
    - Optionally use classes like WhsReleaseToWarehouse with query filtering to target specific lines while still processing within the Sales Order context  
    - Avoid forcing independent SalesLine release to maintain consistency in warehouse processing  
    - Perform thorough testing if applying custom filtering logic and consider redesigning the business process if strict line-level release is required
     
    For a more detailed answer, please provide more information.
     

    Rg,

    Alexander

    *Due to the complex and different possibilities of deploying Dynamics 365 I highly recommend not to setup the application without some expert/partner or support. (For more information contact me under anassl@inno-solutions.info or visit www.inno-solutions.de)

    *The Information comes directly from the manufacturer or provider and are validated (not guaranteed) up to date of creation of the posting.

    References:

    1. Microsoft Licensing Guide
    2. Microsoft Doc`s/Learn
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    305,747 Super User 2026 Season 1 on at
    Hi Apratim,
     
    I have not got this requirement myself before. I can provide a hint using a functional example.
    You can try to mimic the behavior when using the periodic option Release sales orders to warehouse. On the form, you can select individual order lines.
    In a customization, you can fill the table with selected lines and then call the release logic.
     

    PS. It seems like the AI generated reply from Alexander contains some hallucination as manually release order lines to warehouse it supported in the standard application.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 171 Super User 2026 Season 1

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 108 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 102 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans