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.