Hi guys,
It might be a stupid question to ask, therefore I appologise in advance.
I am trying to get a product based on the PrductNumber.
I have searched the APi and found a method (Product.GetProductByNumber) that is marked as Obsolete.
In order to avoid revisiting the code in the future, I would like to use the new and approved method that is future-proof.
I have found this recommendation [ObsoleteAttribute("Use 'ProductService.GetProductByNumber' instead")] but I could not figure out how to use it.
The only reference to ProductService that I could find was in a namespace called Synchronization (or something similar).
Can you point me in the right direction?
Thank you,
Adrian