Switch warehouse matching to use IDs
This commit is contained in:
@@ -14,6 +14,7 @@ namespace Model
|
||||
public string TypeString { get; set; }
|
||||
public string CreateManName { get; set; }
|
||||
public string WarehouseManName { get; set; }
|
||||
public string WarehouseName { get; set; }
|
||||
public string AuditManName { get; set; }
|
||||
public string AuditManName2 { get; set; }
|
||||
public string ReqUnitName { get; set; }
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
{
|
||||
public class Tw_MaterialStockOutput: Tw_MaterialStock
|
||||
{
|
||||
public string WarehouseName { get; set; }
|
||||
public string Code { get; set; }
|
||||
public string HeatNo { get; set; }
|
||||
public string BatchNo { get; set; }
|
||||
|
||||
@@ -6,6 +6,8 @@ namespace Model
|
||||
{
|
||||
public string WarehouseCode { get; set; }
|
||||
|
||||
public string WarehouseId { get; set; }
|
||||
|
||||
public string MaterialCode { get; set; }
|
||||
|
||||
public string Code { get; set; }
|
||||
|
||||
@@ -0,0 +1,85 @@
|
||||
using System;
|
||||
using System.Data.Linq.Mapping;
|
||||
|
||||
namespace Model
|
||||
{
|
||||
public partial class Tw_InOutPlanMaster
|
||||
{
|
||||
private string _WarehouseId;
|
||||
|
||||
[Column(Storage = "_WarehouseId", DbType = "NVarChar(50)")]
|
||||
public string WarehouseId
|
||||
{
|
||||
get { return this._WarehouseId; }
|
||||
set
|
||||
{
|
||||
if (this._WarehouseId != value)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
this._WarehouseId = value;
|
||||
this.SendPropertyChanged("WarehouseId");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public partial class Tw_InputMaster
|
||||
{
|
||||
private string _WarehouseId;
|
||||
|
||||
[Column(Storage = "_WarehouseId", DbType = "NVarChar(50)")]
|
||||
public string WarehouseId
|
||||
{
|
||||
get { return this._WarehouseId; }
|
||||
set
|
||||
{
|
||||
if (this._WarehouseId != value)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
this._WarehouseId = value;
|
||||
this.SendPropertyChanged("WarehouseId");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public partial class Tw_OutputMaster
|
||||
{
|
||||
private string _WarehouseId;
|
||||
|
||||
[Column(Storage = "_WarehouseId", DbType = "NVarChar(50)")]
|
||||
public string WarehouseId
|
||||
{
|
||||
get { return this._WarehouseId; }
|
||||
set
|
||||
{
|
||||
if (this._WarehouseId != value)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
this._WarehouseId = value;
|
||||
this.SendPropertyChanged("WarehouseId");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public partial class Tw_MaterialStock
|
||||
{
|
||||
private string _WarehouseId;
|
||||
|
||||
[Column(Storage = "_WarehouseId", DbType = "NVarChar(50)")]
|
||||
public string WarehouseId
|
||||
{
|
||||
get { return this._WarehouseId; }
|
||||
set
|
||||
{
|
||||
if (this._WarehouseId != value)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
this._WarehouseId = value;
|
||||
this.SendPropertyChanged("WarehouseId");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -233,6 +233,7 @@
|
||||
<Compile Include="CLGL\Tw_MaterialStockOutput.cs" />
|
||||
<Compile Include="CLGL\Tw_OutHistoryDataIn.cs" />
|
||||
<Compile Include="CLGL\Tw_OutHistoryImportRow.cs" />
|
||||
<Compile Include="CLGL\Tw_WarehouseIdExtensions.cs" />
|
||||
<Compile Include="CLGL\Tw_PipeLineMat.cs" />
|
||||
<Compile Include="CLGL\AntiCorrosionTrustOutput.cs" />
|
||||
<Compile Include="CLGL\AntiCorrosionTrustDetailOutput.cs" />
|
||||
|
||||
Reference in New Issue
Block a user