Announcements
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.
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.
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)
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.
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?
André Arnaud de Cal...
294,095
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator