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 :
Finance | Project Operations, Human Resources, ...
Answered

365 FO Can I customize Transport Management process ?

(0) ShareShare
ReportReport
Posted on by 10

Hi folks how are you ?

I´m new in 365 FO, and Im working in a initialy simple customization.

In Transport Management, the end user can setup discounts that can be applied in transportation taxes. This discount, when used in module inventory management to send products to customer for example, i need to create a memory calculation, in a field, because the discounts are applied correctly by the system, but the end user can be had doubts in final value, and dont understand the reason about the value of the rate are changed.

After searching and studing the code, I check the classes structure:

Class - TMSFwkProcess_XML, TMSFwkDiscountService.

In the class TMSFwkDiscountService occurs the calc, and i want simple save the value of discount in a new customized column, only with the purpose that user can know the original value of the rate of transportation was changed because a discount was applied.

But the problems is the TMSFwk classes are classes that uses C# objects and request and response process, and i dont know how can I for example, change the code to insert new atributes or variables or etc to adapt the system with my new behavior.

There is a way that I can extend this functionality ? In this classes ? For example, the system get the discount in this classes, I check, and the only way to get the discount is in this classes, the first thing that i need is to get the discount.

Thanks a lot

I have the same question (0)
  • Tony Yang Profile Picture
    on at
  • lsilvazupa Profile Picture
    10 on at

    Hi Tony thanks so much for your answer.

    But, in my case, I dont want create a new rate logic, I need to retain the actualiy logic, but only includ a new field in entity that receives the rate, to retrieve the discount amount, for only purpose to show this like a calculation memory.

    Should i really create one new engine for this ? If yes, can I use in the BaseRateEngine child class the new field created in x++ tables ?

    Tks

  • Verified answer
    Tony Yang Profile Picture
    on at

    Hello lsilvazupa ,

    TMS is very special part of Dynamics AX, I suppose you have to achieve this by C# TMS project, 

    otherwise there is no way to capture the orig value.

  • lsilvazupa Profile Picture
    10 on at

    Hi Tony,

    Really, this module in the system, at the point where I wanted to change, is very limited.

    I ended up solving the case by replicating the logic of searching for the discount that is in x ++, which is pretty bad, because if microsoft changes, I will have to redo it in my customization.

    I think a little code refactoring from microsoft could improve the coupling but that depends on them.

    Thank you for the help.

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 384 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans