检查库存 [英] check inventory

查看:87
本文介绍了检查库存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑更改inv_CheckInventory&中的逻辑。 inv_UpdateInventory sprocs满足客户端的sku条件要求。然后客户端尖叫,更改存储过程会将CS置于不受支持的状态。我的问题是..当MS有方向指示时,
是可能的。将Basket或OrderTemplate的弱类型索引器属性映射到显式数据库列,其中包括手动编辑5个存储过程。 有人可以开导我吗?

I was looking at changing the logic in the inv_CheckInventory & inv_UpdateInventory sprocs to meet the client's sku condition requirements. Then the client screams that changing stored procedures puts CS into an unsupported state. My question is..how is that possible, when MS had directions to  map a weakly typed indexer property of a Basket or an OrderTemplate to an explicit database column, which includes manually editing 5 stored procedures.  Can someone enlighten me?

推荐答案

CheckInventory是通过管道(篮子管道)执行的。为什么不创建管道,实现自定义逻辑/代码并补充现有的checkInventory(Commerce.CheckInventory)管道。
CheckInventory is performed through pipelines(basket pipeline). Why don't you create your pipelines, implement your custom logic/code and replece existing checkInventory(Commerce.CheckInventory) pipelines.


这篇关于检查库存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆