Merge branch 'master' of https://code.gxhnet.com/gongxh/u8-import
This commit is contained in:
16
NX.ERP.BLL/Model/MomOrder.cs
Normal file
16
NX.ERP.BLL/Model/MomOrder.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.BLL.Model
|
||||
{
|
||||
public class MomOrder
|
||||
{
|
||||
|
||||
public string product_order_no { get; set; }
|
||||
public string product_code { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -42,6 +42,7 @@
|
||||
<Compile Include="Model\InboundDetail.cs" />
|
||||
<Compile Include="Model\InboundType.cs" />
|
||||
<Compile Include="Model\Inbound.cs" />
|
||||
<Compile Include="Model\MomOrder.cs" />
|
||||
<Compile Include="Model\OutBound.cs" />
|
||||
<Compile Include="Model\OutBoundDetail.cs" />
|
||||
<Compile Include="Model\OutBoundType.cs" />
|
||||
|
||||
@@ -18,6 +18,7 @@ namespace NX.ERP.BLL.Store
|
||||
var dal = new NX.ERP.U8.Store.PuStoreInDAL();
|
||||
ID = dal.AddVocher(new ERP.Model.Request.PuStoreIn()
|
||||
{
|
||||
Code = "190700000050",
|
||||
Date = inbound.InboundDate,
|
||||
Source = inbound.SourceName,
|
||||
SourceCode = inbound.SourceNo,
|
||||
@@ -44,6 +45,9 @@ namespace NX.ERP.BLL.Store
|
||||
var dal = new NX.ERP.U8.Store.ProductInDAL();
|
||||
ID = dal.AddVoucher(new ERP.Model.Request.ProductStoreIn()
|
||||
{
|
||||
Code= "19100002",
|
||||
|
||||
|
||||
Date = inbound.InboundDate,
|
||||
Source = inbound.SourceName,
|
||||
SourceCode = inbound.SourceNo,
|
||||
@@ -68,6 +72,7 @@ namespace NX.ERP.BLL.Store
|
||||
var dal = new NX.ERP.U8.Store.OtherStoreInDAL();
|
||||
ID = dal.AddVocher(new ERP.Model.Request.OtherStoreInOut()
|
||||
{
|
||||
Code= "19100028",
|
||||
Date = inbound.InboundDate,
|
||||
WhCode = inbound.WarehouseCode,
|
||||
Maker = inbound.Maker,
|
||||
|
||||
@@ -17,6 +17,7 @@ namespace NX.ERP.BLL.Store
|
||||
var dal = new U8.Store.MaterielStoreOutDAL();
|
||||
ID = dal.AddVocher(new ERP.Model.Request.MaterielStoreOut()
|
||||
{
|
||||
Code= "191000000007",
|
||||
Date = outBound.OutboundDate,
|
||||
Maker = outBound.Maker,
|
||||
Source = outBound.SourceName,
|
||||
@@ -43,6 +44,7 @@ namespace NX.ERP.BLL.Store
|
||||
var dal = new U8.Store.SaleOutDAL();
|
||||
ID = dal.AddVoucher(new ERP.Model.Request.SaleStoreOut()
|
||||
{
|
||||
Code = "191000000003",
|
||||
Date = outBound.OutboundDate,
|
||||
WhCode = outBound.Maker,
|
||||
Source = outBound.SourceName,
|
||||
@@ -68,7 +70,7 @@ namespace NX.ERP.BLL.Store
|
||||
{
|
||||
Date = outBound.OutboundDate,
|
||||
WhCode = outBound.Maker,
|
||||
|
||||
Code= "19100032",
|
||||
Maker = outBound.Maker,
|
||||
details = outBound.OutboundDtlLst.ConvertAll(m =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user