Skip to main content
Solved

Adding a Data filed to a Shipping line


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?)

Best answer by Naveen Boga

@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;
View original
Did this topic help you find an answer to your question?

3 replies

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3393 replies
  • July 1, 2023

@Arlene Can you please the customization package here.


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3393 replies
  • Answer
  • July 6, 2023

@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;

Forum|alt.badge.img+9
  • Semi-Pro III
  • 229 replies
  • July 6, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings