@pgeanous May I ask why you are trying with Screen Based SOAP API?
It’s considered outdated and will be removed in some time.
I’d recommend you to use Contract Based REST API instead.
I read that the screen based soap api was still active and the contract soap api was discontinued, but if thats the case I do have the REST api working, but for completeness I was going to do the SOAP.
Hi @pgeanous ,
First, make sure you have the necessary references in your project. You should be referencing the Acumatica SOAP API libraries and PX.Objects. The Screen class is typically part of the PX.Objects namespace.
Then check that you've included the correct Using statements at the top of your file. For example:
csharp
using PX.Objects;
using PX.Data;
Also, maybe you need to check if you're targeting the right project type or framework version that supports screen-based interactions. Acumatica provides WSDLs for accessing the data via SOAP but some methods may require you to interact directly with the Acumatica framework.
If nothing helps, double-check that your environment is set up correctly by ensuring that your Acumatica instance is running in the correct mode for external access and that your SOAP service is properly configured.
Hope it will help you so solve the problem
I read that the screen based soap api was still active and the contract soap api was discontinued, but if thats the case I do have the REST api working, but for completeness I was going to do the SOAP.
@pgeanous SOAP screen based API is still active, but not for very long. We just keep it for backward compatibility with existing integrations. I’d not recommend implementing any new integraitons using SOAP API.
Thanks for the update, the using statements fixed my problem , but I will use the REST api .