Jump to content

TeeT

Recommended Posts

Hello EveryBody,
 
I try to develop a desktop application with c#.net. The program can connect to my site's Database via webservice. i could manage many things but the add new product is the problem for me. Actually i can add new product but i can not set the supplier of this product. 
 
 
....
....
....
NewProduct.id_supplier = (long)18; //id of supplier
NewProduct.supplier_reference = NameOfSupplier;
product ReturnProduct = ProductFactory.Add(NewProduct)
 
 
 
after this operation ReturnProduct.id_supplier = 18 is correct but when i open the Manager console of the my site and open the the product properties the Suppliers was not be selected, of course in the site the product can not be shown in this supplier's category.
 
 
i try to everything to solve this problem but i couldn't..
 
 
 
 
 

 

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...