| | |
| | | return RetrieveData(L"/sale/data/ProductLibrary/shoppingcart/rolelist"); |
| | | } |
| | | |
| | | static KXMLDOMDocument GetRoleList(string CustomerID) |
| | | static KXMLDOMDocument GetRoleList(xstring CustomerID) |
| | | { |
| | | return RetrieveData(L"/sale/data/ProductLibrary3/shoppingcart/rolelistex",L"CustomerID",CustomerID); |
| | | } |
| | | |
| | | static KXMLDOMDocument GetSupplierRoleList(string SupplierID) |
| | | static KXMLDOMDocument GetSupplierRoleList(xstring SupplierID) |
| | | { |
| | | return RetrieveData(L"/sale/data/ProductLibrary3/shoppingcart/supplier.rolelist",L"SupplierID",SupplierID); |
| | | } |
| | | static KXMLDOMDocument GetRoleListForSO(string CustomerID) |
| | | static KXMLDOMDocument GetRoleListForSO(xstring CustomerID) |
| | | { |
| | | return RetrieveData(L"/sale/data/ProductLibrary3/shoppingcart/so/rolelistex",L"CustomerID",CustomerID); |
| | | } |
| | | |
| | | static KXMLDOMDocument GetGoodsList(string name) |
| | | static KXMLDOMDocument GetGoodsList(xstring name) |
| | | { |
| | | return RetrieveData(L"/sale/data/ProductLibrary/shoppingcart/goodslist",L"name",name); |
| | | } |
| | | |
| | | static KXMLDOMDocument GetGoodsList(string name,string QueryText) |
| | | static KXMLDOMDocument GetGoodsList(xstring name,xstring QueryText) |
| | | { |
| | | return RetrieveData(L"/sale/data/ProductLibrary3/shoppingcart/goodslistex",L"name",name,L"QueryText",QueryText); |
| | | } |
| | | |
| | | int AddCar(string name) |
| | | static int AddCar(xstring name) |
| | | { |
| | | if(RetrieveData(L"/sale/data/SO/goods/goodscar/add",L"name",name)) return 1; |
| | | return -1; |
| | | } |
| | | |
| | | int GoodsImport(string name,string content) |
| | | static int GoodsImport(xstring name,xstring content) |
| | | { |
| | | if(RetrieveData(L"/sale/data/ProductLibrary/shoppingcart/import",L"name",name,L"content",content)) return 1; |
| | | return -1; |