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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Updating Warehouse Activity Header table fields from Sales Header

(0) ShareShare
ReportReport
Posted on by 129

Does anyone know how to auto populate fields in Warehouse Activity Header (specifically for pick), based on values in Sales Header?

I've managed to get my code working in the list page trigger for Warehouse Picks, however I need the values to update in the table itself without the need to open a page. Does anyone know which trigger I should be using, or whether there is an event that is best to use?

I've gone through quite a lot of events in the Create Pick codeunit (7312) but am yet to have any success.

  • Andy Sather Profile Picture
    Microsoft Employee on at

    Hello  - We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    I will open this up to the community in case they have something to add.

  • IB-29041624-0 Profile Picture
    1,191 Moderator on at

    Are you talking about customized fields or standard fields that you want to populate.

    If it is standard fields, what fields do you have in mind?

  • Francisco Bedolla Profile Picture
    1,125 on at

    did you check CreateInvtPutAwayPick() on table sales header? this if you are running pick from sales doc

    or

    GetSourceDocOutbound.CreateFromSalesOrder(Rec); in same table to create shipment headers

    in page 7335 you can find CurrPage.WhseShptLines.PAGE.PickCreate; which calls procedure PickCreate() on page 7336

  • Suggested answer
    AI123456789 Profile Picture
    129 on at

    Thanks for the responses on this.  I managed to get it working in the end using the OnCreateWhseDocumentOnAfterSaveOldValues event in Create Pick

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 665 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 418 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 280 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans