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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

IntercompanyOrderUseRootSalesOrderCalcMethod_PL_Flight error

(0) ShareShare
ReportReport
Posted on by 8
Hello,
 
I am having a weird issue with the usage of the SalesPurchLinePriceDiscCalculation.calcPrice2LineAmount() method. It used to work perfectly fine in one of our customised logic. Recently it has started to crash.
When checking if a particular flight is enabled, the flight seems to have been enabled as the method PriceDisc::IsIntercompanyPLFlightEnabled is returning true.
This is causing an error. 
 
////
////
Is there any way to turn this flight feature off?
I am unable to find proper documentation regarding this flight feature.
I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    299,823 Super User 2025 Season 2 on at
    IntercompanyOrderUseRootSalesOrderCalcMethod_PL_Flight error
    Hi Jason,
     
    It is possible to disable flights yourself in a Tier-1 environment. In Microsoft hosted Tier2+ environments, you would need to create a ticket for Microsoft Support to get a flight disabled.
    You can find the flights in SQL server in the table called SysFlighting. You can set the value in the field Enabled to 0. You can also add another record with the same flight name, but including a suffix called '_KillSwitch'.
    If the flight is called APsomeNewFlight, then the disabled record would have the name APsomeNewFlight_KillSwitch. The disabled record would prevent flights from being auto activated.

    Anyway, you would need to find the culprit and adjust your customization to the new flight. The flight might become mandatory in the future, then disabling won't be an option anymore.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

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

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 743

#3
Sumit Singh Profile Picture

Sumit Singh 551

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans