Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Transfer value from sales order to warehouse shipment

(0) ShareShare
ReportReport
Posted on by 65

I've done what I am about to ask in different ways with success, but hopefully someone can assist. 

I am trying to get the Customer Name from the Sales Header to transfer over to the Warehouse Shipment Header once you create a warehouse shipment from a sales order. 

I have added a field on the warehouse shipment header, and have tried using the Get() and variations of the Find() procedures. The Find() procedures will grab a value from the sales header, but it is not grabbing the specific Customer Name I need from the related Sales Order. See below of code. This trigger is on the Warehouse Shipment page: 

Screenshot-2022_2D00_10_2D00_05-171727.png
I'm thinking some variation of findset needs used with a repeat until possibly? If I used findfirst here it will just grab the Customer Name for the first record in the Sales Header table (obviously) which is not what I want, but maybe findfirst could be used with more logic after it..
Let me know you thoughts. 
Thanks. 
  • Suggested answer
    Amit_Sharma Profile Picture
    2,547 on at
    RE: Transfer value from sales order to warehouse shipment

    Hi,

    This customization, pls call Warehouse Shipment posting Event for transferring value into Warehouse Shipment.

    Regards

    Amit Sharma

    www.erpconsultors.com

  • Suggested answer
    Andy Sather Profile Picture
    on at
    RE: Transfer value from sales order to warehouse shipment

    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

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

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans