web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

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. 
I have the same question (0)
  • Suggested answer
    Andy Sather Profile Picture
    on at

    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.

  • Suggested answer
    Amit Profile Picture
    2,559 on at

    Hi,

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

    Regards

    Amit Sharma

    www.erpconsultors.com

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans