| | |
| | | |
| | | int OnRetrieve() |
| | | { |
| | | xml x = new xml; |
| | | xml x ; |
| | | |
| | | xaserverarg arg; |
| | | |
| | |
| | | arg0.AddArg(L"EntityIDName", L"ColorCardID",L"xs:xstring"); |
| | | arg0.AddArg(L"EntityID", guid,L"xs:xstring"); |
| | | arg0.AddArg(L"FunctionCode", comdid,L"xs:xstring"); |
| | | xml x = new xml; |
| | | xml x ; |
| | | |
| | | |
| | | if(xurl::get(L"/sale/data/Role.config/sys/sql/action", arg0.GetString(), x) != 1) |
| | |
| | | rec = OnPreSave(); |
| | | if (rec == -1) |
| | | return -1; |
| | | xml x= new xml; |
| | | xml x; |
| | | |
| | | dw_list.DwUpdateAllToEx(x); |
| | | xaserverarg arg; |
| | |
| | | |
| | | int OnSave() |
| | | { |
| | | xml x = new xml; |
| | | xml x ; |
| | | |
| | | dw_list.AcceptText(); |
| | | dw_list.DwUpdateAllToEx(x); |
| | |
| | | |
| | | int OnRetrieve() |
| | | { |
| | | xml x = new xml; |
| | | xml x ; |
| | | |
| | | xaserverarg arg; |
| | | |
| | |
| | | int OnSave() |
| | | { |
| | | dw_list.AcceptText(); |
| | | xml x= new xml; |
| | | xml x; |
| | | |
| | | dw_list.DwUpdateAllToEx(x); |
| | | |
| | |
| | | |
| | | int OnRetrieve() |
| | | { |
| | | xml x = new xml; |
| | | xml x ; |
| | | |
| | | if (getUrl(L"/sale/data/LogisticsCode/entity/freightexpensetype/list",L"",x)!=1) |
| | | { |
| | |
| | | } |
| | | int OnSave() |
| | | { |
| | | xml x = new xml; |
| | | xml x ; |
| | | |
| | | dw_list.AcceptText(); |
| | | dw_list.DwUpdateAllToEx(x); |
| | |
| | | |
| | | int OnRetrieve() |
| | | { |
| | | xml x = new xml; |
| | | xml x ; |
| | | x = ViewObject::RetrieveData(L"/sale/data/Gdn/profit/profitParamList"); |
| | | if(x) |
| | | { |
| | |
| | | xstring TemplateContent = e.selectSingleNode(L"TemplateContent").text+L""; |
| | | xstring TemplateID = e.selectSingleNode(L"TemplateID").text+L""; |
| | | //trace(ItemName); |
| | | xml x = new xml; |
| | | xml x ; |
| | | x.setNativePointer(x.CreateInstance()); |
| | | x.LoadXml(TemplateContent); |
| | | dw_other.Retrieve(x); |
| | |
| | | |
| | | int OnRetrieve() |
| | | { |
| | | xml x = new xml; |
| | | xml x; |
| | | |
| | | xaserverarg arg; |
| | | |
| | |
| | | |
| | | int OnRetrieve() |
| | | { |
| | | xml x = new xml; |
| | | xml x; |
| | | |
| | | xaserverarg arg; |
| | | |
| | |
| | | |
| | | int OnRetrieve() |
| | | { |
| | | xml x = new xml; |
| | | xml x ; |
| | | |
| | | xaserverarg arg; |
| | | |
| | |
| | | |
| | | args.AddArg(L"CSpec", cspec); |
| | | args.AddArg(L"SpecRule", SpecRule); |
| | | xml x = new xml; |
| | | xml x; |
| | | |
| | | getUrl(L"/sale/data/LogisticsCode/pref/forwarderno/check", args.GetString(), x); |
| | | if (x.selectSingleNode(L"root/spec")) |
| | |
| | | /* |
| | | int OnRetrieve() |
| | | { |
| | | xml x = new xml; |
| | | xml x ; |
| | | x.setNativePointer(xml::CreateInstance()); |
| | | xaserverarg arg = new xaserverarg; |
| | | arg.setNativePointer(arg.CreateInstance()); |
| | |
| | | |
| | | int OnRetrieve() |
| | | { |
| | | xml x = new xml; |
| | | xml x ; |
| | | |
| | | xaserverarg arg; |
| | | |
| | |
| | | #include "viewobject/view.base.hpp" |
| | | |
| | | using xml = KXMLDOMDocument; |
| | | class __declspec(dllexport) SysUser : public xwin |
| | | class __declspec(dllexport) SysUser : public listwin |
| | | { |
| | | public: |
| | | xtreeview tv_usergroup; |
| | |
| | | xnode m_agentNode; |
| | | xstring strJobID; |
| | | public: |
| | | SysUser(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {} |
| | | SysUser(void* implPtr, HWND hWnd) :listwin(implPtr, hWnd) {} |
| | | public: |
| | | static SysUser* CreateInstance(void* implPtr, void* hWnd) |
| | | { |
| | |
| | | return 1; |
| | | } |
| | | |
| | | int SetEntityData(param p) |
| | | int SetEntityData(LPARAM p) |
| | | { |
| | | xml x; |
| | | |
| | |
| | | { |
| | | m_agentNode = new xnode; |
| | | |
| | | tv_usergroup = new treeview; |
| | | tv_usergroup.setNativePointer(GetControl(L"tv_usergroup")); |
| | | tv_usergroup = GetControl(L"tv_usergroup"); |
| | | dw_user = new xdwgrid; |
| | | dw_user.setNativePointer(GetControl(L"dw_user")); |
| | | dw_user.SetDataObject(GetServerUrl(), L"dev:sheet[SysUser.tpl/UserList]"); |