材料出库单
This commit is contained in:
@@ -9,6 +9,7 @@ using System.Windows.Forms;
|
||||
using System.Xml.Serialization;
|
||||
using System.IO;
|
||||
using System.Configuration;
|
||||
using NX.ERP.U8;
|
||||
|
||||
namespace U8AppMain
|
||||
{
|
||||
@@ -287,7 +288,7 @@ namespace U8AppMain
|
||||
|
||||
private void 登录ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
//u8LoginContext = new NX.ERP.U8.U8LoginContext();
|
||||
@@ -322,5 +323,38 @@ namespace U8AppMain
|
||||
}
|
||||
}); ; ;
|
||||
}
|
||||
|
||||
private void 材料出库单ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
//var a = new STVocher();
|
||||
//a.AddVocher();
|
||||
var a = new NX.ERP.U8.Store.MaterielStoreOutDAL();
|
||||
a.AddMaterielStoreOut(new NX.ERP.Model.Store.MaterielStoreOut()
|
||||
{
|
||||
Id = 1111,
|
||||
Code = "2222",
|
||||
Source = "生产订单",
|
||||
SourceCode = "SCDD210100009",
|
||||
Whcode = "2",
|
||||
|
||||
Date = DateTime.Now,
|
||||
Details = new List<NX.ERP.Model.Store.MaterielStoreOutDetail>()
|
||||
{
|
||||
new NX.ERP.Model.Store.MaterielStoreOutDetail()
|
||||
{
|
||||
BinCode="002070206",
|
||||
Cinvcode="218174",
|
||||
|
||||
sorceDetailId=1000200145,
|
||||
Quantity=1,
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user