Skip to main content

Notifications

Announcements

No record found.

Supply Chain Management forum
Unanswered

Sales Product Configure Line Error

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
    Jakob Trasbo 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
    Community Member Microsoft Employee 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
    asimsek 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
    WillWU 22,344 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?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans