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...
Answered

From Salesline I am posting to WarehouseShipment it is not validating

(0) ShareShare
ReportReport
Posted on by 2

Hi ALL,

 In the Salesline i created a custom field as "Shipment UOM" , in the  WarehouseShipment also i created a custom Field "Shipment UOM", I want to populate the value of saleline custom field to warehouse shipment line, but it is not populating, can anyone help me, I am attaching my code here, I have tried with onvalidate and in table level and onaftergetrecord in page level but it is not populating.

pastedimage1680088253419v1.png

Thanks & Regards,

Sams

I have the same question (0)
  • Verified answer
    Mohana Yadav Profile Picture
    61,184 Super User 2026 Season 1 on at

    This code will execute when you validate the field in Warehouse Shipment Line.

    You have to use the subscribers in function FromSalesLine2ShptLine of codeunit 5750 "Whse.-Create Source Document"

  • Suggested answer
    Ben Baxter Profile Picture
    6,827 Super User 2026 Season 1 on at

    Are you sure this is a necessary modification?  Every Item can have a "Sales Unit of Measure" defined on the Item Record.  This value defaults to the Sales Line when a new Sales Document Line is created.  If your base/purchase UOM is different the Warehousing function can help with the Pick/Place of different UOM.

    I would encourage you to test the base capability before pushing your modification.  Perhaps reach out to your Business Central partner to confirm the capability.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,986 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,071 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 975 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans