Solved

BUG? - Change Attributes is not working in 2022 R2 (build 22.215.0056)

  • 22 June 2023
  • 3 replies
  • 113 views

Userlevel 4
Badge

I have a minor change I need to make to the Appointment screen (FS300200).

Instead of “Invoice Total” I want the Display text to read: “Appointment Total” (There are other changes I would like to make as well, but this one is the simplest to explain)

I have unpublished every other customization. I made a new one with just this change.

I pull up the screen: And select the Invoice Total field:

I select “Customize Attributes”, replace Original, and make my change:

I save it. Everything is fine. Until I publish it, and get this:

 

In case you can’t read the screenshot, the error is: 

 

[2023-06-22 15:11:03.238] Building directory '\WebSiteValidationDomain\App_RuntimeCode\'.
[2023-06-22 15:11:11.111] \App_RuntimeCode\PX_Objects_FS_FSAppointment_extensions.cs(32): error CS0246: The type or namespace name 'curyBillableLineTotal' could not be found (are you missing a using directive or an assembly reference?)
[2023-06-22 15:11:11.111] \App_RuntimeCode\PX_Objects_FS_FSAppointment_extensions.cs(32): error CS0246: The type or namespace name 'curyDiscTot' could not be found (are you missing a using directive or an assembly reference?)
[2023-06-22 15:11:11.111] \App_RuntimeCode\PX_Objects_FS_FSAppointment_extensions.cs(32): error CS0246: The type or namespace name 'curyTaxTotal' could not be found (are you missing a using directive or an assembly reference?)
[2023-06-22 15:11:11.112] \App_RuntimeCode\PX_Objects_FS_FSAppointment_extensions.cs(33): error CS0246: The type or namespace name 'curyInfoID' could not be found (are you missing a using directive or an assembly reference?)
[2023-06-22 15:11:11.112] \App_RuntimeCode\PX_Objects_FS_FSAppointment_extensions.cs(33): error CS0246: The type or namespace name 'docTotal' could not be found (are you missing a using directive or an assembly reference?)
[2023-06-22 15:11:11.124] \App_RuntimeCode\PX_Objects_FS_FSAppointment_extensions.cs(32): error CS0246: The type or namespace name 'curyBillableLineTotal' could not be found (are you missing a using directive or an assembly reference?)
[2023-06-22 15:11:11.133] Compiler time, in seconds: 9.9342476

 

It is referencing runtime code… I don’t have any of that in the customization. so I am assuming this is adding it there? But this is all Acumatica, I have nothing to do with that. How is it all of these namespaces are missing? 

 

 

icon

Best answer by greglang 26 June 2023, 21:37

View original

3 replies

Userlevel 6
Badge +3

I tried it and I got the same result.

It looks like PX.Objects.FS assembly is not referenced in customization editor. It is an easy fix if you can move your project to an extension library, but I don’t know how to solve it in the Customization Project Editor.

Userlevel 3
Badge +1

Hey I am on 2022R1 but I just tested quickly and I am able to use the screen editor to do what your trying.  See screenshot below for a quick fix.   Under layout properties just make sure to remove the filter and add a Label ID and Label text you want to see…  Hope that helps.

 

 

Userlevel 4
Badge

Hey Greg. Thanks for the reply. That looks promising. (I already changed it in the customization code by overriding it on the Selecting event. But this would probably be cleaner. I’ll try it out.)

Thanks!

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved