Skip to main content
Solved

Convert to Modern UI error when publishing changes to SO201000: "AMLinkableSOStatuses/AMConfigurationEntry" is not assignable to parameter of type 'KeysMatching'

  • Nov 30, 2026 8:34 PM UTC
  • 2 replies
  • 37 views
  • Translate All

Forum|alt.badge.img+2

My customization project only references these three Acumatica DLLs: PX.Common, PX.Data, and PX.Objects

The only screen being changes is SO201000.

Question: is there a workaround for this?

The Class UI works fine so I’m not sure why the Convert to Modern UI button produces these specific publishing errors:

TS2345: Argument of type '"AMConfigurationEntry"' is not assignable to parameter of type 'KeysMatching<SO201000_SOOrderTypeHeaderSettings_PXReasonCodeCustomizationExtensions_converted, PXFieldState<...>>

 

TS2345: Argument of type '"AMLinkableSOStatuses"' is not assignable to parameter of type 'KeysMatching<SO201000_SOOrderTypeHeaderSettings_PXReasonCodeCustomizationExtensions_converted, PXFieldState<...>>

 

 

Best answer by Rakshanda

Hi ​@bpgraves ,

Your three DLLs aren't the problem. The converter copied two Manufacturing fields into your screen file, AMConfigurationEntry and AMLinkableSOStatuses. Your extension doesn't define them, so the Modern UI build fails.

Fix:

  1. Open the converted SO201000 .html file in your customization project. It's in FrontendSources/screen/src/screens/SO/SO201000/extensions/.
  2. Delete the lines that mention AMConfigurationEntry and AMLinkableSOStatuses.
  3. Publish again.

Manufacturing already shows those fields in Modern UI, so you don't need them in your file. Your extension should only contain your own fields.

Hope this helps!!

View original

2 replies

Forum|alt.badge.img+4

​@bpgraves 

This appears to be a TypeScript compilation issue in the files generated by the Modern UI converter, not an issue with your DLL references.

The converter includes the Manufacturing fields AMLinkableSOStatuses and AMConfigurationEntry in the generated HTML, but the generated TypeScript view class does not recognize these fields. As a result, compilation fails before the files are saved.

There are two possible workarounds:

Create the Modern UI files manually: Create your own TS and HTML extension files for SO201000 and include only the required custom fields. This is the cleaner approach.

Temporarily disable the Manufacturing feature: Disable the Manufacturing feature through Enable/Disable Features (CS100000), run the converter, and then re-enable the feature.

Translate

Forum|alt.badge.img+9
  • Jr Varsity III
  • Answer
  • Dec 1, 2026 6:58 AM UTC

Hi ​@bpgraves ,

Your three DLLs aren't the problem. The converter copied two Manufacturing fields into your screen file, AMConfigurationEntry and AMLinkableSOStatuses. Your extension doesn't define them, so the Modern UI build fails.

Fix:

  1. Open the converted SO201000 .html file in your customization project. It's in FrontendSources/screen/src/screens/SO/SO201000/extensions/.
  2. Delete the lines that mention AMConfigurationEntry and AMLinkableSOStatuses.
  3. Publish again.

Manufacturing already shows those fields in Modern UI, so you don't need them in your file. Your extension should only contain your own fields.

Hope this helps!!

Translate