首页 > 其他 > 详细

工单完工入库Job

时间:2019-06-08 12:48:10      阅读:179      评论:0      收藏:0      [点我收藏+]
static void WL_YZF_ProdTableFinishingTest(Args _args)
{
ProdTable prodTable = ProdTable::find("prodId");
ProdParmReportFinished reportFinished;
ProdTableType tableType = ProdTableType::construct(prodTable);
InventDim inventDim;
;
inventDim.InventLocationId = "1";
inventDim.wMSLocationId = "A1";
ttsbegin;
reportFinished.clear();
reportFinished.initValue();
reportFinished.initFromProdTable(prodTable);
reportFinished.initParmDefault();
reportFinished.EndJob = NoYes::No;
reportFinished.QtyGood = 10;
reportFinished.InventDimId = InventDim::findOrCreate(inventDim).inventDimId;
reportFinished.insert();
tableType.runReportFinished(reportFinished);
ttscommit;
}

工单完工入库Job

原文:https://www.cnblogs.com/xtwkh1973/p/10990283.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!