diff --git a/ICSSoft.FromERP/ICSSoft.Frame.Data.Entity/Fram.dbml b/ICSSoft.FromERP/ICSSoft.Frame.Data.Entity/Fram.dbml index f95ec6f..4cfd340 100644 --- a/ICSSoft.FromERP/ICSSoft.Frame.Data.Entity/Fram.dbml +++ b/ICSSoft.FromERP/ICSSoft.Frame.Data.Entity/Fram.dbml @@ -105,6 +105,8 @@ + + diff --git a/ICSSoft.FromERP/ICSSoft.Frame.Data.Entity/Fram.designer.cs b/ICSSoft.FromERP/ICSSoft.Frame.Data.Entity/Fram.designer.cs index cb3b83e..516c379 100644 --- a/ICSSoft.FromERP/ICSSoft.Frame.Data.Entity/Fram.designer.cs +++ b/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; diff --git a/ICSSoft.FromERP/ICSSoft.FromERP/ICSSAPDocGet.cs b/ICSSoft.FromERP/ICSSoft.FromERP/ICSSAPDocGet.cs index 122b8f4..881413f 100644 --- a/ICSSoft.FromERP/ICSSoft.FromERP/ICSSAPDocGet.cs +++ b/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; //套数 diff --git a/ICSSoft.FromERP/ICSSoft.Test/Program.cs b/ICSSoft.FromERP/ICSSoft.Test/Program.cs index e396c46..be9af31 100644 --- a/ICSSoft.FromERP/ICSSoft.Test/Program.cs +++ b/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(); diff --git a/ICSSoft.FromERP/Root/ICSSoft.Frame.Data.Entity.dll b/ICSSoft.FromERP/Root/ICSSoft.Frame.Data.Entity.dll index aa09d50..ca93d8c 100644 Binary files a/ICSSoft.FromERP/Root/ICSSoft.Frame.Data.Entity.dll and b/ICSSoft.FromERP/Root/ICSSoft.Frame.Data.Entity.dll differ