关于简单生产入库单批号应用原创
金蝶云社区-相遇辉辉
相遇辉辉
5人赞赏了该文章 157次浏览 未经作者许可,禁止转载编辑于2023年08月01日 14:05:04

image.png根据物料、批号,读取批号值的形式分为:

1、如果批号录入模式为【批号主档与文本】或【仅文本】,获取批号值为:

string strFlot = Convert.ToString(this.View.Model.GetValue("Flot", intRowID)) ;//批号

2、如果批号录入模式为【仅批号主档】,获取批号值为:

//作为基础资料的方法    

//DynamicObject Flot = this.View.Model.GetValue("Flot", intRowID) as DynamicObject;

 //string lot = Flot["NAME"].ToString();

 //string Id = Flot["id"].ToString();

后续根据需要进行读取或写入使用。这里不再详述……


赞 5