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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

Sales Product Configure Line Error

(0) ShareShare
ReportReport
Posted on by 5

Hi All,

we increased the version from 37 to 45 for D365 FO OnPremise 

We use Constraint-based configuration technology  for items. I created  new sales order line. I clicked product and suply then clicked  product configure line. I make my choices and say ok

I see this error. I didn't understand. 

Error--> Function PcGenerateBOMLine.generate has been incorrectly called. The current configuration is not valid.

D363 FO OnPremise 
Installed product version : 10.0.21 (10.0.960.43)
Installed platform version : Update45 (7.0.6129.38)
pastedimage1633980507086v2.png
I have the same question (0)
  • WillWU Profile Picture
    22,363 on at

    Hi asimsek,

    Did you debug the code?

    This method is used to generates the BOM line, which results from a variant configuration of the component instance that is related to this template. Is there any customization done to the process?

  • asimsek Profile Picture
    5 on at

    Yes we did debug the code and we talked with microsoft about this error.

    they made a turn as follows:

    We have done some research and I believe we have a known issue our engineering team is working on where product configurator creates product variants with BOM’s without any BOM lines.

    To workaround this issue you can proceed to enable the following flight through SSMS:

    INSERT INTO SYSFLIGHTING ([FLIGHTNAME],[ENABLED],[FLIGHTSERVICEID]) VALUES (' PcAdaptorVisitorBOMGenerationNoLinesFlight', 1, 0)

    We tried this solve but It didn't work.

  • Community Member Profile Picture
    on at

    Hi Asimsek,

    did you find a reslution ? we are facing the exact same error. on  

    Installed product version : 10.0.21 (10.0.960.93)Installed platform version : Update45 (7.0.6129.90)

  • Jakob Trasbo Profile Picture
    18 on at

    You cannot turn off released flights, so it is no workaround to add it to SysFlights.

    Configurations must have at least one BOM line, and cannot exist of user requirements, etc.

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 June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 94 Super User 2026 Season 1

#2
Sagar Suman Profile Picture

Sagar Suman 72 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans