Ok I'm not sure if this is possible in WSI at the moment but is it possible to have the results from one query used in a Product Update?
for example:
<AspDotNetStorefrontImport Verbose="false">
<Query Name="call1" RowName="call1">
<SQL>
[dbo].[usp_ProductIDVarientIDLookupBySku] 'TJGCAPPOLODEF'
</SQL>
</Query>
<Query Name="call2" RowName="call2">
<SQL>
[dbo].[usp_ProductIDVarientIDLookupBySku] 'TJGCAPPOLODEF'
</SQL>
</Query>
<Product Action="Update" ID="call1.ProductID">
<Variants>
<Variant Action="Update" ID="call1.VariantID">
<Inventory>100</Inventory>
</Variant>
</Variants>
</Product>
</AspDotNetStorefrontImport>
usp_ProductIDVarientIDLookupBySku returns ProductID and VariantID when you pass in the full SKU
Or is there a better way to do this functionality?