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

Inventory pick and shipment date default - code unit event to use

(0) ShareShare
ReportReport
Posted on by 3,247

Hi Guys

I'm looking at options to set the date on pick list and shipment to todays date as the system does not do this.  has anyone done this and which events should I subscribe to overwrite the date from sales order and instead take todays date?

Thanks

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    133 on at

    Codeunit 7322 event = OnBeforeCreatePickOrMoveLineFromSalesLoop

    Has all the necessary parameters so you can alter the date.

  • Claus Macali.dk Profile Picture
    1,045 on at

    We have a extension  today for when posting Sales order / Invoice

    Send a mail hello@macali.dk

  • Suggested answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    Use the codeunit 7312 and the event OnBeforeWhseActivLineInsert for Lines, if you want to update Warehouse Shipment Header Or Pick Header then you can use default Table OnAfterInsert Trigger.

  • Samantha73 Profile Picture
    3,247 on at

    Thanks, I did insert below code on Warehouse Activity Header (inventory Pick) but couldn't get the posting date changed, also tried "validate":

       trigger OnAfterInsert()

       begin

           Rec."Posting Date" := WorkDate();

           Rec.Modify();

  • Suggested answer
    Marco Mels Profile Picture
    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

    dynamicsuser.net/.../developers

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

    Thanks.

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