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

Announcements

No record found.

News and Announcements icon
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.
  • Verified answer
    André Arnaud de Calavon Profile Picture
    307,818 Super User 2026 Season 2 on at
    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 347 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 197

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans