Hi, This function works by loading oxarticle by oxid, assigning oxstock and saving the object. your error message is only thrown, if the article cannot be loaded by the given oxid.
Tip: pls check if you logged in to the correct subshop for that article. Regards, Sarunas ________________________________________ From: [email protected] [[email protected]] on behalf of M. Bladowski [[email protected]] Sent: Saturday, January 15, 2011 2:55 PM To: [email protected] Subject: [oxid-dev-general] ERP Api Problem: SetArticleStock hi there, does anyone know how to use the call "SetArticleStock" ?? i always get the message: Object does not exist ;( here´s what i try: Array ( [sSessionID] => 48e5e34f5bb7baa1321ea2ede3d9b423 [aArticleStock] => Array ( [0] => Array ( [aResult] => Array ( [0] => Array ( [0] => oxshopid [1] => 1 ) [1] => Array ( [0] => oxid [1] => 62306 ) [2] => Array ( [0] => oxstock [1] => 114 ) ) [blResult] => [sMessage] => ) ) ) oxshopid was added be myself, without i get the same error: stdClass Object ( [OXERPSetArticleStockResult] => stdClass Object ( [OXERPType] => stdClass Object ( [aResult] => stdClass Object ( ) [blResult] => [sMessage] => Object does not exist ) ) ) i am working with the wsdl 2.7.0 and erp api version 4.4.3. thank you for any help,hint,tip! best regards, micha -- Mit freundlichen Grüßen MACROPAGE e.K. Michael Bladowski Maximilianstrasse 6 93047 Regensburg Mobil: 0179-2301067 Voip: 0941-56955585 [email protected] http://blog.macropage.de [[[ FOLLOW ME: http://twitter.com/michabbb ]]] Handelsregister Regensburg HRA 7490 · Finanzamt Regensburg DE 210758353 _______________________________________________________________________ Unsere Dienstleistungen: Internetserviceprovider, Entwicklung u. Programmierung, Web- und Grafikdesign, Schulung, Beratung, Problemlöser _______________________________________________ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general _______________________________________________ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
