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

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?

I have the same question (0)
  • Suggested answer
    Govinda Kumar Profile Picture
    2,304 Moderator on at
    RE: How to push fields trough from warehouse shipment line to Posted Sales Shipment line?

    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
    RE: How to push fields trough from warehouse shipment line to Posted Sales Shipment line?

    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
    RE: How to push fields trough from warehouse shipment line to Posted Sales Shipment line?

    Sorry the Event is Ship and Invoice

  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at
    RE: How to push fields trough from warehouse shipment line to Posted Sales Shipment line?

    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
    RE: How to push fields trough from warehouse shipment line to Posted Sales Shipment line?

    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
    RE: How to push fields trough from warehouse shipment line to Posted Sales Shipment line?

    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,698 Moderator on at
    RE: How to push fields trough from warehouse shipment line to Posted Sales Shipment line?

    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

Responsible AI policies

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

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,553

#2
Sumit Singh Profile Picture

Sumit Singh 2,057

#3
YUN ZHU Profile Picture

YUN ZHU 1,915 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans