Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

How to modify a field value while inserting data from a counting journal from on-hand screen

(0) ShareShare
ReportReport
Posted on by 45
Hi Team,
 
Kindly help me on the subject matter.
 
How can the field value be updated during the insertion process from the counting journal using the on-hand screen? Please refer to the attached screenshot for clarification.
 
Kindly advise how can i achieve this. Thank you.
 
 
 
 
 
 
  • Suggested answer
    Kevin Xia Profile Picture
    Microsoft Employee on at
    How to modify a field value while inserting data from a counting journal from on-hand screen
    Hi,

    You may need to use event handlers or customization options provided by the platform. Here are general steps that you can follow:

    1. Identify the Event:

      Determine the specific event or method that is triggered during the insertion process from the counting journal.
    2. Create an Event Handler:

      Develop a custom event handler for the identified event. This handler should contain the logic to modify the field value as per your requirements.
    3. Attach the Event Handler:

      Attach your custom event handler to the appropriate event in the data model. This can often be done through the Application Object Tree (AOT) in the development environment.
    4. Write Logic to Update Field:

      Within your event handler, write the logic to update the desired field value. You can access and modify field values using X++ code.
    5. Compile and Deploy:

      Compile your changes and deploy them to the appropriate environment.
    Best regards,
    Kevin

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,283 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,019 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans