| | |
| | | } |
| | | else |
| | | { |
| | | xml xp = ViewObject::RetrieveData(L"/sale/data/GDN3/profit/paramS", L"item", L"cryrate"); |
| | | //xml xp = ViewObject::RetrieveData(L"/sale/data/GDN3/profit/paramSS", L"item", L"cryrate"); |
| | | xml xp = ViewObject::RetrieveData(L"/sale/data/GDN3/profit/paramSSS"); |
| | | if (xp.selectSingleNode(L"root/item/@value")) |
| | | exchangeRate = xp.selectSingleNode(L"root/item/@value").text(); |
| | | dw_profit.SetItemString(1, L"ExchangeRate", exchangeRate); |
| | |
| | | xstring exchangeRate = L""; |
| | | exchangeRate = dw_profit.GetItemString(1, L"ExchangeRate"); |
| | | if (exchangeRate == L"") { |
| | | xml x = ViewObject::RetrieveData(L"/sale/data/GDN3/profit/paramS", L"item", L"cryrate"); |
| | | //xml x = ViewObject::RetrieveData(L"/sale/data/GDN3/profit/paramS", L"item", L"cryrate"); |
| | | xml x = ViewObject::RetrieveData(L"/sale/data/GDN3/profit/paramSS"); |
| | | if (x.selectSingleNode(L"root/item/@value")) |
| | | exchangeRate = x.selectSingleNode(L"root/item/@value").text(); |
| | | dw_profit.SetItemString(1, L"ExchangeRate", exchangeRate); |