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

How to push fields trough from warehouse shipment line to Posted Sales Shipment line?

(0) ShareShare
ReportReport
Posted on by 20

I created a new field on Warehouse shipment Line and want to push it on Posted Sales shipment line as well, Is there a way?

  • Suggested answer
    Govinda Kumar Profile Picture
    2,310 Moderator on at

    Hi jmtugade,

    Yes, there is s way to do this.. but you need to specify on which event you want to do this and which field you talking about in posted sales line.. have you create the custom field in both tables or just warehouse shipment line

    Regards

  • jmtugade Profile Picture
    20 on at

    Yes I created a Custom field for both of them. I added CartonNo. on both tables. I want to push through the value of CartonNo from Warehouse Management to Posted Sales Shipment. Event is when you post the Warehouse shipment doc.

  • jmtugade Profile Picture
    20 on at

    Sorry the Event is Ship and Invoice

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Hi,

    You can create your field with same id in both the table and try, if not done, You can subscribe the below event from Codeunit 5763

    local procedure OnCreatePostedShptLineOnBeforePostedWhseShptLineInsert(var PostedWhseShptLine: Record "Posted Whse. Shipment Line"; WhseShptLine: Record "Warehouse Shipment Line")
  • jmtugade Profile Picture
    20 on at

    Yes they fields have both the same name and Id but didn't work. I will try to subscribe to that event. Thank you.

  • jmtugade Profile Picture
    20 on at

    The Line table of Posted Sales Shipment is Sales Shipment Line. On the Event above, the table being processed is Posted Whse. Shipment Line.

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Then you can try for Posted Sales Shipment Line in same codeunit 5763

    OnAfterSalesPost(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; SalesHeader: Record "Sales Header"; Invoice: Boolean)

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 645 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 432 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 248 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans