Solved

How to fix Acuminator warning PX1076

  • 25 March 2024
  • 2 replies
  • 62 views

I am encountering a warning message with the following content. Could you please assist us in resolving this issue?


 PX1076
"Warning"
This code calls Acumatica internal API marked with PXInternalUseOnlyAttribute which is not intended for public use.

  CustomerSchemaDetails details = SalesPersons.Search<CustomerSchemaDetails.sourceField>(SchemaConstants.LocationID);
   if (details?.IsActive == false)
     {
          details.IsActive = true; // am getting warning in this line number
          SalesPersons.Cache.Update(details);
     }
     
Thank you in advance.
 
 

icon

Best answer by vardan22 23 April 2024, 15:06

View original

2 replies

Userlevel 7
Badge +11

Hi Sruthi,

We got the same warning and got the below response from the Acumatica ISV team,

In the code, some Acumatica entities are used that make with PXInternalUseAttribute. This is left by the developers, to denote.

that those entities should not be reused by ISV solutions and customizations. So we cannot validate those matters in an automated way and one of the Technical Account Managers will review this part manually. At this point, nothing is required from our side about those items.

Userlevel 4
Badge +1

At this moment, a fix is not available for this warning message.

In the development of ISV products, there are often instances where methods or interfaces marked as PXInternalUseOnly need to be utilized.

For example, the IReportLoaderService interface could be used to generate .pdf files from Acumatica reports.

In my opinion, until fix became available, to bypass this warning, a comment with proper justification should be added.

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