Quantcast
Channel: Microsoft Dynamics NAV Forum - Recent Threads
Viewing all articles
Browse latest Browse all 29197

Create ItemCard via Webservices through PHP

$
0
0

I am attempting to create a new ItemCard record in Dynamics NAV using PHP via webservices.

I am able to create an empty  ItemCard record without any issues. However when I attempt to "update" the newly created record immediately afterwards, I get the following error:

"Element "Key" in namespace "urn:microsoft-dynamics-schemas/page/itemcard" is missing from the message!".

The ItemCard object param looks like this:

ItemCard Object
(
    [Key] => 300;GwAAAACJBTcwMDk1AAAAA [ VERY LONG STRING ] AAAA=6;2311140;
    [No] => 70095
    [Description] => Hello World
    [Inventory] => 25
    [Gen_Prod_Posting_Group] => 
    [Unit_Price] => 1000 
)

 Anyone know what I could be doing wrong? Is the format of the Key wrong? What should it be? Any help appreciated.


Viewing all articles
Browse latest Browse all 29197

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>