新建一个job
static void onhand(Args _args)
{
InventOnhand onhand;
;
onhand = new InventOnhand();
onhand.parmInventLocationId('YK');//仓库
onhand.parmItemId('BG08010');//物料
info(strfmt('%1',onhand.physicalInvent()));
pause;
}
创建Job查询库存
本文介绍了一个简单的静态方法 onhand,该方法通过创建一个 InventOnhand 实例并设置参数来查询指定仓库 (YK) 中特定物料 (BG08010) 的物理库存。最后输出查询结果。
329

被折叠的 条评论
为什么被折叠?



