Commerce Server Inventory Update from BizTalk

Hello, I am trying to arbitrarily modify a products "List Price" in the Commerce Server inventory from a BizTalk server. From what I understand I have to construct an inventory message to send to the BizTalk Commerce Server Send Adapter. Essentially I have a product ID and a new price to set ion commerce server. Do I have to construct a complete inventory message for a given item, or can I just send product ID and price? Or should I query the original inventory record and then modify the List Price property before sending it back to the inventory adapter?

I am just beginning to wrap my head around this process so I apologize if this doesn't make any sense. Any info in the right direction would be a huge help. Thanks a ton.

Jason

[754 byte] By [jtd514] at [2007-12-27]
# 1

Hey Jason,

Here is an example of the minimum that you can get by with on a Inventory Import using the Inventory Send Adapter. You can send this file to the Inventory Send Adapter and, for this example, will update the AW007-08" ProductId with VariantId="44" with a new quantity of 999999.

<?xml version="1.0" encoding="utf-8"?>

<MSInventoryCollection version="1.0">

<InventoryCatalog name="Adventure Works Inventory">

<InventorySku ProductCatalogName="Adventure Works Catalog" ProductId="AW007-08" VariantId="44" OnHandQuantity="999999" Status="1" />

.......

</InventoryCatalog>

</MSInventoryCollection>

Status values are as follows:

Status = 1 ==> Inventory Sku is enabled

Status = 0 ==> Inventory Sku is disabled. Product is always out of stock.

Status = 2 ==> Inventory is ignored. Product is always in stock.

Hope this helps and let me know if you have any additional questions or need more information.

Thanks

Alan

AlanF-MSFT at 2007-9-3 > top of Msdn Tech,Commerce Server,Commerce Server 2007...