diff --git a/NX.ERP.U8/AP/APVouch.cs b/NX.ERP.U8/AP/APVouch.cs
index 7fd5537..14b9477 100644
--- a/NX.ERP.U8/AP/APVouch.cs
+++ b/NX.ERP.U8/AP/APVouch.cs
@@ -9,7 +9,7 @@ using UFIDA.U8.U8MOMAPIFramework;
namespace NX.ERP.U8.AP
{
- public class APVouch : VoucherBase
+ public class APVouch : STVoucherBase
{
public APVouch() : base("应付单", "U8API/APVouch")
{
@@ -47,7 +47,7 @@ namespace NX.ERP.U8.AP
}
- protected override void LoadRdVoucher(VoucherParameter para)
+ protected override void LoadRdVoucher(STVoucherParameter para)
{
try
@@ -110,7 +110,7 @@ namespace NX.ERP.U8.AP
}
- protected override string AddRdVoucher(VoucherParameter para)
+ protected override string AddRdVoucher(STVoucherParameter para)
{
U8EnvContext u8EnvContext = new U8EnvContext
{
@@ -196,7 +196,7 @@ namespace NX.ERP.U8.AP
public string AddVocher(NX.ERP.Model.Request.ApVouch ApVouch)
{
- VoucherParameter voucherParameter = new VoucherParameter
+ STVoucherParameter voucherParameter = new STVoucherParameter
{
VoucherType = this.VoucherID,
DomHead = new DOMDocumentClass(),
diff --git a/NX.ERP.U8/NX.ERP.U8.csproj b/NX.ERP.U8/NX.ERP.U8.csproj
index 4b12e2b..9a60ecf 100644
--- a/NX.ERP.U8/NX.ERP.U8.csproj
+++ b/NX.ERP.U8/NX.ERP.U8.csproj
@@ -63,7 +63,7 @@
-
+
@@ -74,7 +74,7 @@
-
+
diff --git a/NX.ERP.U8/Store/BinChangeDAL.cs b/NX.ERP.U8/Store/BinChangeDAL.cs
index a674ca6..cc51428 100644
--- a/NX.ERP.U8/Store/BinChangeDAL.cs
+++ b/NX.ERP.U8/Store/BinChangeDAL.cs
@@ -6,7 +6,7 @@ using System.Text;
namespace NX.ERP.U8.Store
{
- public class BinChangeDAL : VoucherBase
+ public class BinChangeDAL : STVoucherBase
{
public BinChangeDAL() : base("19", "U8API/BinChange")
{
@@ -15,7 +15,7 @@ namespace NX.ERP.U8.Store
public string AddVocher(Model.Request.BinChange binChange)
{
- VoucherParameter voucherParameter = new VoucherParameter
+ STVoucherParameter voucherParameter = new STVoucherParameter
{
VoucherType = this.VoucherID,
DomHead = new DOMDocumentClass(),
diff --git a/NX.ERP.U8/Store/MaterialAppDAL.cs b/NX.ERP.U8/Store/MaterialAppDAL.cs
index cc92d19..0eea7b3 100644
--- a/NX.ERP.U8/Store/MaterialAppDAL.cs
+++ b/NX.ERP.U8/Store/MaterialAppDAL.cs
@@ -9,7 +9,7 @@ namespace NX.ERP.U8.Store
///
/// 领料申请
///
- public class MaterialAppDAL : VoucherBase
+ public class MaterialAppDAL : STVoucherBase
{
public MaterialAppDAL() : base("64", "U8API/MaterialApp")
{
@@ -24,7 +24,7 @@ namespace NX.ERP.U8.Store
//u8DbHelper.BeginTrans();
try
{
- VoucherParameter voucherParameter = new VoucherParameter
+ STVoucherParameter voucherParameter = new STVoucherParameter
{
VoucherType = this.VoucherID,
DomHead = new DOMDocumentClass(),
diff --git a/NX.ERP.U8/Store/MaterielStoreOutDAL.cs b/NX.ERP.U8/Store/MaterielStoreOutDAL.cs
index 0356525..8c817ab 100644
--- a/NX.ERP.U8/Store/MaterielStoreOutDAL.cs
+++ b/NX.ERP.U8/Store/MaterielStoreOutDAL.cs
@@ -14,7 +14,7 @@ namespace NX.ERP.U8.Store
///
/// 材料出库单
///
- public class MaterialStoreOutDAL : VoucherBase
+ public class MaterialStoreOutDAL : STVoucherBase
{
///
///
@@ -211,7 +211,7 @@ namespace NX.ERP.U8.Store
///
public string AddVocher(Model.Request.MaterialStoreOut storeOut)
{
- VoucherParameter voucherParameter = new VoucherParameter
+ STVoucherParameter voucherParameter = new STVoucherParameter
{
VoucherType = this.VoucherID,
DomHead = new DOMDocumentClass(),
@@ -296,7 +296,7 @@ namespace NX.ERP.U8.Store
///
///
///
- public bool UpdateVocher(Model.Request.MaterialStoreOut storeOut, VoucherParameter voucherParameter = null)
+ public bool UpdateVocher(Model.Request.MaterialStoreOut storeOut, STVoucherParameter voucherParameter = null)
{
if (voucherParameter == null)
{
diff --git a/NX.ERP.U8/Store/OtherStoreInDAL.cs b/NX.ERP.U8/Store/OtherStoreInDAL.cs
index 231e0ae..6910ce1 100644
--- a/NX.ERP.U8/Store/OtherStoreInDAL.cs
+++ b/NX.ERP.U8/Store/OtherStoreInDAL.cs
@@ -6,7 +6,7 @@ using System.Text;
namespace NX.ERP.U8.Store
{
- public class OtherStoreInDAL : VoucherBase
+ public class OtherStoreInDAL : STVoucherBase
{
public OtherStoreInDAL() : base("08", "U8API/otherin")
{
@@ -16,7 +16,7 @@ namespace NX.ERP.U8.Store
public string AddVocher(Model.Request.OtherStoreInOut storeIn)
{
- VoucherParameter voucherParameter = new VoucherParameter
+ STVoucherParameter voucherParameter = new STVoucherParameter
{
VoucherType = this.VoucherID,
DomHead = new DOMDocumentClass(),
@@ -117,7 +117,7 @@ namespace NX.ERP.U8.Store
- public bool UpdateVocher(Model.Request.OtherStoreInOut storeIn, VoucherParameter voucherParameter = null)
+ public bool UpdateVocher(Model.Request.OtherStoreInOut storeIn, STVoucherParameter voucherParameter = null)
{
if (voucherParameter == null)
diff --git a/NX.ERP.U8/Store/OtherStoreOutDAL.cs b/NX.ERP.U8/Store/OtherStoreOutDAL.cs
index 80a2ba7..bc6de17 100644
--- a/NX.ERP.U8/Store/OtherStoreOutDAL.cs
+++ b/NX.ERP.U8/Store/OtherStoreOutDAL.cs
@@ -6,7 +6,7 @@ using System.Text;
namespace NX.ERP.U8.Store
{
- public class OtherStoreOutDAL : VoucherBase
+ public class OtherStoreOutDAL : STVoucherBase
{
public OtherStoreOutDAL() : base("09", "U8API/otherout")
{
@@ -16,7 +16,7 @@ namespace NX.ERP.U8.Store
public string AddVocher(Model.Request.OtherStoreInOut storeIn)
{
- VoucherParameter voucherParameter = new VoucherParameter
+ STVoucherParameter voucherParameter = new STVoucherParameter
{
VoucherType = this.VoucherID,
DomHead = new DOMDocumentClass(),
@@ -119,7 +119,7 @@ namespace NX.ERP.U8.Store
- public bool UpdateVocher(Model.Request.OtherStoreInOut storeIn, VoucherParameter voucherParameter = null)
+ public bool UpdateVocher(Model.Request.OtherStoreInOut storeIn, STVoucherParameter voucherParameter = null)
{
if (voucherParameter == null)
diff --git a/NX.ERP.U8/Store/ProductInDAL.cs b/NX.ERP.U8/Store/ProductInDAL.cs
index e6c4c8f..a157c44 100644
--- a/NX.ERP.U8/Store/ProductInDAL.cs
+++ b/NX.ERP.U8/Store/ProductInDAL.cs
@@ -7,7 +7,7 @@ using System.Text;
namespace NX.ERP.U8.Store
{
- public class ProductInDAL : VoucherBase
+ public class ProductInDAL : STVoucherBase
{
public ProductInDAL() : base("10", "U8API/ProductIn")
{
@@ -16,7 +16,7 @@ namespace NX.ERP.U8.Store
public string AddVoucher(ProductStoreIn storeIn)
{
- VoucherParameter voucherParameter = new VoucherParameter
+ STVoucherParameter voucherParameter = new STVoucherParameter
{
VoucherType = this.VoucherID,
DomHead = new DOMDocumentClass(),
@@ -108,7 +108,7 @@ namespace NX.ERP.U8.Store
}
- public bool UpdateVoucher(ProductStoreIn storeIn, VoucherParameter voucherParameter=null)
+ public bool UpdateVoucher(ProductStoreIn storeIn, STVoucherParameter voucherParameter=null)
{
if (voucherParameter == null)
{
diff --git a/NX.ERP.U8/Store/PuStoreInDAL.cs b/NX.ERP.U8/Store/PuStoreInDAL.cs
index be023b5..cec493c 100644
--- a/NX.ERP.U8/Store/PuStoreInDAL.cs
+++ b/NX.ERP.U8/Store/PuStoreInDAL.cs
@@ -10,7 +10,7 @@ using UFIDA.U8.U8MOMAPIFramework;
namespace NX.ERP.U8.Store
{
- public class PuStoreInDAL : VoucherBase
+ public class PuStoreInDAL : STVoucherBase
{
public PuStoreInDAL() : base("01", "U8API/PuStoreIn")
{
@@ -25,7 +25,7 @@ namespace NX.ERP.U8.Store
{
try
{
- VoucherParameter voucherParameter = new VoucherParameter
+ STVoucherParameter voucherParameter = new STVoucherParameter
{
VoucherType = this.VoucherID,
DomHead = new DOMDocumentClass(),
@@ -162,7 +162,7 @@ namespace NX.ERP.U8.Store
- public bool UpdateVocher(Model.Request.PuStoreIn puStoreIn, VoucherParameter voucherParameter = null)
+ public bool UpdateVocher(Model.Request.PuStoreIn puStoreIn, STVoucherParameter voucherParameter = null)
{
try
{
diff --git a/NX.ERP.U8/Store/VoucherBase.cs b/NX.ERP.U8/Store/STVoucherBase.cs
similarity index 95%
rename from NX.ERP.U8/Store/VoucherBase.cs
rename to NX.ERP.U8/Store/STVoucherBase.cs
index 9074a4d..bc0b218 100644
--- a/NX.ERP.U8/Store/VoucherBase.cs
+++ b/NX.ERP.U8/Store/STVoucherBase.cs
@@ -9,7 +9,10 @@ using UFIDA.U8.U8MOMAPIFramework;
namespace NX.ERP.U8.Store
{
- public abstract class VoucherBase
+ ///
+ /// 库存模板基础类
+ ///
+ public abstract class STVoucherBase
{
private string voucherID;
@@ -19,7 +22,7 @@ namespace NX.ERP.U8.Store
private const string FLODER_NAME = "xml";
- static VoucherBase()
+ static STVoucherBase()
{
BasePath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, FLODER_NAME);
@@ -84,7 +87,7 @@ namespace NX.ERP.U8.Store
return this.voucherID;
}
}
- public VoucherBase(string voucherID, string Url)
+ public STVoucherBase(string voucherID, string Url)
{
this.voucherID = voucherID;
this.BaseUrl = Url;
@@ -131,7 +134,7 @@ namespace NX.ERP.U8.Store
- protected virtual void LoadRdVoucher(VoucherParameter para)
+ protected virtual void LoadRdVoucher(STVoucherParameter para)
{
try
{
@@ -204,7 +207,7 @@ namespace NX.ERP.U8.Store
- protected bool UpdateRdVoucher(VoucherParameter para)
+ protected bool UpdateRdVoucher(STVoucherParameter para)
{
@@ -286,7 +289,7 @@ namespace NX.ERP.U8.Store
}
- protected virtual string AddRdVoucher(VoucherParameter para)
+ protected virtual string AddRdVoucher(STVoucherParameter para)
{
string VoucherId;
@@ -381,9 +384,9 @@ namespace NX.ERP.U8.Store
- protected VoucherParameter LoadVoucher(string where)
+ protected STVoucherParameter LoadVoucher(string where)
{
- var rdVoucherParameter = new VoucherParameter
+ var rdVoucherParameter = new STVoucherParameter
{
VoucherType = this.VoucherID,
IsGetBlank = false,
@@ -402,11 +405,11 @@ namespace NX.ERP.U8.Store
private void LoadTemplate()
{
- VoucherParameter rdVoucherParameter = null;
+ STVoucherParameter rdVoucherParameter = null;
try
{
- rdVoucherParameter = new VoucherParameter
+ rdVoucherParameter = new STVoucherParameter
{
VoucherType = this.VoucherID,
IsGetBlank = true
diff --git a/NX.ERP.U8/VoucherParameter.cs b/NX.ERP.U8/Store/STVoucherParameter.cs
similarity index 96%
rename from NX.ERP.U8/VoucherParameter.cs
rename to NX.ERP.U8/Store/STVoucherParameter.cs
index 4ab10cf..9f148b3 100644
--- a/NX.ERP.U8/VoucherParameter.cs
+++ b/NX.ERP.U8/Store/STVoucherParameter.cs
@@ -6,7 +6,10 @@ using System.Text;
namespace NX.ERP.U8
{
- public class VoucherParameter
+ ///
+ /// 库存模块
+ ///
+ public class STVoucherParameter
{
private string string_0;
@@ -268,7 +271,7 @@ namespace NX.ERP.U8
}
}
- public VoucherParameter()
+ public STVoucherParameter()
{
isCheck = false;
diff --git a/NX.ERP.U8/Store/SaleOutDAL.cs b/NX.ERP.U8/Store/SaleOutDAL.cs
index 5646261..54c330a 100644
--- a/NX.ERP.U8/Store/SaleOutDAL.cs
+++ b/NX.ERP.U8/Store/SaleOutDAL.cs
@@ -7,7 +7,7 @@ using System.Text;
namespace NX.ERP.U8.Store
{
- public class SaleOutDAL : VoucherBase
+ public class SaleOutDAL : STVoucherBase
{
public SaleOutDAL() : base("32", "U8API/saleout")
{
@@ -18,7 +18,7 @@ namespace NX.ERP.U8.Store
public string AddVoucher(SaleStoreOut storeOut)
{
- VoucherParameter voucherParameter = new VoucherParameter
+ STVoucherParameter voucherParameter = new STVoucherParameter
{
VoucherType = this.VoucherID,
DomHead = new DOMDocumentClass(),
@@ -125,7 +125,7 @@ namespace NX.ERP.U8.Store
- public bool UpdateVoucher(SaleStoreOut storeOut, VoucherParameter voucherParameter = null)
+ public bool UpdateVoucher(SaleStoreOut storeOut, STVoucherParameter voucherParameter = null)
{
if (voucherParameter == null)
{