UFSoft.UBF.PL.Engine.Cache.PLCacheManager.DataCache.FlushCache();
UFSoft.UBF.PL.Engine.Cache.PLCacheManager.ObjectCache.FlushCache();
Ship shipdoc = Ship.Finder.FindByID(shipID); // 出货单
// 提交
ShipmentSubmitProxy submitpx = new ShipmentSubmitProxy();
submitpx.ShipmentKey = shipID;
submitpx.SysVersion = shipdoc.SysVersion;
submitpx.Do();
UFSoft.UBF.PL.Engine.Cache.PLCacheManager.DataCache.FlushCache();
UFSoft.UBF.PL.Engine.Cache.PLCacheManager.ObjectCache.FlushCache();
shipdoc = Ship.Finder.FindByID(shipID); // 出货单
// 审核
ShipmentApproveProxy apppx = new ShipmentApproveProxy();
apppx.ShipmentKey = shipdoc.ID;
apppx.SysVersion = shipdoc.SysVersion;
apppx.Do();
评论