Skip to main content

Notifications

Announcements

No record found.

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 75

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

  • Suggested answer
    Ben Baxter Profile Picture
    Ben Baxter 4,964 Super User 2024 Season 2 on at
    RE: From Salesline I am posting to WarehouseShipment it is not validating

    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.

  • Verified answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,194 Super User 2024 Season 2 on at
    RE: From Salesline I am posting to WarehouseShipment it is not validating

    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"

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans