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

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

I want to update previous trade agreeemnt while importing a new trade agreement and post

(1) ShareShare
ReportReport
Posted on by
I am creating new trade agreement by importing a CSV file, but before creating a new trade agreement I want to Edit the previously active trade agreement's ToDate where Vendor ItemID and Currency code are same and post it from the X++ code.
 
Kindly Suggest how can I achive It.
 
I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    302,765 Super User 2026 Season 1 on at
    Hi,
     
    Editing active trade agreements is cumbersome. To know what you need to do, you can first create a new trade agreement journal in a test environment and retrieve some existing records. Then adjust the lines and create a new line for the new price. Before posting, you can check the field values in the trade agreement lines where a reference record ID is stored to know which trade agreement to adjust.
    If you know the storage requirements in trade agreement journals, you can create the price adjustment line together with each new agreement line you import.
  • Kevin Xia Profile Picture
    Microsoft Employee on at
    Hi,
    You can refer to this blog: www.loganconsulting.com. It introduces how to revisit pricing agreements and update any existing agreements or create new ones. Or you can also refer to this blog: dynamics-tips.com. In this post we will go through each trade agreement type including prices, line discounts, multi-line discounts, and total discounts as well as how the system evaluates trade agreements.
    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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 673 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 280 Super User 2026 Season 1

#3
Martin Dráb Profile Picture

Martin Dráb 213 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans