| | |
| | | |
| | | xml x ; |
| | | |
| | | xaserverarg& arg = *new xaserverarg; |
| | | arg.setNativePointer(arg.CreateInstance()); |
| | | xaserverarg arg; |
| | | |
| | | arg.AddArg(L"scene",scene,L"xs:xstring"); |
| | | arg.AddArg(L"EntityID",EntityID,L"xs:xstring"); |
| | | arg.AddArg(L"EntityName",GetEntityName(1),L"xs:xstring"); |
| | |
| | | xml x ; |
| | | |
| | | xaserverarg arg ; |
| | | arg.setNativePointer(arg.CreateInstance()); |
| | | |
| | | |
| | | dw_pricelistex.DwUpdateAllToEx(x); |
| | | if(x.xml()!=L"") |
| | |
| | | xml x0 ; |
| | | |
| | | dw_pricelist.DwUpdateAllToEx(x0); |
| | | if(x0.xml() !=L"") |
| | | if((xstring)x0.xml() !=L"") |
| | | { |
| | | xml x1; |
| | | dw_priceitem.DwUpdateAllToEx(x1); |
| | |
| | | return 1; |
| | | } |
| | | |
| | | int ViewUpdate(int pr,xstring updateItem,xaserverarg arg) |
| | | int ViewUpdate(LPARAM pr,xstring updateItem,xaserverarg arg) |
| | | { |
| | | if( updateItem==L"del") |
| | | { |
| | |
| | | |
| | | int OnTech(xdwgrid dw_term) |
| | | { |
| | | xaserverarg arg; |
| | | xaserverarg arg=GetArg(); |
| | | int row = dw_term.GetRow(); |
| | | if(row < 1) return 0; |
| | | xstring str = dw_term.GetItemString(row,L"TechNote"); |
| | | arg.AddArg(L"value",str); |
| | | OpenWindow(L"dev:xpage[memo.edit.new.vx]",arg); |
| | | |
| | | if(arg.GetArgString(L"comdid")==L"xmOK") |
| | | { |
| | | str = arg.GetArgString(L"value"); |
| | |
| | | } |
| | | int onload() |
| | | { |
| | | SetArg(); |
| | | state1=-1; |
| | | state2=-1; |
| | | |
| | |
| | | { |
| | | arg.AddArg(L"CustomerID",e.getAttribute(L"id")); |
| | | xstring name = e.getAttribute(L"name"); |
| | | if(name.find(L"(L")>=0) name = name.left(name.find(L"(L")); |
| | | if(name.find(L"(")>=0) name = name.left(name.find(L"(")); |
| | | arg.AddArg(L"CustomerName",name); |
| | | } |
| | | } |