|  |  | 
 |  |  |       }*/ | 
 |  |  |        | 
 |  |  |       xaserverarg arg0 ; | 
 |  |  |       arg0.setNativePointer(arg0.CreateInstance()); | 
 |  |  | 		 | 
 |  |  |       //arg0.AddArg(L"Action", action,L"xs:xstring"); | 
 |  |  |       arg0.AddArg(L"EntityName", L"ColorCard",L"xs:xstring"); | 
 |  |  |       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; | 
 |  |  | 
 |  |  |          xml x; | 
 |  |  |           | 
 |  |  |          xaserverarg arg; | 
 |  |  |          arg.setNativePointer(arg.CreateInstance()); | 
 |  |  | 			 | 
 |  |  |          arg.AddArg(L"ColorCardID", id); | 
 |  |  |          if(xurl::get(L"ColorCard/pref/beforedelete",arg.GetString(),x)!=1) | 
 |  |  |          { |