Skip to main content
Solved

AM Error: The following error occurred when the system tried to copy the BOM: Unable to cast object of type 'PX.Data.PXSegmentedState' to type 'System.String'.

  • Nov 18, 2025 11:55 PM UTC
  • 3 replies
  • 97 views
  • Translate All

Forum|alt.badge.img

Hi All. Do you know why I get this error when linking the BOM in Production Order. The Production order was created from SO if that helps, but there were also 2 items in SO that was marked for Production and linking the BOM is fine without error. Can you please help?

 

Best answer by zmitchell00

If you are on 24R2, this is a known issue with phantom type materials not having a BOM defined (or they had a BOM set that is now inactive). I would check both stock item level and item warehouse details level to make sure an active BOM is set for any materials that are phantom BOMs. 

 

View original

3 replies

Forum|alt.badge.img+4

Do you have any customizations published? If so, have you tried reproducing the error with the customizations unpublished?

Translate

Forum|alt.badge.img
  • Author
  • Semi-Pro I
  • Nov 20, 2025 2:24 AM UTC

​@aleksandrsechin - There are customizations published but not for that screen. Though I have republished the customizations and tried linking again, but still got the same error. I did not try without customizations though. I will try again after unpublishing customization. Thanks

Translate

  • Freshman II
  • Answer
  • Jan 7, 2026 8:10 PM UTC

If you are on 24R2, this is a known issue with phantom type materials not having a BOM defined (or they had a BOM set that is now inactive). I would check both stock item level and item warehouse details level to make sure an active BOM is set for any materials that are phantom BOMs. 

 

Translate