| | |
| | | dw_base.setNativePointer(GetControl(L"dw_base")); |
| | | if (!maint::m_EntityID) |
| | | { |
| | | //xstring suserid = TApp::GetUserInfo().id; |
| | | //xstring suserid = publiccode::GetUser().id; |
| | | xstring suserid = xaserver::GetUserId(); |
| | | xstring susername = TApp::GetUserInfo().name; |
| | | xstring sdate = TApp::GetCurDate(); |
| | | xstring susername = publiccode::GetUser().name; |
| | | xstring sdate = publiccode::GetCurrentDate(); |
| | | dw_base.SetItemString(dw_base.GetRow(), L"CreatorID", suserid);//Party |
| | | dw_base.SetItemDisplayString(dw_base.GetRow(), L"CreatorID", susername); |
| | | dw_base.SetItemString(dw_base.GetRow(), L"CreateDate", sdate); |