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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

From which event >source documents fields is getting in business central

(1) ShareShare
ReportReport
Posted on by 289
Hi Guys,
Can anyone please let us know, like : We create the sales order & then RELEASED the sales order . And go to warehouse shipment ->Get source documents action ,and then it will open the Source documents page.
I want to know ,when we create new warehouse shipment from this Get source documents action.
From which event this Source no, is getting?
Because we need to add some more fields to Source document page ,and that field is pulled from sales order page.
Below are the fields we have added to the Source Documents page. And this Ship to name,address city ,post code is coming from that particular sales order.
Is any way to do this.
I have the same question (0)
  • Suggested answer
    Saurav.Dhyani Profile Picture
    14,380 Super User 2025 Season 2 on at
    Hi,
     
    Look into Codeunit 5752 Get Source Doc. Outbound.
     
    This codeunit that opens up that page.
     
    Regards,
    Saurav Dhyani
  • Suggested answer
    YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at
    Hi, You can find the required codes and events by following the steps below.
     
    Thanks
    ZHU
  • Test user Profile Picture
    289 on at
    Hi Yunzhu & Saurav Dhyani,
    I have tried many times to find this event ,but unable to get this.
    Can you please let us know.
  • Suggested answer
    YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at
    Sorry I haven't tested it in detail, you can try the following event in report 5753 "Get Source Documents". You can pass the value of "Sales Header" to "Warehouse Request"
    OnAfterSalesHeaderOnAfterGetRecord("Sales Header", SkipRecord, BreakReport, "Warehouse Request");
     
    If it still doesn't work, it is recommended to try other events in this report.
     
    Hope this helps.
    Thanks.
    ZHU

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans