Skip to main content
Answer

Errors when publishing on 2024R2

  • May 21, 2025
  • 6 replies
  • 88 views

Forum|alt.badge.img+6

When publishing a customization project on 2024r2, I encountered the following error:

My project details are as attached. Could someone please suggest a way to fix it?

\App_RuntimeCode\InventoryAllocDetEnq.cs(19): error CS0234: The type or namespace name 'IQtyAllocated' does not exist in the namespace 'PX.Objects.IN.Overrides.INDocumentRelease' (are you missing an assembly reference?)
[2025-05-21 05:27:06.840] \App_RuntimeCode\InventoryAllocDetEnqFilter.cs(1): error CS0234: The type or namespace name 'IQtyAllocated' does not exist in the namespace 'PX.Objects.IN.Overrides.INDocumentRelease' (are you missing an assembly reference?)
[2025-05-21 05:27:06.840] \App_RuntimeCode\InventoryItemMaint.cs(18): error CS0234: The type or namespace name 'RUTROT' does not exist in the namespace 'PX.Objects' (are you missing an assembly reference?)
[2025-05-21 05:27:06.840] \App_RuntimeCode\POReceiptEntry.cs(27): error CS0234: The type or namespace name 'LocationStatus' does not exist in the namespace 'PX.Objects.IN.Overrides.INDocumentRelease' (are you missing an assembly reference?)
[2025-05-21 05:27:06.840] \App_RuntimeCode\POReceiptEntry.cs(26): error CS0234: The type or namespace name 'SiteStatus' does not exist in the namespace 'PX.Objects.IN.Overrides.INDocumentRelease' (are you missing an assembly reference?)
[2025-05-21 05:27:06.840] \App_RuntimeCode\POReceiptEntry.cs(28): error CS0234: The type or namespace name 'LotSerialStatus' does not exist in the namespace 'PX.Objects.IN.Overrides.INDocumentRelease' (are you missing an assembly reference?)
[2025-05-21 05:27:06.840] \App_RuntimeCode\SOInvoiceEntry.cs(17): error CS0234: The type or namespace name 'LocationStatus' does not exist in the namespace 'PX.Objects.IN.Overrides.INDocumentRelease' (are you missing an assembly reference?)
[2025-05-21 05:27:06.840] \App_RuntimeCode\SOInvoiceEntry.cs(21): error CS0234: The type or namespace name 'SiteStatus' does not exist in the namespace 'PX.Objects.IN.Overrides.INDocumentRelease' (are you missing an assembly reference?)
[2025-05-21 05:27:06.840] \App_RuntimeCode\SOInvoiceEntry.cs(18): error CS0234: The type or namespace name 'LotSerialStatus' does not exist in the namespace 'PX.Objects.IN.Overrides.INDocumentRelease' (are you missing an assembly reference?)
[2025-05-21 05:27:06.840] \App_RuntimeCode\SOShipmentEntry.cs(19): error CS0234: The type or namespace name 'LocationStatus' does not exist in the namespace 'PX.Objects.IN.Overrides.INDocumentRelease' (are you missing an assembly reference?)
[2025-05-21 05:27:06.840] \App_RuntimeCode\SOShipmentEntry.cs(18): error CS0234: The type or namespace name 'SiteStatus' does not exist in the namespace 'PX.Objects.IN.Overrides.INDocumentRelease' (are you missing an assembly reference?)
[2025-05-21 05:27:06.840] \App_RuntimeCode\SOShipmentEntry.cs(20): error CS0234: The type or namespace name 'LotSerialStatus' does not exist in the namespace 'PX.Objects.IN.Overrides.INDocumentRelease' (are you missing an assembly reference?)
[2025-05-21 05:27:06.856] \App_RuntimeCode\InventoryAllocDetEnq.cs(19): error CS0234: The type or namespace name 'IQtyAllocated' does not exist in the namespace 'PX.Objects.IN.Overrides.INDocumentRelease' (are you missing an assembly reference?)

Best answer by svwk05

Hi ​@ray20 

You might already be aware, as of Acumatica 2024 R2, some DACs have been renamed. You can find the full details here:

https://acumatica-builds.s3.amazonaws.com/builds/24.2/ReleaseNotes/AcumaticaERP_2024R2_ReleaseNotes_for_Developers.pdf

Please update your references as follows:

SiteStatus → INSiteStatus

LocationStatus → INLocationStatus

LotSerialStatus → INLotSerialStatus

 

Hope this helps clarify things!!!

6 replies

Forum|alt.badge.img+1
  • Semi-Pro III
  • Answer
  • May 21, 2025

Hi ​@ray20 

You might already be aware, as of Acumatica 2024 R2, some DACs have been renamed. You can find the full details here:

https://acumatica-builds.s3.amazonaws.com/builds/24.2/ReleaseNotes/AcumaticaERP_2024R2_ReleaseNotes_for_Developers.pdf

Please update your references as follows:

SiteStatus → INSiteStatus

LocationStatus → INLocationStatus

LotSerialStatus → INLotSerialStatus

 

Hope this helps clarify things!!!


DipakNilkanth
Pro III
Forum|alt.badge.img+13

Hi ​@ray20,
 

You need to open your customization Project code in Visual studio and replace usings with the new names.

As per Acumatica 23 R2 Release notes LocationStatus, SiteStatus, LotSerialStatus DAC is removed. Instead You can use  LocationStatusByCostCenter, SiteStatusByCostCenter , LotSerialStatusByCostCenter with  PX.Objects.IN.DAC.Accumulators namespace.

http://acumatica-builds.s3.amazonaws.com/builds/23.2/ReleaseNotes/AcumaticaERP_2023R2_ReleaseNotes_for_Developers.pdf
 

Hope, it helps!


Forum|alt.badge.img+6
  • Author
  • Captain II
  • May 21, 2025

@Saikrishna V  Thank you,  actually the old “using ...” is added by PX framework.  In our own codes, we never use it. So I found if I just delete all these “using”, it is also OK to pass and publish successfully.


Forum|alt.badge.img+1
  • Semi-Pro III
  • May 21, 2025

Thanks for the update ​@ray20 


Forum|alt.badge.img+5

Hi ​@ray20,

I have attached an updated customization package, which will publish without any issue in 24 R2.


Hope, it helps!


Forum|alt.badge.img+6
  • Author
  • Captain II
  • May 21, 2025

@Ankita Tayana  Thank you so much, I really appreciate your help. I've already fixed it myself - I just needed to remove the obsolete “ using...” , still many thanks.