Browse Source

新增同步售后领料客户名称和页码字段

master
lilili 2 years ago
parent
commit
8b13b76618
  1. 2
      ICSSoft.FromERP/ICSSoft.Frame.Data.Entity/Fram.dbml
  2. 48
      ICSSoft.FromERP/ICSSoft.Frame.Data.Entity/Fram.designer.cs
  3. 14
      ICSSoft.FromERP/ICSSoft.FromERP/ICSSAPDocGet.cs
  4. 8
      ICSSoft.FromERP/ICSSoft.Test/Program.cs
  5. BIN
      ICSSoft.FromERP/Root/ICSSoft.Frame.Data.Entity.dll

2
ICSSoft.FromERP/ICSSoft.Frame.Data.Entity/Fram.dbml

@ -105,6 +105,8 @@
<Column Name="StockIndicator" Type="System.String" DbType="NVarChar(1)" CanBeNull="true" />
<Column Name="IsSerialNumber" Type="System.String" DbType="NVarChar(4)" CanBeNull="true" />
<Column Name="SAPSequence" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
<Column Name="CustomerName" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
<Column Name="Pagination" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
</Type>
</Table>
<Table Name="dbo.ICSMOApplyNeg" Member="ICSMOApplyNeg">

48
ICSSoft.FromERP/ICSSoft.Frame.Data.Entity/Fram.designer.cs

@ -1732,6 +1732,10 @@ namespace ICSSoft.Frame.Data.Entity
private string _SAPSequence;
private string _CustomerName;
private string _Pagination;
#region 可扩展性方法定义
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@ -1822,6 +1826,10 @@ namespace ICSSoft.Frame.Data.Entity
partial void OnIsSerialNumberChanged();
partial void OnSAPSequenceChanging(string value);
partial void OnSAPSequenceChanged();
partial void OnCustomerNameChanging(string value);
partial void OnCustomerNameChanged();
partial void OnPaginationChanging(string value);
partial void OnPaginationChanged();
#endregion
public ICSMOApply()
@ -2689,6 +2697,46 @@ namespace ICSSoft.Frame.Data.Entity
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CustomerName", DbType="NVarChar(50)")]
public string CustomerName
{
get
{
return this._CustomerName;
}
set
{
if ((this._CustomerName != value))
{
this.OnCustomerNameChanging(value);
this.SendPropertyChanging();
this._CustomerName = value;
this.SendPropertyChanged("CustomerName");
this.OnCustomerNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Pagination", DbType="NVarChar(50)")]
public string Pagination
{
get
{
return this._Pagination;
}
set
{
if ((this._Pagination != value))
{
this.OnPaginationChanging(value);
this.SendPropertyChanging();
this._Pagination = value;
this.SendPropertyChanged("Pagination");
this.OnPaginationChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;

14
ICSSoft.FromERP/ICSSoft.FromERP/ICSSAPDocGet.cs

@ -834,6 +834,13 @@ namespace ICSSoft.FromERP
line.ExtensionID = ExtensionID;
line.EATTRIBUTE = Info.LEIXING;//单据类型
//售后领料 同步 客户名称和分页
if (Info.LEIXING=="17")
{
line.CustomerName = Info.TEST4;
line.Pagination = Info.TEST5;
}
//订单号
line.OrderNumber = Info.AUFNR;
//套数
@ -997,6 +1004,13 @@ namespace ICSSoft.FromERP
line.ExtensionID = ExtensionID;
line.EATTRIBUTE = Info.LEIXING;//单据类型
//售后领料 同步 客户名称和分页
if (Info.LEIXING == "17")
{
line.CustomerName = Info.TEST4;
line.Pagination = Info.TEST5;
}
//订单号
line.OrderNumber = Info.AUFNR;
//套数

8
ICSSoft.FromERP/ICSSoft.Test/Program.cs

@ -13,12 +13,12 @@ namespace ICSSoft.Test
//ICSVendor test = new ICSVendor();
//test.Execute();
//ICSSAPDocGet test = new ICSSAPDocGet();
//test.Execute();
ICSDispatchDoc test = new ICSDispatchDoc();
ICSSAPDocGet test = new ICSSAPDocGet();
test.Execute();
//ICSDispatchDoc test = new ICSDispatchDoc();
//test.Execute();
//ICSInventory test = new ICSInventory();
//test.Execute();

BIN
ICSSoft.FromERP/Root/ICSSoft.Frame.Data.Entity.dll

Binary file not shown.
Loading…
Cancel
Save