Solved

Adding a Data filed to a Shipping line

  • 30 June 2023
  • 3 replies
  • 55 views

Userlevel 2

We are trying to a a new data field to a shipping line to capture a unique product number other than serial number at time of shipment.  

We add to the grid, and receive this error when publishing.  Can anyone assist?  What do we need to look for to correct this error?

[2023-06-30 17:21:13.830] \App_RuntimeCode\PX_Objects_SO_SOShipLineSplit_extensions.cs(1): error CS0246: The type or namespace name 'Data' could not be found (are you missing a using directive or an assembly reference?)
icon

Best answer by Naveen Boga 6 July 2023, 06:32

View original

3 replies

Userlevel 7
Badge +17

@Arlene Can you please the customization package here.

Userlevel 7
Badge +17

@Arlene  I think this is an issue with the namespaces that you added. You might need to below namespaces correctly, and other required namespaces and check once.

  1. using PX.Common;
  2. using PX.Data;
Userlevel 7
Badge +10

Hi @Arlene,

 

As mentioned by @Naveen Boga , you can resolve the issue by using namespaces. 

Additionally, make sure to check and confirm that the necessary assembly reference is included in your project. The 'Data' namespace is part of the Acumatica Framework, so ensure that the 'PX.Data' assembly is referenced correctly. You can do this by right-clicking on your project in the Solution Explorer, selecting "Add Reference," and then selecting the appropriate assembly.

 

Regards,

Sweta

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