Добрый день.
Подскажите почему при вызове функции getDepo выводятся нулевые значения полей таблицы?
При этом с такими же аргументами функция getDepoEx выводит нормальные значения.

					Подскажите почему при вызове функции getDepo выводятся нулевые значения полей таблицы?
При этом с такими же аргументами функция getDepoEx выводит нормальные значения.
| Код | 
|---|
| function OnInit()
   t = getDepo("xxxx", "yyyy", "SBER", "zzzz");
   if t == nil then
      msg  = "table from getDepo(arg) is nill";
   else
      msg  = "table from getDepo(arg) is NOT nill";
   end
   
   d = "depo_limit_locked_buy_value = " .. tostring(t.depo_limit_locked_buy_value) .. "\n" .. 
      "depo_limit_locked_buy = " .. tostring(t.depo_limit_locked_buy) .. "\n" .. 
      "depo_current_balance = " .. tostring(t.depo_current_balance) .. "\n" .. 
      "depo_limit_locked = " .. tostring(t.depo_limit_locked) .. "\n" .. 
      "depo_limit_available = " .. tostring(t.depo_limit_available) .. "\n" .. 
      "depo_current_limit = " .. tostring(t.depo_current_limit) .. "\n" .. 
      "depo_open_balance = " .. tostring(t.depo_open_balance) .. "\n" .. 
      "depo_open_limit = " .. tostring(t.depo_open_limit) .. "\n";
   message(msg .. "\n\n\n" .. d);end
end | 
						
						Q
					
				