Skip to main content

Notifications

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
  • Jakob Trasbo Profile Picture
    16 on at
    RE: Sales Product Configure Line Error

    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.

  • Community Member Profile Picture
    on at
    RE: Sales Product Configure Line Error

    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)

  • asimsek Profile Picture
    5 on at
    RE: Sales Product Configure Line Error

    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.

  • WillWU Profile Picture
    22,352 on at
    RE: Sales Product Configure Line Error

    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?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans