web
You’re offline. This is a read only version of the page.
close
Skip to main content
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

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.

I have the same question (0)
  • Suggested answer
    AI123456789 Profile Picture
    on at
    RE: Updating Warehouse Activity Header table fields from Sales Header

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

  • Francisco Bedolla Profile Picture
    on at
    RE: Updating Warehouse Activity Header table fields from Sales Header

    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

  • Inge M. Bruvik Profile Picture
    Moderator on at
    RE: Updating Warehouse Activity Header table fields from Sales Header

    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?

  • Andy Sather Profile Picture
    on at
    RE: Updating Warehouse Activity Header table fields from Sales Header

    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.

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

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 3,454 Super User 2025 Season 2

#2
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,521

#3
YUN ZHU Profile Picture

YUN ZHU 1,894 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans