|
|
@ -63,7 +63,9 @@ namespace ICSSoft.FromERP |
|
|
|
0 as RCVQuantity, |
|
|
|
A13.Code as DepCode, |
|
|
|
A22.Code as WHCode, |
|
|
|
'mostatus_initial' as MOStatus, |
|
|
|
case when A.DocState=2 then 'mostatus_initial' |
|
|
|
when A.DocState=3 then 'mostatus_close' |
|
|
|
else 'mostatus_initial' end as MOStatus, |
|
|
|
A2.Description as MOMemo, |
|
|
|
'2' as ERPStatus, |
|
|
|
A.StartDate as StartDate, |
|
|
@ -170,7 +172,7 @@ else Convert(varchar(10),a.ActualCompleteDate,120 ) end as ActualCompleteDate |
|
|
|
values.Add("LastModifierUserId", "'" + ConstWorkPoint.Muser + "'"); |
|
|
|
values.Add("LastModifierUserName", "'" + ConstWorkPoint.Musername + "'"); |
|
|
|
values.Add("LastModificationTime", "a.Mtime");//操作时间
|
|
|
|
//values.Add("Default1", "a.EATTRIBUTE1");
|
|
|
|
values.Add("Default1", "a.EATTRIBUTE1"); |
|
|
|
//values.Add("Default2", "a.NeedType");
|
|
|
|
values.Add("DocType", "a.MoDocType"); |
|
|
|
// values.Add("Default3", "a.ActualCompleteDate");
|
|
|
|